File crypto_builtin_primitives.h

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.

Note

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.

Defines

MBEDTLS_PSA_BUILTIN_HASH
MBEDTLS_PSA_HASH_OPERATION_INIT
MBEDTLS_PSA_BUILTIN_CIPHER
MBEDTLS_PSA_CIPHER_OPERATION_INIT
struct mbedtls_psa_hash_operation_t
#include <crypto_builtin_primitives.h>
struct mbedtls_psa_cipher_operation_t
#include <crypto_builtin_primitives.h>

Public Members

psa_algorithm_t private_alg
uint8_t private_iv_length
uint8_t private_block_length
unsigned int private_dummy
mbedtls_cipher_context_t private_cipher
union mbedtls_psa_cipher_operation_t::[anonymous] private_ctx