INNER CODE UNIT · Rust

drop

AChep/keyguard-app · thirdParty/rust/ocb3-0.1.0-keyguard/src/lib.rs:149

    fn drop(&mut self) {
        self.ll_star.as_mut_slice().zeroize();
        self.ll_dollar.as_mut_slice().zeroize();
        for block in &mut self.ll {
            block.as_mut_slice().zeroize();
        }
    }
}

/// Output of the HASH function defined in https://www.rfc-editor.org/rfc/rfc7253.html#section-4.1
type SumSize = U16;
type Sum = GenericArray<u8, SumSize>;

impl<Cipher, NonceSize, TagSize> KeySizeUser for Ocb3<Cipher, NonceSize, TagSize>
where
    Cipher: KeySizeUser,
    NonceSize: sealed::NonceSizes,
    TagSize: sealed::TagSizes,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…