pub enum AEADAlgorithm {
Aes128Gcm,
Aes256Gcm,
Chacha20Poly1305,
}
Expand description
Choice of AEAD algorithms.
Variants§
Trait Implementations§
Source§impl From<AEADAlgorithm> for Algorithm
impl From<AEADAlgorithm> for Algorithm
Source§fn from(value: AEADAlgorithm) -> Self
fn from(value: AEADAlgorithm) -> Self
Converter to libcrux
type.
Auto Trait Implementations§
impl Freeze for AEADAlgorithm
impl RefUnwindSafe for AEADAlgorithm
impl Send for AEADAlgorithm
impl Sync for AEADAlgorithm
impl Unpin for AEADAlgorithm
impl UnwindSafe for AEADAlgorithm
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