wickr-crypto-c
|
Metadata associated with a particular KDF function. More...
#include <kdf.h>
Data Fields | |
wickr_kdf_algo_id | algo_id |
wickr_kdf_id | kdf_id |
uint8_t | salt_size |
uint8_t | output_size |
uint32_t | cost |
Metadata associated with a particular KDF function.
The algorithm is defined by a base algorithm, as well as a specific sub-algorithm associated with it. As an example KDF_SCRYPT as the algo_id with KDF_ID_SCRYPT_17 as the kdf_id.
wickr_kdf_algo::algo_id |
the base algorithm used by this kdf function
wickr_kdf_algo::cost |
a number representing the difficulty of calculating the KDF function as either CPU power, Memory use, or a combination of both
wickr_kdf_algo::kdf_id |
the specific sub-algorithm used by this kdf function
wickr_kdf_algo::output_size |
the number of bytes this algorithm will produce as an ouput
wickr_kdf_algo::salt_size |
the number of bytes this algorithm expects for a salt value