Skip to content

Commit 63c0364

Browse files
ghedobriansmith
authored andcommitted
Fix typo in hkdf: Prf -> Prk
1 parent 20582aa commit 63c0364

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/hkdf.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ impl From<Okm<'_, Algorithm>> for Salt {
9494
}
9595
}
9696

97-
/// The length of the OKM (Output Keying Material) for a `Prf::expand()` call.
97+
/// The length of the OKM (Output Keying Material) for a `Prk::expand()` call.
9898
pub trait KeyType {
99-
/// The length that `Prf::expand()` should expand its input to.
99+
/// The length that `Prk::expand()` should expand its input to.
100100
fn len(&self) -> usize;
101101
}
102102

@@ -162,7 +162,7 @@ pub struct Okm<'a, L: KeyType> {
162162
}
163163

164164
impl<L: KeyType> Okm<'_, L> {
165-
/// The `OkmLength` given to `Prf::expand()`.
165+
/// The `OkmLength` given to `Prk::expand()`.
166166
#[inline]
167167
pub fn len(&self) -> &L {
168168
&self.len

0 commit comments

Comments
 (0)