Closed chris-wood closed 12 months ago
Huh, I thought that was pretty obvious. (Where else would the hash come from?) Happy to consider a PR if you think there's a way to be clearer.
I agree that it's mostly obvious, but when I read it I did ask myself the question. I figure it's easier to just be explicit here.
Oh, hah, there's already a line that says what it should be!
The hash function used for HKDF is determined by the cipher suite in use.
I just didn't read the entire section. Closing.
The hash function to use with HKDF in
derive_key_salt
is currently unspecified. Presumably it's the hash function associated with the cipher suite, but let's make that explicitly clear.