pub enum PqcAlgorithm {
Show 15 variants
MlKem768X25519,
MlKem1024X448,
MlKem768P384,
MlKem1024P521,
MlKem768Bp384,
MlKem1024Bp512,
MlDsa65Ed25519,
MlDsa87Ed448,
MlDsa65P384,
MlDsa87P521,
MlDsa65Bp384,
MlDsa87Bp512,
SlhDsaShake128f,
SlhDsaShake128s,
SlhDsaShake256s,
}Expand description
PQC composite algorithms. Available only when the crate is built with
--features pqc and the linked librnp was built with ENABLE_PQC=ON.
These wrap the RNP_ALGNAME_KYBER* / RNP_ALGNAME_DILITHIUM* /
RNP_ALGNAME_SPHINCSPLUS_* string constants in rnp.h.
Variants§
MlKem768X25519
MlKem1024X448
MlKem768P384
MlKem1024P521
MlKem768Bp384
MlKem1024Bp512
MlDsa65Ed25519
MlDsa87Ed448
MlDsa65P384
MlDsa87P521
MlDsa65Bp384
MlDsa87Bp512
SlhDsaShake128f
SlhDsaShake128s
SlhDsaShake256s
Implementations§
Trait Implementations§
Source§impl Clone for PqcAlgorithm
impl Clone for PqcAlgorithm
Source§fn clone(&self) -> PqcAlgorithm
fn clone(&self) -> PqcAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PqcAlgorithm
Source§impl Debug for PqcAlgorithm
impl Debug for PqcAlgorithm
impl Eq for PqcAlgorithm
Source§impl PartialEq for PqcAlgorithm
impl PartialEq for PqcAlgorithm
impl StructuralPartialEq for PqcAlgorithm
Auto Trait Implementations§
impl Freeze for PqcAlgorithm
impl RefUnwindSafe for PqcAlgorithm
impl Send for PqcAlgorithm
impl Sync for PqcAlgorithm
impl Unpin for PqcAlgorithm
impl UnsafeUnpin for PqcAlgorithm
impl UnwindSafe for PqcAlgorithm
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