wickr-crypto-c
Data Fields
wickr_kdf_algo Struct Reference

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
 

Detailed Description

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.

Field Documentation

◆ algo_id

wickr_kdf_algo::algo_id

the base algorithm used by this kdf function

◆ cost

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

◆ kdf_id

wickr_kdf_algo::kdf_id

the specific sub-algorithm used by this kdf function

◆ output_size

wickr_kdf_algo::output_size

the number of bytes this algorithm will produce as an ouput

◆ salt_size

wickr_kdf_algo::salt_size

the number of bytes this algorithm expects for a salt value


The documentation for this struct was generated from the following file: