Mbed TLS v4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Enumerations
crypto_builtin_key_derivation.h File Reference

Context structure declaration of the Mbed TLS software-based PSA drivers called through the PSA Crypto driver dispatch layer. This file contains the context structures of key derivation algorithms which need to rely on other algorithms. More...

#include "mbedtls/private_access.h"
#include <psa/crypto_driver_common.h>
Include dependency graph for crypto_builtin_key_derivation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  psa_hkdf_key_derivation_t
 
struct  psa_tls12_ecjpake_to_pms_t
 
struct  psa_tls12_prf_key_derivation_s
 
struct  psa_pbkdf2_key_derivation_t
 

Typedefs

typedef struct
psa_tls12_prf_key_derivation_s 
psa_tls12_prf_key_derivation_t
 

Enumerations

enum  psa_tls12_prf_key_derivation_state_t {
  PSA_TLS12_PRF_STATE_INIT, PSA_TLS12_PRF_STATE_SEED_SET, PSA_TLS12_PRF_STATE_OTHER_KEY_SET, PSA_TLS12_PRF_STATE_KEY_SET,
  PSA_TLS12_PRF_STATE_LABEL_SET, PSA_TLS12_PRF_STATE_OUTPUT
}
 
enum  psa_pbkdf2_key_derivation_state_t {
  PSA_PBKDF2_STATE_INIT, PSA_PBKDF2_STATE_INPUT_COST_SET, PSA_PBKDF2_STATE_SALT_SET, PSA_PBKDF2_STATE_PASSWORD_SET,
  PSA_PBKDF2_STATE_OUTPUT
}
 

Detailed Description

Context structure declaration of the Mbed TLS software-based PSA drivers called through the PSA Crypto driver dispatch layer. This file contains the context structures of key derivation algorithms which need to rely on other algorithms.

Note
This file may not be included directly. Applications must include psa/crypto.h.
This header and its content are not part of the Mbed TLS API and applications must not depend on it. Its main purpose is to define the multi-part state objects of the Mbed TLS software-based PSA drivers. The definitions of these objects are then used by crypto_struct.h to define the implementation-defined types of PSA multi-part state objects.

Definition in file crypto_builtin_key_derivation.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator
PSA_PBKDF2_STATE_INIT 
PSA_PBKDF2_STATE_INPUT_COST_SET 
PSA_PBKDF2_STATE_SALT_SET 
PSA_PBKDF2_STATE_PASSWORD_SET 
PSA_PBKDF2_STATE_OUTPUT 

Definition at line 99 of file crypto_builtin_key_derivation.h.

Enumerator
PSA_TLS12_PRF_STATE_INIT 
PSA_TLS12_PRF_STATE_SEED_SET 
PSA_TLS12_PRF_STATE_OTHER_KEY_SET 
PSA_TLS12_PRF_STATE_KEY_SET 
PSA_TLS12_PRF_STATE_LABEL_SET 
PSA_TLS12_PRF_STATE_OUTPUT 

Definition at line 57 of file crypto_builtin_key_derivation.h.