Struct rust_cryptoauthlib::MacParam
source · [−]pub struct MacParam {
pub key: Option<Vec<u8>>,
pub mac_length: Option<u8>,
pub mac: Option<Vec<u8>>,
}
Expand description
MAC algorithm parameters for compute
Fields
key: Option<Vec<u8>>
external encryption/decryption key needed for MAC calculation when an ‘AES’ or ‘ShaOrText’ key stored in the cryptochip is not used
mac_length: Option<u8>
MAC length generated during calculation
mac: Option<Vec<u8>>
MAC to verify authenticity of the provided data
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MacParam
impl UnwindSafe for MacParam
Blanket Implementations
Mutably borrows from an owned value. Read more