diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/hmac/hmac.c | 4 |
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 | } |
146 | LCRYPTO_ALIAS(HMAC_Init); | ||
146 | 147 | ||
147 | int | 148 | int |
148 | HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) | 149 | HMAC_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 | } |
207 | LCRYPTO_ALIAS(HMAC_CTX_reset); | ||
206 | 208 | ||
207 | void | 209 | void |
208 | HMAC_CTX_init(HMAC_CTX *ctx) | 210 | HMAC_CTX_init(HMAC_CTX *ctx) |