pub enum HMACAlgorithm {
Sha1,
Sha256,
Sha384,
Sha512,
}
Expand description
Choice of algorithms for instantiation of HMAC.
Variants§
Trait Implementations§
Source§impl From<HMACAlgorithm> for Algorithm
impl From<HMACAlgorithm> for Algorithm
Source§fn from(value: HMACAlgorithm) -> Self
fn from(value: HMACAlgorithm) -> Self
Converter to libcrux
type.
Auto Trait Implementations§
impl Freeze for HMACAlgorithm
impl RefUnwindSafe for HMACAlgorithm
impl Send for HMACAlgorithm
impl Sync for HMACAlgorithm
impl Unpin for HMACAlgorithm
impl UnwindSafe for HMACAlgorithm
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