2 Matching Annotations
- Apr 2020
-
noiseprotocol.org noiseprotocol.org
-
HMAC is used with all hash functions instead of allowing hashes to use a more specialized function (e.g. keyed BLAKE2), because: HKDF requires the use of HMAC
This does not comment on the choice of HKDF over specialized hash function modes that are designed to be a KDF (like BLAKE3 seems to do). The comment “HMAC applies nested hashing to process each input. This "extra" hashing might mitigate the impact of hash function weakness.” applies on the level of HKDF, too.
-
SHA3 candidates such as Keccak and BLAKE were required to be suitable with HMAC
-