Add PBKFD2 prototype.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 25 Nov 2009 22:07:22 +0000 (22:07 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 25 Nov 2009 22:07:22 +0000 (22:07 +0000)
crypto/x509/x509.h

index 3beb699..25f536d 100644 (file)
@@ -1154,6 +1154,9 @@ X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter,
                                 unsigned char *salt, int saltlen,
                                 unsigned char *aiv, int prf_nid);
 
+X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen,
+                               int prf_nid, int keylen);
+
 /* PKCS#8 utilities */
 
 DECLARE_ASN1_FUNCTIONS(PKCS8_PRIV_KEY_INFO)