diff options
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 16 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_local.h | 13 |
2 files changed, 13 insertions, 16 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index bd8497d9c4..66752f34e9 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509.h,v 1.104 2024/03/02 10:17:37 tb Exp $ */ | 1 | /* $OpenBSD: x509.h,v 1.105 2024/03/02 10:20:27 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 | * |
@@ -1018,20 +1018,6 @@ X509 *X509_find_by_subject(STACK_OF(X509) *sk,X509_NAME *name); | |||
1018 | 1018 | ||
1019 | extern const ASN1_ITEM PBEPARAM_it; | 1019 | extern const ASN1_ITEM PBEPARAM_it; |
1020 | 1020 | ||
1021 | int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, | ||
1022 | const unsigned char *salt, int saltlen); | ||
1023 | |||
1024 | X509_ALGOR *PKCS5_pbe_set(int alg, int iter, | ||
1025 | const unsigned char *salt, int saltlen); | ||
1026 | X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, | ||
1027 | unsigned char *salt, int saltlen); | ||
1028 | X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, | ||
1029 | unsigned char *salt, int saltlen, | ||
1030 | unsigned char *aiv, int prf_nid); | ||
1031 | |||
1032 | X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, | ||
1033 | int prf_nid, int keylen); | ||
1034 | |||
1035 | /* PKCS#8 utilities */ | 1021 | /* PKCS#8 utilities */ |
1036 | 1022 | ||
1037 | PKCS8_PRIV_KEY_INFO *PKCS8_PRIV_KEY_INFO_new(void); | 1023 | PKCS8_PRIV_KEY_INFO *PKCS8_PRIV_KEY_INFO_new(void); |
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h index 1e813797e1..4ac99da2bd 100644 --- a/src/lib/libcrypto/x509/x509_local.h +++ b/src/lib/libcrypto/x509/x509_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_local.h,v 1.19 2024/03/02 10:17:37 tb Exp $ */ | 1 | /* $OpenBSD: x509_local.h,v 1.20 2024/03/02 10:20:27 tb 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 2013. | 3 | * project 2013. |
4 | */ | 4 | */ |
@@ -391,6 +391,17 @@ PBKDF2PARAM *d2i_PBKDF2PARAM(PBKDF2PARAM **a, const unsigned char **in, long len | |||
391 | int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **out); | 391 | int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **out); |
392 | extern const ASN1_ITEM PBKDF2PARAM_it; | 392 | extern const ASN1_ITEM PBKDF2PARAM_it; |
393 | 393 | ||
394 | int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, | ||
395 | const unsigned char *salt, int saltlen); | ||
396 | X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, | ||
397 | unsigned char *salt, int saltlen); | ||
398 | X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, | ||
399 | unsigned char *salt, int saltlen, unsigned char *aiv, int prf_nid); | ||
400 | X509_ALGOR *PKCS5_pbe_set(int alg, int iter, const unsigned char *salt, | ||
401 | int saltlen); | ||
402 | X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, | ||
403 | int prf_nid, int keylen); | ||
404 | |||
394 | __END_HIDDEN_DECLS | 405 | __END_HIDDEN_DECLS |
395 | 406 | ||
396 | #endif /* !HEADER_X509_LOCAL_H */ | 407 | #endif /* !HEADER_X509_LOCAL_H */ |