Skip to content

Commit 56a113d

Browse files
Made lint fixes
Signed-off-by: Jacob Prud'homme <[email protected]>
1 parent 4e6be13 commit 56a113d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cryptoki/src/mechanism/kbkdf.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl<'a> KbkdfParams<'a> {
241241
///
242242
/// * `prf_mechanism` - The pseudorandom function that underlies the KBKDF operation.
243243
///
244-
/// * `prf_data_params` - The sequence of data segments used as input data for the PRF. Requires at least [`PrfCounterDataParam::IterationVariable`].
244+
/// * `prf_data_params` - The sequence of data segments used as input data for the PRF. Requires at least [`PrfDataParamType::IterationVariable`].
245245
///
246246
/// * `additional_derived_keys` - Any additional keys to be generated by the KDF from the base key.
247247
pub fn new(
@@ -310,7 +310,7 @@ impl<'a> KbkdfFeedbackParams<'a> {
310310
///
311311
/// * `prf_mechanism` - The pseudorandom function that underlies the KBKDF operation.
312312
///
313-
/// * `prf_data_params` - The sequence of data segments used as input data for the PRF. Requires at least [`PrfDataParam::IterationVariable`].
313+
/// * `prf_data_params` - The sequence of data segments used as input data for the PRF. Requires at least [`PrfDataParamType::IterationVariable`].
314314
///
315315
/// * `iv` - The IV to be used for the feedback-mode KDF.
316316
///

cryptoki/tests/basic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use cryptoki::error::{Error, RvError};
99
use cryptoki::mechanism::aead::{GcmMessageParams, GcmParams, GeneratorFunction};
1010
use cryptoki::mechanism::eddsa::{EddsaParams, EddsaSignatureScheme};
1111
use cryptoki::mechanism::kbkdf::{
12-
DerivedKey, KbkdfDkmLengthMethod, Endianness, KbkdfCounterFormat, KbkdfDkmLengthFormat,
12+
DerivedKey, Endianness, KbkdfCounterFormat, KbkdfDkmLengthFormat, KbkdfDkmLengthMethod,
1313
KbkdfFeedbackParams, KbkdfParams, PrfDataParam, PrfDataParamType,
1414
};
1515
use cryptoki::mechanism::rsa::{PkcsMgfType, PkcsOaepParams, PkcsOaepSource};

0 commit comments

Comments
 (0)