Trait kernel::hil::digest::DigestDataVerify

source ·
pub trait DigestDataVerify<'a, const L: usize>: DigestData<'a, L> + DigestVerify<'a, L> {
    // Required method
    fn set_client(&'a self, client: &'a dyn ClientDataVerify<L>);
Expand description

Verify a digest (cryptographic hash) over data.

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

Required Methods§


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

Set the client instance which will receive verify_done() and add_data_done() callbacks.