#[non_exhaustive]pub enum AlgorithmId {
MlKem512,
MlKem768,
MlKem1024,
}
Expand description
Identifier for a KEM algorithm.
See crate::unstable::kem::AlgorithmId
and crate::unstable::kem::get_algorithm
for
access to algorithms not subject to semantic versioning guarantees.
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.
MlKem512
NIST FIPS 203 ML-KEM-512 algorithm.
MlKem768
NIST FIPS 203 ML-KEM-768 algorithm.
MlKem1024
NIST FIPS 203 ML-KEM-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