1 .TH "hcrypto miscellaneous functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdal crypto library" \" -*- nroff -*-
5 hcrypto miscellaneous functions \-
10 .RI "int \fBPKCS5_PBKDF2_HMAC_SHA1\fP (const void *password, size_t password_len, const void *salt, size_t salt_len, unsigned long iter, size_t keylen, void *key)"
13 .SH "Detailed Description"
16 .SH "Function Documentation"
18 .SS "int PKCS5_PBKDF2_HMAC_SHA1 (const void * password, size_t password_len, const void * salt, size_t salt_len, unsigned long iter, size_t keylen, void * key)"
20 As descriped in PKCS5, convert a password, salt, and iteration counter into a crypto key.
24 \fIpassword\fP Password.
26 \fIpassword_len\fP Length of password.
30 \fIsalt_len\fP Length of salt.
32 \fIiter\fP iteration counter.
34 \fIkeylen\fP the output key length.
36 \fIkey\fP the output key.
41 1 on success, non 1 on failure.