logo
pub struct HmacCore<D> where
    D: CoreProxy,
    D::Core: HashMarker + UpdateCore + FixedOutputCore + BufferKindUser<BufferKind = Eager> + Default + Clone,
    <D::Core as BlockSizeUser>::BlockSize: IsLess<U256>,
    Le<<D::Core as BlockSizeUser>::BlockSize, U256>: NonZero
{ /* private fields */ }
Expand description

Generic core HMAC instance, which operates over blocks.

Trait Implementations

Write algorithm name into f.

Size of the block in bytes.

Return block size in bytes.

Block buffer kind over which type operates.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Finalize state using remaining data stored in the provided block buffer, write result into provided array and leave self in a dirty state. Read more

Create new value from fixed size key.

Create new value from variable size key.

Key size in bytes.

Return key size in bytes.

Size of the output in bytes.

Return output size in bytes.

Reset state to its initial value.

Update state using the provided data blocks.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.