Key derivation value definitions for the PSA Crypto API. More...
Key derivation value definitions for the PSA Crypto API.
Definition in file values.h.
Go to the source code of this file.
#define | PSA_KEY_DERIVATION_INPUT_CONTEXT /* implementation-defined value */ |
A context for key derivation. | |
#define | PSA_KEY_DERIVATION_INPUT_COST /* implementation-defined value */ |
A cost parameter for password hashing or key stretching. | |
#define | PSA_KEY_DERIVATION_INPUT_INFO /* implementation-defined value */ |
An information string for key derivation. | |
#define | PSA_KEY_DERIVATION_INPUT_LABEL /* implementation-defined value */ |
A label for key derivation. | |
#define | PSA_KEY_DERIVATION_INPUT_PASSWORD /* implementation-defined value */ |
A low-entropy secret input for password hashing or key stretching. | |
#define | PSA_KEY_DERIVATION_INPUT_SALT /* implementation-defined value */ |
A salt for key derivation. | |
#define | PSA_KEY_DERIVATION_INPUT_SECRET /* implementation-defined value */ |
A high-entropy secret input for key derivation. | |
#define | PSA_KEY_DERIVATION_INPUT_SEED /* implementation-defined value */ |
A seed for key derivation. | |
#define PSA_KEY_DERIVATION_INPUT_CONTEXT /* implementation-defined value */ |
A context for key derivation.
This is typically a direct input. It can also be a key of type PSA_KEY_TYPE_RAW_DATA.
#define PSA_KEY_DERIVATION_INPUT_COST /* implementation-defined value */ |
A cost parameter for password hashing or key stretching.
This must be a direct input, passed to psa_key_derivation_input_integer().
#define PSA_KEY_DERIVATION_INPUT_INFO /* implementation-defined value */ |
An information string for key derivation.
This is typically a direct input. It can also be a key of type PSA_KEY_TYPE_RAW_DATA.
#define PSA_KEY_DERIVATION_INPUT_LABEL /* implementation-defined value */ |
A label for key derivation.
This is typically a direct input. It can also be a key of type PSA_KEY_TYPE_RAW_DATA.
#define PSA_KEY_DERIVATION_INPUT_PASSWORD /* implementation-defined value */ |
A low-entropy secret input for password hashing or key stretching.
This is usually a key of type PSA_KEY_TYPE_PASSWORD passed to psa_key_derivation_input_key() or a direct input passed to psa_key_derivation_input_bytes() that is a password or passphrase. It can also be high-entropy secret, for example, a key of type PSA_KEY_TYPE_DERIVE, or the shared secret resulting from a key agreement.
If the secret is a direct input, the derivation operation cannot be used to derive keys: the operation will not allow a call to psa_key_derivation_output_key().
#define PSA_KEY_DERIVATION_INPUT_SALT /* implementation-defined value */ |
A salt for key derivation.
This is typically a direct input. It can also be a key of type PSA_KEY_TYPE_RAW_DATA or PSA_KEY_TYPE_PEPPER.
#define PSA_KEY_DERIVATION_INPUT_SECRET /* implementation-defined value */ |
A high-entropy secret input for key derivation.
This is typically a key of type PSA_KEY_TYPE_DERIVE passed to psa_key_derivation_input_key(), or the shared secret resulting from a key agreement obtained via psa_key_derivation_key_agreement().
The secret can also be a direct input passed to psa_key_derivation_input_bytes(). In this case, the derivation operation cannot be used to derive keys: the operation will not allow a call to psa_key_derivation_output_key().
#define PSA_KEY_DERIVATION_INPUT_SEED /* implementation-defined value */ |
A seed for key derivation.
This is typically a direct input. It can also be a key of type PSA_KEY_TYPE_RAW_DATA.