GH355: Implement HKDF
authorAlessandro Ghedini <alessandro@ghedini.me>
Wed, 2 Mar 2016 23:58:27 +0000 (23:58 +0000)
committerRich Salz <rsalz@openssl.org>
Thu, 3 Mar 2016 23:21:20 +0000 (18:21 -0500)
commitaacfb134be2a88211b79dc53bb5bd0e422dbb60d
tree5b247240da2fcc6e55e00a6296e0cc0ad3eb8fc5
parentb894054e3f7de6c64b505006395aa24b30928e97
GH355: Implement HKDF

This patch implements the HMAC-based Extract-and-Expand Key Derivation
Function (HKDF) as defined in RFC 5869.

It is required to implement the QUIC and TLS 1.3 protocols (among others).

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
13 files changed:
crypto/evp/pmeth_lib.c
crypto/include/internal/evp_int.h
crypto/kdf/Makefile.in
crypto/kdf/build.info
crypto/kdf/hkdf.c [new file with mode: 0644]
crypto/objects/obj_dat.h
crypto/objects/obj_mac.num
crypto/objects/objects.txt
doc/crypto/EVP_PKEY_HKDF.pod [new file with mode: 0644]
include/openssl/evp.h
include/openssl/kdf.h
include/openssl/obj_mac.h
test/evptests.txt