oxedyne/fe2o3/fe2o3_crypto/src/pqc/mod.rs
765 bytes, 9 runs
created by r1870400018:242, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | #![allow(unused)] |
| 2 | |
| 3 | /// Dilithium, in pure Rust. It needs no C, so it is here whatever the target -- but the |
| 4 | /// algorithm itself has no size without a parameter set, so it needs one of the `mode0`..`mode3` |
| 5 | /// features. Without one it is absent rather than broken: every K/L/ETA/SETABITS/BETA/OMEGA-sized |
| 6 | /// item downstream, from packed lengths to sign/verify, has no value to take. |
| 7 | #[cfg(any(feature = "mode0", feature = "mode1", feature = "mode2", feature = "mode3"))] |
| 8 | pub mod dilithium; |
| 9 | pub mod macros_dilithium; |
| 10 | |
| 11 | /// SABER rests on the C reference implementation this crate compiles, so it is absent without the |
| 12 | /// `pq` feature, along with the C toolchain that feature needs. |
| 13 | #[cfg(feature = "pq")] |
| 14 | pub mod macros_saber; |
| 15 | #[cfg(feature = "pq")] |
| 16 | pub mod saber; |