summaryrefslogtreecommitdiff
path: root/lib/libcrypto/hkdf/hkdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/hkdf/hkdf.c')
-rw-r--r--lib/libcrypto/hkdf/hkdf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/hkdf/hkdf.c b/lib/libcrypto/hkdf/hkdf.c
index 9e0e2063246..4f9c9e566a0 100644
--- a/lib/libcrypto/hkdf/hkdf.c
+++ b/lib/libcrypto/hkdf/hkdf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hkdf.c,v 1.9 2023/06/01 02:34:23 tb Exp $ */
+/* $OpenBSD: hkdf.c,v 1.10 2023/07/07 13:54:46 beck Exp $ */
/* Copyright (c) 2014, Google Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -42,6 +42,7 @@ HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,
return 1;
}
+LCRYPTO_ALIAS(HKDF);
/* https://tools.ietf.org/html/rfc5869#section-2.2 */
int
@@ -63,6 +64,7 @@ HKDF_extract(uint8_t *out_key, size_t *out_len,
*out_len = len;
return 1;
}
+LCRYPTO_ALIAS(HKDF_extract);
/* https://tools.ietf.org/html/rfc5869#section-2.3 */
int
@@ -118,3 +120,4 @@ HKDF_expand(uint8_t *out_key, size_t out_len,
CRYPTOerror(ERR_R_CRYPTO_LIB);
return ret;
}
+LCRYPTO_ALIAS(HKDF_expand);