#[repr(C)]pub struct dtls_hmac_context_t {
pub pad: [c_uchar; 64],
pub data: dtls_hash_ctx,
}Expand description
Context for HMAC generation. This object is initialized with dtls_hmac_init() and must be passed to dtls_hmac_update() and dtls_hmac_finalize(). Once, finalized, the component \c H is invalid and must be initialized again with dtls_hmac_init() before the structure can be used again.
Fields§
§pad: [c_uchar; 64]< ipad and opad storage
data: dtls_hash_ctx< context for hash function
Trait Implementations§
Source§impl Clone for dtls_hmac_context_t
impl Clone for dtls_hmac_context_t
Source§fn clone(&self) -> dtls_hmac_context_t
fn clone(&self) -> dtls_hmac_context_t
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 dtls_hmac_context_t
Auto Trait Implementations§
impl Freeze for dtls_hmac_context_t
impl RefUnwindSafe for dtls_hmac_context_t
impl Send for dtls_hmac_context_t
impl Sync for dtls_hmac_context_t
impl Unpin for dtls_hmac_context_t
impl UnsafeUnpin for dtls_hmac_context_t
impl UnwindSafe for dtls_hmac_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