Skip to content

Commit d0a7c87

Browse files
Improved doc comments
Signed-off-by: Jacob Prud'homme <[email protected]>
1 parent 56a113d commit d0a7c87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cryptoki/src/mechanism/kbkdf.rs

+3
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ impl KbkdfDkmLengthFormat {
102102
#[derive(Debug, Clone, Copy)]
103103
pub enum PrfDataParamType<'a> {
104104
/// Identifies location of predefined iteration variable in constructed PRF input data.
105+
///
106+
/// For counter-mode, this must contain a [`KbkdfCounterFormat`].
107+
/// For feedback- and double-pipeline mode, this must contain [`None`].
105108
IterationVariable(Option<&'a KbkdfCounterFormat>),
106109
/// Identifies location of counter in constructed PRF input data.
107110
Counter(&'a KbkdfCounterFormat),

0 commit comments

Comments
 (0)