summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/hmac/hmac.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.c b/src/lib/libcrypto/hmac/hmac.c
index d80b45de5b..7c882ba15b 100644
--- a/src/lib/libcrypto/hmac/hmac.c
+++ b/src/lib/libcrypto/hmac/hmac.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: hmac.c,v 1.33 2024/03/26 12:10:50 joshua Exp $ */ 1/* $OpenBSD: hmac.c,v 1.34 2024/03/30 10:10:58 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -143,6 +143,7 @@ HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md)
143 HMAC_CTX_init(ctx); 143 HMAC_CTX_init(ctx);
144 return HMAC_Init_ex(ctx, key, len, md, NULL); 144 return HMAC_Init_ex(ctx, key, len, md, NULL);
145} 145}
146LCRYPTO_ALIAS(HMAC_Init);
146 147
147int 148int
148HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) 149HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len)
@@ -203,6 +204,7 @@ HMAC_CTX_reset(HMAC_CTX *ctx)
203 HMAC_CTX_init(ctx); 204 HMAC_CTX_init(ctx);
204 return 1; 205 return 1;
205} 206}
207LCRYPTO_ALIAS(HMAC_CTX_reset);
206 208
207void 209void
208HMAC_CTX_init(HMAC_CTX *ctx) 210HMAC_CTX_init(HMAC_CTX *ctx)