Struct lpc55_hal::peripherals::hashcrypt::Hashcrypt[][src]

pub struct Hashcrypt<State = Unknown> {
    pub _state: State,
    // some fields omitted
}

Fields

_state: State

Implementations

SHA-1, as in RustCrypto digest trait

SHA-256, as in RustCrypto digest trait

AES-128 “ECB”, as in RustCrypto block-cipher trait

AES-192 “ECB”, as in RustCrypto block-cipher trait

AES-256 “ECB”, as in RustCrypto block-cipher trait

AES “ECB” with PUF key, for use as in RustCrypto block-cipher trait

DOES NOT PROPERLY CHECK IF PUF AES KEY IS SETUP YET! TODO: have user pass in some token signaling PUF AES key is setup

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Performs the conversion.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

Should always be Self

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.