Skip to content

Commit 87dc8f5

Browse files
authored
ml-dsa: remove references to ML-KEM (#1112)
These are leftover from adapting code from the `ml-kem` crate
1 parent d56f99f commit 87dc8f5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ml-dsa/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ impl ParameterSet for MlDsa65 {
832832
const TAU: usize = 49;
833833
}
834834

835-
/// `MlKem87` is the parameter set for security category 5.
835+
/// `MlDsa87` is the parameter set for security category 5.
836836
#[derive(Default, Clone, Debug, PartialEq)]
837837
pub struct MlDsa87;
838838

ml-dsa/src/param.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
//! This module encapsulates all of the compile-time logic related to parameter-set dependent sizes
22
//! of objects. `ParameterSet` captures the parameters in the form described by the ML-KEM
33
//! specification. `EncodingSize`, `VectorEncodingSize`, and `CbdSamplingSize` are "upstream" of
4-
//! `ParameterSet`; they provide basic logic about the size of encoded objects. `PkeParams` and
5-
//! `KemParams` are "downstream" of `ParameterSet`; they define derived parameters relevant to
6-
//! K-PKE and ML-KEM.
4+
//! `ParameterSet`; they provide basic logic about the size of encoded objects.
75
//!
86
//! While the primary purpose of these traits is to describe the sizes of objects, in order to
97
//! avoid leakage of complicated trait bounds, they also need to provide any logic that needs to

0 commit comments

Comments
 (0)