]> git.ipfire.org Git - thirdparty/hostap.git/commit
Extend hmac_sha256_kdf() to support HKDF-Expand() as defined in RFC 5869
authorJouni Malinen <j@w1.fi>
Sat, 11 Mar 2017 20:38:47 +0000 (22:38 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 11 Mar 2017 20:40:10 +0000 (22:40 +0200)
commit4ec833daf878c893b47e944d9318ec64e4ef6680
treedcd4fc1c9ef089e23122c82a7fdb6918c6ee5307
parentae1ec1aaf2ed17dbaa0b52bd086c31e5b32c5e98
Extend hmac_sha256_kdf() to support HKDF-Expand() as defined in RFC 5869

The KDF define in RFC 5295 is very similar to HKDF-Expand() defined in
RFC 5869. Allow a NULL label to be used to select the RFC 5869 version
with arbitrary seed (info in RFC 5869) material without forcing the
label and NULL termination to be included. HKDF-Expand() will be needed
for OWE.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/crypto/sha256-kdf.c