ObjFW
|
The parameters for of_scrypt. More...
#include <scrypt.h>
Public Attributes | |
size_t | blockSize |
The block size to use. | |
size_t | costFactor |
The CPU/memory cost factor to use. | |
size_t | parallelization |
The parallelization to use. | |
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. More... | |
bool | allowsSwappableMemory |
Whether data may be stored in swappable memory. | |
The parameters for of_scrypt.
size_t of_scrypt_parameters_t::keyLength |
The desired length for the derived key.
key needs to have enough storage.