pub struct mbedtls_sha1_context {
    pub private_total: [u32; 2],
    pub private_state: [u32; 5],
    pub private_buffer: [u8; 64],
}
Expand description

\brief The SHA-1 context structure.

\warning SHA-1 is considered a weak message digest and its use constitutes a security risk. We recommend considering stronger message digests instead.

Fields

private_total: [u32; 2]private_state: [u32; 5]private_buffer: [u8; 64]

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.