aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/obj_mac.h
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2016-03-02 23:58:27 +0000
committerRich Salz <rsalz@openssl.org>2016-03-03 18:21:20 -0500
commitaacfb134be2a88211b79dc53bb5bd0e422dbb60d (patch)
tree5b247240da2fcc6e55e00a6296e0cc0ad3eb8fc5 /include/openssl/obj_mac.h
parentb894054e3f7de6c64b505006395aa24b30928e97 (diff)
downloadopenssl-aacfb134be2a88211b79dc53bb5bd0e422dbb60d.zip
openssl-aacfb134be2a88211b79dc53bb5bd0e422dbb60d.tar.gz
openssl-aacfb134be2a88211b79dc53bb5bd0e422dbb60d.tar.bz2
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>
Diffstat (limited to 'include/openssl/obj_mac.h')
-rw-r--r--include/openssl/obj_mac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/obj_mac.h b/include/openssl/obj_mac.h
index b58c44d..f39d772 100644
--- a/include/openssl/obj_mac.h
+++ b/include/openssl/obj_mac.h
@@ -4511,6 +4511,10 @@
#define LN_tls1_prf "tls1-prf"
#define NID_tls1_prf 1021
+#define SN_hkdf "HKDF"
+#define LN_hkdf "hkdf"
+#define NID_hkdf 1036
+
#define SN_id_pkinit "id-pkinit"
#define NID_id_pkinit 1031
#define OBJ_id_pkinit 1L,3L,6L,1L,5L,2L,3L