#[repr(C)]pub struct otCryptoKey {
pub mKey: *const u8,
pub mKeyLength: u16,
pub mKeyRef: u32,
}Expand description
@struct otCryptoKey
Represents the Key Material required for Crypto operations.
Fields§
§mKey: *const u8< Pointer to the buffer containing key. NULL indicates to use mKeyRef.
mKeyLength: u16< The key length in bytes (applicable when mKey is not NULL).
mKeyRef: u32< The PSA key ref (requires mKey to be NULL).
Trait Implementations§
Auto Trait Implementations§
impl !Send for otCryptoKey
impl !Sync for otCryptoKey
impl Freeze for otCryptoKey
impl RefUnwindSafe for otCryptoKey
impl Unpin for otCryptoKey
impl UnsafeUnpin for otCryptoKey
impl UnwindSafe for otCryptoKey
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