Mbed TLS v4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
crypto_builtin_primitives.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 do not rely on other algorithms, i.e. are 'primitive' algorithms. More...

#include "mbedtls/private_access.h"
#include <psa/crypto_driver_common.h>
#include "mbedtls/private/md5.h"
#include "mbedtls/private/ripemd160.h"
#include "mbedtls/private/sha1.h"
#include "mbedtls/private/sha256.h"
#include "mbedtls/private/sha512.h"
#include "mbedtls/private/sha3.h"
#include "mbedtls/private/cipher.h"
Include dependency graph for crypto_builtin_primitives.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_hash_operation_t
 
struct  mbedtls_psa_cipher_operation_t
 

Macros

#define MBEDTLS_PSA_BUILTIN_HASH
 
#define MBEDTLS_PSA_HASH_OPERATION_INIT   { 0, { 0 } }
 
#define MBEDTLS_PSA_BUILTIN_CIPHER   1
 
#define MBEDTLS_PSA_CIPHER_OPERATION_INIT   { 0, 0, 0, { 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 do not rely on other algorithms, i.e. are 'primitive' 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_primitives.h.

Macro Definition Documentation

#define MBEDTLS_PSA_BUILTIN_CIPHER   1

Definition at line 100 of file crypto_builtin_primitives.h.

#define MBEDTLS_PSA_BUILTIN_HASH

Definition at line 51 of file crypto_builtin_primitives.h.

#define MBEDTLS_PSA_CIPHER_OPERATION_INIT   { 0, 0, 0, { 0 } }

Definition at line 114 of file crypto_builtin_primitives.h.

#define MBEDTLS_PSA_HASH_OPERATION_INIT   { 0, { 0 } }

Definition at line 84 of file crypto_builtin_primitives.h.