KCAPI_PBKDF(3) | Programming Interface | KCAPI_PBKDF(3) |
kcapi_pbkdf - 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>
February 2022 | libkcapi Manual 1.4.0 |