34 #ifndef PSA_CRYPTO_DRIVER_CONTEXTS_COMPOSITES_H 35 #define PSA_CRYPTO_DRIVER_CONTEXTS_COMPOSITES_H 37 #include "crypto_driver_common.h" 40 #include "crypto_builtin_composites.h" 43 #include <mcuxClPsaDriver_MemoryConsumption.h> 46 #include <mcuxClMacModes.h> 52 #if defined(MBEDTLS_TEST_LIBTESTDRIVER1) 53 #include <libtestdriver1/include/psa/crypto.h> 56 #if defined(PSA_CRYPTO_DRIVER_TEST) 57 #if defined(MBEDTLS_TEST_LIBTESTDRIVER1) && \ 58 defined(LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_MAC) 59 typedef libtestdriver1_mbedtls_psa_mac_operation_t
60 mbedtls_transparent_test_driver_mac_operation_t;
61 typedef libtestdriver1_mbedtls_psa_mac_operation_t
62 mbedtls_opaque_test_driver_mac_operation_t;
64 #define MBEDTLS_TRANSPARENT_TEST_DRIVER_MAC_OPERATION_INIT \ 65 LIBTESTDRIVER1_MBEDTLS_PSA_MAC_OPERATION_INIT 66 #define MBEDTLS_OPAQUE_TEST_DRIVER_MAC_OPERATION_INIT \ 67 LIBTESTDRIVER1_MBEDTLS_PSA_MAC_OPERATION_INIT 70 typedef mbedtls_psa_mac_operation_t
71 mbedtls_transparent_test_driver_mac_operation_t;
72 typedef mbedtls_psa_mac_operation_t
73 mbedtls_opaque_test_driver_mac_operation_t;
75 #define MBEDTLS_TRANSPARENT_TEST_DRIVER_MAC_OPERATION_INIT \ 76 MBEDTLS_PSA_MAC_OPERATION_INIT 77 #define MBEDTLS_OPAQUE_TEST_DRIVER_MAC_OPERATION_INIT \ 78 MBEDTLS_PSA_MAC_OPERATION_INIT 82 #if defined(MBEDTLS_TEST_LIBTESTDRIVER1) && \ 83 defined(LIBTESTDRIVER1_MBEDTLS_PSA_BUILTIN_AEAD) 84 typedef libtestdriver1_mbedtls_psa_aead_operation_t
85 mbedtls_transparent_test_driver_aead_operation_t;
87 #define MBEDTLS_TRANSPARENT_TEST_DRIVER_AEAD_OPERATION_INIT \ 88 LIBTESTDRIVER1_MBEDTLS_PSA_AEAD_OPERATION_INIT 90 typedef mbedtls_psa_aead_operation_t
91 mbedtls_transparent_test_driver_aead_operation_t;
93 #define MBEDTLS_TRANSPARENT_TEST_DRIVER_AEAD_OPERATION_INIT \ 94 MBEDTLS_PSA_AEAD_OPERATION_INIT 109 mbedtls_psa_mac_operation_t mbedtls_ctx;
111 uint8_t clns_data[MCUXCLPSADRIVER_CLNSDATA_MAC_SIZE];
113 #if defined(PSA_CRYPTO_DRIVER_TEST) 114 mbedtls_transparent_test_driver_mac_operation_t transparent_test_driver_ctx;
115 mbedtls_opaque_test_driver_mac_operation_t opaque_test_driver_ctx;
121 mbedtls_psa_aead_operation_t mbedtls_ctx;
123 uint8_t clns_data[MCUXCLPSADRIVER_CLNSDATA_AEAD_SIZE];
125 #if defined(PSA_CRYPTO_DRIVER_TEST) 126 mbedtls_transparent_test_driver_aead_operation_t transparent_test_driver_ctx;
Top-level include file for the mcuxClMac component.
Definition: crypto_driver_contexts_composites.h:119
Top-level include file for the mcuxClAead component.
Definition: crypto_driver_contexts_composites.h:107
Top-level include file for the mcuxClKey component.