pub enum Algorithm {
Show 17 variants
Dilithium2,
Dilithium3,
Dilithium5,
Falcon512,
Falcon1024,
SphincsSha2128fSimple,
SphincsSha2128sSimple,
SphincsSha2192fSimple,
SphincsSha2192sSimple,
SphincsSha2256fSimple,
SphincsSha2256sSimple,
SphincsShake128fSimple,
SphincsShake128sSimple,
SphincsShake192fSimple,
SphincsShake192sSimple,
SphincsShake256fSimple,
SphincsShake256sSimple,
}
Expand description
Supported algorithms by liboqs
They may not all be enabled
Optional support for serde
if that feature is enabled.
Variants§
Dilithium2
Dilithium3
Dilithium5
Falcon512
Falcon1024
SphincsSha2128fSimple
SphincsSha2128sSimple
SphincsSha2192fSimple
SphincsSha2192sSimple
SphincsSha2256fSimple
SphincsSha2256sSimple
SphincsShake128fSimple
SphincsShake128sSimple
SphincsShake192fSimple
SphincsShake192sSimple
SphincsShake256fSimple
SphincsShake256sSimple
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Algorithm
impl<'de> Deserialize<'de> for Algorithm
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Algorithm> for Algorithm
impl PartialEq<Algorithm> for Algorithm
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralEq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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