summaryrefslogtreecommitdiff
path: root/lib/libcrypto/hkdf/hkdf.c
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2023-07-07 13:54:47 +0000
committerBob Beck <beck@cvs.openbsd.org>2023-07-07 13:54:47 +0000
commit2b9db4ff5cc9f7345ce32bd33a840f1d2662fc99 (patch)
tree74d8a4f00fd1847a9a686b3ee89b948f48ea19bf /lib/libcrypto/hkdf/hkdf.c
parent3a39861fcadd533728d4f44310f6381dcf084da4 (diff)
Hide symbols in hkdf, evp, err, ecdsa, and ec
(part 2 of commit) ok jsing@
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);