Enum oqs::sig::Algorithm[][src]

pub enum Algorithm {
Show 62 variants Dilithium2, Dilithium3, Dilithium5, Falcon512, Falcon1024, Picnic3L1, Picnic3L3, Picnic3L5, PicnicL1Fs, PicnicL1Ur, PicnicL1Full, PicnicL3Fs, PicnicL3Ur, PicnicL3Full, PicnicL5Fs, PicnicL5Ur, PicnicL5Full, RainbowIClassic, RainbowICircumzenithal, RainbowICompressed, RainbowIiiClassic, RainbowIiiCircumzenithal, RainbowIiiCompressed, RainbowVClassic, RainbowVCircumzenithal, RainbowVCompressed, SphincsHaraka128fRobust, SphincsHaraka128fSimple, SphincsHaraka128sRobust, SphincsHaraka128sSimple, SphincsHaraka192fRobust, SphincsHaraka192fSimple, SphincsHaraka192sRobust, SphincsHaraka192sSimple, SphincsHaraka256fRobust, SphincsHaraka256fSimple, SphincsHaraka256sRobust, SphincsHaraka256sSimple, SphincsSha256128fRobust, SphincsSha256128fSimple, SphincsSha256128sRobust, SphincsSha256128sSimple, SphincsSha256192fRobust, SphincsSha256192fSimple, SphincsSha256192sRobust, SphincsSha256192sSimple, SphincsSha256256fRobust, SphincsSha256256fSimple, SphincsSha256256sRobust, SphincsSha256256sSimple, SphincsShake256128fRobust, SphincsShake256128fSimple, SphincsShake256128sRobust, SphincsShake256128sSimple, SphincsShake256192fRobust, SphincsShake256192fSimple, SphincsShake256192sRobust, SphincsShake256192sSimple, SphincsShake256256fRobust, SphincsShake256256fSimple, SphincsShake256256sRobust, SphincsShake256256sSimple,
}
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

Picnic3L1

Picnic3L3

Picnic3L5

PicnicL1Fs

PicnicL1Ur

PicnicL1Full

PicnicL3Fs

PicnicL3Ur

PicnicL3Full

PicnicL5Fs

PicnicL5Ur

PicnicL5Full

RainbowIClassic

RainbowICircumzenithal

RainbowICompressed

RainbowIiiClassic

RainbowIiiCircumzenithal

RainbowIiiCompressed

RainbowVClassic

RainbowVCircumzenithal

RainbowVCompressed

SphincsHaraka128fRobust

SphincsHaraka128fSimple

SphincsHaraka128sRobust

SphincsHaraka128sSimple

SphincsHaraka192fRobust

SphincsHaraka192fSimple

SphincsHaraka192sRobust

SphincsHaraka192sSimple

SphincsHaraka256fRobust

SphincsHaraka256fSimple

SphincsHaraka256sRobust

SphincsHaraka256sSimple

SphincsSha256128fRobust

SphincsSha256128fSimple

SphincsSha256128sRobust

SphincsSha256128sSimple

SphincsSha256192fRobust

SphincsSha256192fSimple

SphincsSha256192sRobust

SphincsSha256192sSimple

SphincsSha256256fRobust

SphincsSha256256fSimple

SphincsSha256256sRobust

SphincsSha256256sSimple

SphincsShake256128fRobust

SphincsShake256128fSimple

SphincsShake256128sRobust

SphincsShake256128sSimple

SphincsShake256192fRobust

SphincsShake256192fSimple

SphincsShake256192sRobust

SphincsShake256192sSimple

SphincsShake256256fRobust

SphincsShake256256fSimple

SphincsShake256256sRobust

SphincsShake256256sSimple

Implementations

Returns true if this algorithm is enabled in the linked version of liboqs

Provides a pointer to the id of the algorithm

For use with the FFI api methods

Returns the algorithm’s name as a static Rust string.

This is the same as the to_id, but as a safe Rust string.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.