summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hkdf/hkdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/hkdf/hkdf.c')
-rw-r--r--src/lib/libcrypto/hkdf/hkdf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hkdf/hkdf.c b/src/lib/libcrypto/hkdf/hkdf.c
index e912481d48..f33ba79891 100644
--- a/src/lib/libcrypto/hkdf/hkdf.c
+++ b/src/lib/libcrypto/hkdf/hkdf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hkdf.c,v 1.5 2021/08/27 16:12:33 tb Exp $ */ 1/* $OpenBSD: hkdf.c,v 1.6 2021/12/12 21:27:37 tb Exp $ */
2/* Copyright (c) 2014, Google Inc. 2/* Copyright (c) 2014, Google Inc.
3 * 3 *
4 * Permission to use, copy, modify, and/or distribute this software for any 4 * Permission to use, copy, modify, and/or distribute this software for any
@@ -21,6 +21,8 @@
21#include <openssl/err.h> 21#include <openssl/err.h>
22#include <openssl/hmac.h> 22#include <openssl/hmac.h>
23 23
24#include "hmac_local.h"
25
24/* https://tools.ietf.org/html/rfc5869#section-2 */ 26/* https://tools.ietf.org/html/rfc5869#section-2 */
25int 27int
26HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, 28HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,