diff options
author | stas <stas@FreeBSD.org> | 2011-10-05 07:23:29 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2011-10-05 07:23:29 +0000 |
commit | 33f661cecdad3182ee66b47805fa4bb212e0da6c (patch) | |
tree | 57a48e7e9b592f2d5b713e80a4455820625c2b7b /doc/doxyout/hcrypto/man/man3/hcrypto_misc.3 | |
parent | 100a21d381c0fe86cfacf55ea7b18ec0bd2322bf (diff) | |
download | FreeBSD-src-33f661cecdad3182ee66b47805fa4bb212e0da6c.zip FreeBSD-src-33f661cecdad3182ee66b47805fa4bb212e0da6c.tar.gz |
- Import Heimdal 1.5 distribution.
Diffstat (limited to 'doc/doxyout/hcrypto/man/man3/hcrypto_misc.3')
-rw-r--r-- | doc/doxyout/hcrypto/man/man3/hcrypto_misc.3 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/doxyout/hcrypto/man/man3/hcrypto_misc.3 b/doc/doxyout/hcrypto/man/man3/hcrypto_misc.3 new file mode 100644 index 0000000..aba77a4 --- /dev/null +++ b/doc/doxyout/hcrypto/man/man3/hcrypto_misc.3 @@ -0,0 +1,44 @@ +.TH "hcrypto miscellaneous functions" 3 "30 Jul 2011" "Version 1.5" "Heimdal crypto library" \" -*- nroff -*- +.ad l +.nh +.SH NAME +hcrypto miscellaneous functions \- +.SS "Functions" + +.in +1c +.ti -1c +.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)" +.br +.in -1c +.SH "Detailed Description" +.PP + +.SH "Function Documentation" +.PP +.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)" +.PP +As descriped in PKCS5, convert a password, salt, and iteration counter into a crypto key. +.PP +\fBParameters:\fP +.RS 4 +\fIpassword\fP Password. +.br +\fIpassword_len\fP Length of password. +.br +\fIsalt\fP Salt +.br +\fIsalt_len\fP Length of salt. +.br +\fIiter\fP iteration counter. +.br +\fIkeylen\fP the output key length. +.br +\fIkey\fP the output key. +.RE +.PP +\fBReturns:\fP +.RS 4 +1 on success, non 1 on failure. +.RE +.PP + |