Skip to content

Commit 008132c

Browse files
committed
Note that HMAC_FIPS_MIN_KEY is also salt len min for HKDF
1 parent 6c5e841 commit 008132c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

wolfssl/wolfcrypt/hmac.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@
6666
#define WC_HMAC_INNER_HASH_KEYED_DEV 2
6767

6868
enum {
69-
HMAC_FIPS_MIN_KEY = 14, /* 112 bit key length minimum */
70-
69+
HMAC_FIPS_MIN_KEY = 14, /* 112 bit key length minimum. Note that this
70+
* minimum also applies to the salt length for
71+
* HKDF. */
7172
IPAD = 0x36,
7273
OPAD = 0x5C,
7374

0 commit comments

Comments
 (0)