keyhole logo

Functions

hcrypto miscellaneous functions

Functions

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)

Function Documentation

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 
)

As descriped in PKCS5, convert a password, salt, and iteration counter into a crypto key.

Parameters:
passwordPassword.
password_lenLength of password.
saltSalt
salt_lenLength of salt.
iteriteration counter.
keylenthe output key length.
keythe output key.
Returns:
1 on success, non 1 on failure.

Generated on Wed Nov 9 2011 16:14:48 for Heimdal crypto library by doxygen 1.7.2