kcapi_pbkdf
Password-based Key Derivation Function
- Provided by: libkcapi-dev (Version: 1.4.0-1)
- Source: libkcapi
- Report a bug
Password-based Key Derivation Function
ssize_t kcapi_pbkdf(const char * hashname, const uint8_t * pw, uint32_t pwlen, const uint8_t * salt, size_t saltlen, uint32_t count, uint8_t * key, size_t keylen);
hashname
pw
pwlen
salt
saltlen
count
key
keylen
This function is an implementation of the PBKDF as defined in SP800-132.
return 0 upon success; a negative errno-style error code if an error occurred
Stephan Mueller <smueller@chronox.de>