mimoo / NoiseGo

An implementation of Noise in Go
41 stars 9 forks source link

HKDF fixed #1

Closed Sc00bz closed 7 years ago

Sc00bz commented 7 years ago

You might want to change it to output[len(tempKey):] in case the HMAC changes from using SHA256, but that's probably not going to happen so meh.

mimoo commented 7 years ago

Hey thanks Sc00bz, the spec says that this has to be implemented in the caller of hkdf. But yeah this makes more sense, I'll take the fix danke ;)