#[repr(C)]pub struct mbedtls_cmac_context_t {
pub state: [c_uchar; 16],
pub unprocessed_block: [c_uchar; 16],
pub unprocessed_len: usize,
}Expand description
CMAC context structure - Contains internal state information only
Fields§
§state: [c_uchar; 16]Internal state of the CMAC algorithm
unprocessed_block: [c_uchar; 16]Unprocessed data - either data that was not block aligned and is still pending to be processed, or the final block
unprocessed_len: usizeLength of data pending to be processed
Trait Implementations§
Source§impl Clone for mbedtls_cmac_context_t
impl Clone for mbedtls_cmac_context_t
Source§fn clone(&self) -> mbedtls_cmac_context_t
fn clone(&self) -> mbedtls_cmac_context_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for mbedtls_cmac_context_t
impl Debug for mbedtls_cmac_context_t
Source§impl Default for mbedtls_cmac_context_t
impl Default for mbedtls_cmac_context_t
Source§fn default() -> mbedtls_cmac_context_t
fn default() -> mbedtls_cmac_context_t
Returns the “default value” for a type. Read more
impl Copy for mbedtls_cmac_context_t
Auto Trait Implementations§
impl Freeze for mbedtls_cmac_context_t
impl RefUnwindSafe for mbedtls_cmac_context_t
impl Send for mbedtls_cmac_context_t
impl Sync for mbedtls_cmac_context_t
impl Unpin for mbedtls_cmac_context_t
impl UnwindSafe for mbedtls_cmac_context_t
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