diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp_pbe.c')
-rw-r--r-- | src/lib/libcrypto/evp/evp_pbe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_pbe.c b/src/lib/libcrypto/evp/evp_pbe.c index 81fa0446ed..88ceb14033 100644 --- a/src/lib/libcrypto/evp/evp_pbe.c +++ b/src/lib/libcrypto/evp/evp_pbe.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_pbe.c,v 1.49 2024/03/25 11:38:47 joshua Exp $ */ | 1 | /* $OpenBSD: evp_pbe.c,v 1.50 2024/04/09 13:52:41 beck Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -398,6 +398,7 @@ PKCS5_PBKDF2_HMAC(const char *pass, int passlen, const unsigned char *salt, | |||
398 | HMAC_CTX_cleanup(&hctx_tpl); | 398 | HMAC_CTX_cleanup(&hctx_tpl); |
399 | return 1; | 399 | return 1; |
400 | } | 400 | } |
401 | LCRYPTO_ALIAS(PKCS5_PBKDF2_HMAC); | ||
401 | 402 | ||
402 | int | 403 | int |
403 | PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen, const unsigned char *salt, | 404 | PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen, const unsigned char *salt, |
@@ -406,6 +407,7 @@ PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen, const unsigned char *salt, | |||
406 | return PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, | 407 | return PKCS5_PBKDF2_HMAC(pass, passlen, salt, saltlen, iter, |
407 | EVP_sha1(), keylen, out); | 408 | EVP_sha1(), keylen, out); |
408 | } | 409 | } |
410 | LCRYPTO_ALIAS(PKCS5_PBKDF2_HMAC_SHA1); | ||
409 | 411 | ||
410 | /* | 412 | /* |
411 | * Now the key derivation function itself. This is a bit evil because | 413 | * Now the key derivation function itself. This is a bit evil because |