kernel::hil::digest

Trait Digest

Source
pub trait Digest<'a, const L: usize>:
    DigestData<'a, L>
    + DigestHash<'a, L>
    + DigestVerify<'a, L> {
    // Required method
    fn set_client(&'a self, client: &'a dyn Client<L>);
}
Expand description

Computes a digest (cryptographic hash) over data or performs verification.

‘L’ is the length of the ‘u8’ array to store the digest output.

Required Methods§

Source

fn set_client(&'a self, client: &'a dyn Client<L>)

Set the client instance which will receive hash_done(), add_data_done() and verification_done() callbacks.

Implementors§