#[repr(C)]pub struct otPlatCryptoAesCcmConfig {
pub mKey: otCryptoKey,
pub mNonce: *const u8,
pub mNonceLength: u8,
pub mTagLength: u8,
pub mHeaderLength: u32,
pub mPlainTextLength: u32,
}Expand description
@struct otPlatCryptoAesCcmConfig
Holds the parameters for a one-shot AES-CCM* operation passed to otPlatCryptoAesCcmProcessOneShot.
Fields§
§mKey: otCryptoKey< The encryption key.
mNonce: *const u8< Pointer to the nonce buffer (IEEE 802.15.4 CCM* format, 13 bytes).
mNonceLength: u8< Length of @p mNonce in bytes.
mTagLength: u8< Authentication tag length in bytes (even)
mHeaderLength: u32< Length of the additional authenticated data (header) in bytes.
mPlainTextLength: u32< Payload length in bytes (excluding tag).
Trait Implementations§
Source§impl Clone for otPlatCryptoAesCcmConfig
impl Clone for otPlatCryptoAesCcmConfig
Source§fn clone(&self) -> otPlatCryptoAesCcmConfig
fn clone(&self) -> otPlatCryptoAesCcmConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for otPlatCryptoAesCcmConfig
Source§impl Debug for otPlatCryptoAesCcmConfig
impl Debug for otPlatCryptoAesCcmConfig
Auto Trait Implementations§
impl !Send for otPlatCryptoAesCcmConfig
impl !Sync for otPlatCryptoAesCcmConfig
impl Freeze for otPlatCryptoAesCcmConfig
impl RefUnwindSafe for otPlatCryptoAesCcmConfig
impl Unpin for otPlatCryptoAesCcmConfig
impl UnsafeUnpin for otPlatCryptoAesCcmConfig
impl UnwindSafe for otPlatCryptoAesCcmConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more