Skip to content

Commit

Permalink
Drop old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed Mar 29, 2024
1 parent b6b599e commit a78a2f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion protocol/src/hkdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ pub struct Hkdf<T: Hash> {
impl<T: Hash> Hkdf<T> {
/// Initialize a HKDF by performing the extract step.
pub fn new(salt: &[u8], ikm: &[u8]) -> Self {
// Hardcoding SHA256 for now, might be worth parameterizing hash function.
let mut hmac_engine: HmacEngine<T> = HmacEngine::new(salt);
hmac_engine.input(ikm);
Self {
Expand Down

0 comments on commit a78a2f9

Please sign in to comment.