Cargo Features
[dependencies]
kyber-pke = { version = "0.5.0", default-features = false, features = ["std", "kyber1024", "kyber768", "kyber512", "wasm", "zeroize", "avx2", "90s"] }
- default = kyber1024, std, zeroize
-
These default features are set whenever
kyber-pke
is added without
somewhere in the dependency tree.default-features = false - std default
- kyber1024 default
-
Enables kyber1024 of pqc_kyber_kyberslash
- kyber768
-
Enables kyber768 of pqc_kyber_kyberslash
- kyber512
-
Enables kyber512 of pqc_kyber_kyberslash
pqc_kyber_kyberslash:
Security Levels
Defaults to "kyber768" if none selected
Will throw a compile-time error if more than one level is chosen - wasm
-
Enables wasm of pqc_kyber_kyberslash
pqc_kyber_kyberslash:
For compiling to wasm targets
- zeroize default
-
Enables zeroize of pqc_kyber_kyberslash
- avx2
-
Enables avx2 of pqc_kyber_kyberslash
pqc_kyber_kyberslash:
Use avx2 intrinsics on x86 architectures
Wont compile if the platform doesn't support it - 90s
-
Enables 90s of pqc_kyber_kyberslash
pqc_kyber_kyberslash:
Additional features
90s mode uses AES256-CTR and SHA2 as primitives instead
Uses a bitslice implementation
kyber-pke has 9 features without comments.