ObjFW
|
The parameters for OFPBKDF2. More...
#include <OFPBKDF2.h>
Public Attributes | |
__unsafe_unretained OFHMAC * | HMAC |
The HMAC to use to derive a key. | |
size_t | iterations |
The number of iterations to perform. | |
const unsigned char * | salt |
The salt to derive a key with. | |
size_t | saltLength |
The length of the salt. | |
const char * | password |
The password to derive a key from. | |
size_t | passwordLength |
The length of the password. | |
unsigned char * | key |
The buffer to write the key to. | |
size_t | keyLength |
The desired length for the derived key. | |
bool | allowsSwappableMemory |
Whether data may be stored in swappable memory. | |
The parameters for OFPBKDF2.
size_t OFPBKDF2Parameters::keyLength |
The desired length for the derived key.
key needs to have enough storage.