#[non_exhaustive]pub enum AlgorithmId {
Kyber512_R3,
Kyber768_R3,
Kyber1024_R3,
}
Available on crate feature
unstable
only.Expand description
Identifier for an unstable KEM algorithm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Kyber512_R3
👎Deprecated
NIST Round 3 submission of the Kyber-512 algorithm.
Kyber768_R3
👎Deprecated
NIST Round 3 submission of the Kyber-768 algorithm.
Kyber1024_R3
👎Deprecated
NIST Round 3 submission of the Kyber-1024 algorithm.
Trait Implementations§
Source§impl AlgorithmIdentifier for AlgorithmId
impl AlgorithmIdentifier for AlgorithmId
Source§impl Clone for AlgorithmId
impl Clone for AlgorithmId
Source§fn clone(&self) -> AlgorithmId
fn clone(&self) -> AlgorithmId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AlgorithmId
impl Debug for AlgorithmId
Source§impl PartialEq for AlgorithmId
impl PartialEq for AlgorithmId
impl Copy for AlgorithmId
impl StructuralPartialEq for AlgorithmId
Auto Trait Implementations§
impl Freeze for AlgorithmId
impl RefUnwindSafe for AlgorithmId
impl Send for AlgorithmId
impl Sync for AlgorithmId
impl Unpin for AlgorithmId
impl UnwindSafe for AlgorithmId
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