Mbed TLS v4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
crypto_builtin_composites.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 those algorithms which need to rely on other algorithms, i.e. are 'composite' algorithms. More...

#include "mbedtls/private_access.h"
#include <psa/crypto_driver_common.h>
#include "mbedtls/private/cmac.h"
#include "mbedtls/private/gcm.h"
#include "mbedtls/private/ccm.h"
#include "mbedtls/private/chachapoly.h"
#include "mbedtls/private/ecdh.h"
#include "mbedtls/private/ecdsa.h"
#include "mbedtls/private/ecjpake.h"
Include dependency graph for crypto_builtin_composites.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mbedtls_psa_hmac_operation_t
 
struct  mbedtls_psa_mac_operation_t
 
struct  mbedtls_psa_aead_operation_t
 
struct  mbedtls_psa_sign_hash_interruptible_operation_t
 
struct  mbedtls_psa_verify_hash_interruptible_operation_t
 
struct  mbedtls_psa_pake_operation_t
 
struct  mbedtls_psa_generate_key_iop_t
 
struct  mbedtls_psa_key_agreement_interruptible_operation_t
 
struct  mbedtls_psa_export_public_key_iop_t
 

Macros

#define MBEDTLS_PSA_BUILTIN_MAC
 
#define MBEDTLS_PSA_HMAC_OPERATION_INIT   { 0, PSA_HASH_OPERATION_INIT, { 0 } }
 
#define MBEDTLS_PSA_MAC_OPERATION_INIT   { 0, { 0 } }
 
#define MBEDTLS_PSA_BUILTIN_AEAD   1
 
#define MBEDTLS_PSA_AEAD_OPERATION_INIT   { 0, 0, 0, 0, { 0 } }
 
#define MBEDTLS_PSA_SIGN_HASH_INTERRUPTIBLE_OPERATION_INIT   { { 0 }, { 0 }, 0, 0, 0, 0, 0, 0 }
 
#define MBEDTLS_VERIFY_SIGN_HASH_INTERRUPTIBLE_OPERATION_INIT
 
#define MBEDTLS_PSA_BUILTIN_PAKE   1
 
#define MBEDTLS_PSA_JPAKE_BUFFER_SIZE   ((3 + 1 + 65 + 1 + 65 + 1 + 32) * 2)
 
#define MBEDTLS_PSA_PAKE_OPERATION_INIT   { { 0 } }
 
#define MBEDTLS_PSA_GENERATE_KEY_IOP_INIT   { MBEDTLS_ECP_KEYPAIR_INIT, 0 }
 
#define MBEDTLS_PSA_KEY_AGREEMENT_IOP_INIT   { MBEDTLS_ECDH_CONTEXT_INIT, 0 }
 
#define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT   { NULL, MBEDTLS_ECP_RESTART_INIT, 0 }
 

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 those algorithms which need to rely on other algorithms, i.e. are 'composite' 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_composites.h.

Macro Definition Documentation

#define MBEDTLS_PSA_AEAD_OPERATION_INIT   { 0, 0, 0, 0, { 0 } }

Definition at line 109 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_BUILTIN_AEAD   1

Definition at line 81 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_BUILTIN_MAC

Definition at line 47 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_BUILTIN_PAKE   1

Definition at line 189 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT   { NULL, MBEDTLS_ECP_RESTART_INIT, 0 }

Definition at line 266 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_GENERATE_KEY_IOP_INIT   { MBEDTLS_ECP_KEYPAIR_INIT, 0 }

Definition at line 231 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_HMAC_OPERATION_INIT   { 0, PSA_HASH_OPERATION_INIT, { 0 } }

Definition at line 60 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_JPAKE_BUFFER_SIZE   ((3 + 1 + 65 + 1 + 65 + 1 + 32) * 2)

Definition at line 195 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_KEY_AGREEMENT_IOP_INIT   { MBEDTLS_ECDH_CONTEXT_INIT, 0 }

Definition at line 248 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_MAC_OPERATION_INIT   { 0, { 0 } }

Definition at line 76 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_PAKE_OPERATION_INIT   { { 0 } }

Definition at line 218 of file crypto_builtin_composites.h.

#define MBEDTLS_PSA_SIGN_HASH_INTERRUPTIBLE_OPERATION_INIT   { { 0 }, { 0 }, 0, 0, 0, 0, 0, 0 }

Definition at line 141 of file crypto_builtin_composites.h.

#define MBEDTLS_VERIFY_SIGN_HASH_INTERRUPTIBLE_OPERATION_INIT
Value:
{ { 0 }, { 0 }, 0, 0, 0, 0, { 0 }, \
{ 0 } }

Definition at line 177 of file crypto_builtin_composites.h.