33#ifndef PSA_CRYPTO_DRIVER_CONTEXTS_PRIMITIVES_H
34#define PSA_CRYPTO_DRIVER_CONTEXTS_PRIMITIVES_H
36#include "crypto_driver_common.h"
39#include "crypto_builtin_primitives.h"
40#include "els_pkc_crypto_primitives.h"
43#include <mcuxClPsaDriver_MemoryConsumption.h>
46#include <mcuxClCipherModes.h>
53#if defined(MBEDTLS_TEST_LIBTESTDRIVER1)
54#include <libtestdriver1/include/psa/crypto.h>
57#if defined(PSA_CRYPTO_DRIVER_TEST)
59#if defined(MBEDTLS_TEST_LIBTESTDRIVER1) && \
60 defined(LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_CIPHER)
61typedef libtestdriver1_mbedtls_psa_cipher_operation_t
62 mbedtls_transparent_test_driver_cipher_operation_t;
64#define MBEDTLS_TRANSPARENT_TEST_DRIVER_CIPHER_OPERATION_INIT \
65 LIBTESTDRIVER1_MBEDTLS_PSA_CIPHER_OPERATION_INIT
67typedef mbedtls_psa_cipher_operation_t
68 mbedtls_transparent_test_driver_cipher_operation_t;
70#define MBEDTLS_TRANSPARENT_TEST_DRIVER_CIPHER_OPERATION_INIT \
71 MBEDTLS_PSA_CIPHER_OPERATION_INIT
75#if defined(MBEDTLS_TEST_LIBTESTDRIVER1) && \
76 defined(LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_HASH)
77typedef libtestdriver1_mbedtls_psa_hash_operation_t
78 mbedtls_transparent_test_driver_hash_operation_t;
80#define MBEDTLS_TRANSPARENT_TEST_DRIVER_HASH_OPERATION_INIT \
81 LIBTESTDRIVER1_MBEDTLS_PSA_HASH_OPERATION_INIT
83typedef mbedtls_psa_hash_operation_t
84 mbedtls_transparent_test_driver_hash_operation_t;
86#define MBEDTLS_TRANSPARENT_TEST_DRIVER_HASH_OPERATION_INIT \
87 MBEDTLS_PSA_HASH_OPERATION_INIT
92 unsigned int initialised : 1;
93 mbedtls_transparent_test_driver_cipher_operation_t ctx;
94} mbedtls_opaque_test_driver_cipher_operation_t;
96#define MBEDTLS_OPAQUE_TEST_DRIVER_CIPHER_OPERATION_INIT \
97 { 0, MBEDTLS_TRANSPARENT_TEST_DRIVER_CIPHER_OPERATION_INIT }
110 mbedtls_psa_hash_operation_t mbedtls_ctx;
117 mbedtls_psa_cipher_operation_t mbedtls_ctx;
Top-level include file for the mcuxClCipher component.
Top-level include file for the mcuxClHash component.
Top-level include file for the mcuxClKey component.
Definition crypto_driver_contexts_primitives.h:108
Definition crypto_driver_contexts_primitives.h:115
Definition els_pkc_crypto_primitives.h:26
Definition els_pkc_crypto_primitives.h:30