summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_local.h
diff options
context:
space:
mode:
authortb <>2024-03-02 10:20:27 +0000
committertb <>2024-03-02 10:20:27 +0000
commitb4541fab5e606187b51e789c26e6065cfc57ded0 (patch)
treefbf01f5453b712e42063e482a28304a6a55892cd /src/lib/libcrypto/x509/x509_local.h
parentfdfad9e1701882b4e72b41155a9c8e4ef338ddbf (diff)
downloadopenbsd-b4541fab5e606187b51e789c26e6065cfc57ded0.tar.gz
openbsd-b4541fab5e606187b51e789c26e6065cfc57ded0.tar.bz2
openbsd-b4541fab5e606187b51e789c26e6065cfc57ded0.zip
Remove more PBE stuff from the public API
This is still needed internally for CMS and its predecessors. This removal will enable disentangling some of its innards. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r--src/lib/libcrypto/x509/x509_local.h13
1 files changed, 12 insertions, 1 deletions
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
391int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **out); 391int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **out);
392extern const ASN1_ITEM PBKDF2PARAM_it; 392extern const ASN1_ITEM PBKDF2PARAM_it;
393 393
394int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
395 const unsigned char *salt, int saltlen);
396X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter,
397 unsigned char *salt, int saltlen);
398X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter,
399 unsigned char *salt, int saltlen, unsigned char *aiv, int prf_nid);
400X509_ALGOR *PKCS5_pbe_set(int alg, int iter, const unsigned char *salt,
401 int saltlen);
402X509_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 */