aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_hkdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt_ops/crypto_hkdf.c')
-rw-r--r--src/lib/crypt_ops/crypto_hkdf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_hkdf.c b/src/lib/crypt_ops/crypto_hkdf.c
index 86ec4367a9..0200d0fe9c 100644
--- a/src/lib/crypt_ops/crypto_hkdf.c
+++ b/src/lib/crypt_ops/crypto_hkdf.c
@@ -14,6 +14,9 @@
#include "lib/crypt_ops/crypto_digest.h"
#include "lib/crypt_ops/crypto_openssl_mgt.h"
+#include "lib/intmath/cmp.h"
+#include "lib/log/util_bug.h"
+
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0)
@@ -21,6 +24,8 @@
#include <openssl/kdf.h>
#endif
+#include <string.h>
+
/** Given <b>key_in_len</b> bytes of negotiated randomness in <b>key_in</b>
* ("K"), expand it into <b>key_out_len</b> bytes of negotiated key material in
* <b>key_out</b> by taking the first <b>key_out_len</b> bytes of