From f9fcde20a6214da85e802190ccd3a2bf5f891559 Mon Sep 17 00:00:00 2001 From: beck <> Date: Fri, 7 Jul 2023 13:54:46 +0000 Subject: Hide symbols in hkdf, evp, err, ecdsa, and ec (part 2 of commit) ok jsing@ --- src/lib/libcrypto/hkdf/hkdf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/hkdf') diff --git a/src/lib/libcrypto/hkdf/hkdf.c b/src/lib/libcrypto/hkdf/hkdf.c index 9e0e206324..4f9c9e566a 100644 --- a/src/lib/libcrypto/hkdf/hkdf.c +++ b/src/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); -- cgit v1.2.3-55-g6feb