pub struct CtOutput<T: OutputSizeUser> { /* private fields */ }
Expand description
Fixed size output value which provides a safe Eq
implementation that
runs in constant time.
It is useful for implementing Message Authentication Codes (MACs).
Implementations§
Trait Implementations§
Source§impl<T: OutputSizeUser> ConstantTimeEq for CtOutput<T>
impl<T: OutputSizeUser> ConstantTimeEq for CtOutput<T>
Source§impl<'a, T: OutputSizeUser> From<&'a GenericArray<u8, <T as OutputSizeUser>::OutputSize>> for CtOutput<T>
impl<'a, T: OutputSizeUser> From<&'a GenericArray<u8, <T as OutputSizeUser>::OutputSize>> for CtOutput<T>
Source§impl<T: OutputSizeUser> From<GenericArray<u8, <T as OutputSizeUser>::OutputSize>> for CtOutput<T>
impl<T: OutputSizeUser> From<GenericArray<u8, <T as OutputSizeUser>::OutputSize>> for CtOutput<T>
Source§impl<T: OutputSizeUser> PartialEq for CtOutput<T>
impl<T: OutputSizeUser> PartialEq for CtOutput<T>
impl<T: OutputSizeUser> Eq for CtOutput<T>
Auto Trait Implementations§
impl<T> Freeze for CtOutput<T>
impl<T> RefUnwindSafe for CtOutput<T>
impl<T> Send for CtOutput<T>
impl<T> Sync for CtOutput<T>
impl<T> Unpin for CtOutput<T>
impl<T> UnwindSafe for CtOutput<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