]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - crypto/heimdal/doc/doxyout/hcrypto/man/man3/hcrypto_misc.3
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / crypto / heimdal / doc / doxyout / hcrypto / man / man3 / hcrypto_misc.3
1 .TH "hcrypto miscellaneous functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdal crypto library" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 hcrypto miscellaneous functions \- 
6 .SS "Functions"
7
8 .in +1c
9 .ti -1c
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)"
11 .br
12 .in -1c
13 .SH "Detailed Description"
14 .PP 
15
16 .SH "Function Documentation"
17 .PP 
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)"
19 .PP
20 As descriped in PKCS5, convert a password, salt, and iteration counter into a crypto key.
21 .PP
22 \fBParameters:\fP
23 .RS 4
24 \fIpassword\fP Password. 
25 .br
26 \fIpassword_len\fP Length of password. 
27 .br
28 \fIsalt\fP Salt 
29 .br
30 \fIsalt_len\fP Length of salt. 
31 .br
32 \fIiter\fP iteration counter. 
33 .br
34 \fIkeylen\fP the output key length. 
35 .br
36 \fIkey\fP the output key.
37 .RE
38 .PP
39 \fBReturns:\fP
40 .RS 4
41 1 on success, non 1 on failure. 
42 .RE
43 .PP
44