pub struct uECC_HashContext {
    pub init_hash: Option<unsafe extern "C" fn(*const uECC_HashContext)>,
    pub update_hash: Option<unsafe extern "C" fn(*const uECC_HashContext, *const u8, u32)>,
    pub finish_hash: Option<unsafe extern "C" fn(*const uECC_HashContext, *mut u8)>,
    pub block_size: u32,
    pub result_size: u32,
    pub tmp: *mut u8,
}

Fields

init_hash: Option<unsafe extern "C" fn(*const uECC_HashContext)>update_hash: Option<unsafe extern "C" fn(*const uECC_HashContext, *const u8, u32)>finish_hash: Option<unsafe extern "C" fn(*const uECC_HashContext, *mut u8)>block_size: u32result_size: u32tmp: *mut u8

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.