wycheproof
wycheproof copied to clipboard
Can HKDF accept empty IKM?
I know IKM is the source of entropy and it's not safe to use an empty IKM. However, in my opinion it should still be legal. Including empty IKMs in the test suite can reveal implementation errors. For example, Java's SecretKeySpec
class does not allow empty keys so it cannot be used to implement HKDF.