#include <stddef.h> #include <string.h> #include "psa_crypto_driver_wrappers_no_static.h" #if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED) 4 changes: 2 additions & 2 deletions 4 docs/architecture/psa-crypto-implementation-structure.md Original file line numberDiff line numberDiff line change...
include/mbedtls mbedtls_config.h library psa_crypto_slot_management.c scripts/data_files/driver_templates psa_crypto_driver_wrappers.c.jinja tests scripts all.sh src/drivers hash.c test_driver_aead.c test_driver_asymmetric_encryption.c test_driver_cipher.c test_driver_key_agreemen...
1 change: 1 addition & 0 deletions 1 library/psa_crypto.c Original file line numberDiff line numberDiff line change @@ -34,6 +34,7 @@ #include "psa_crypto_core.h" #include "psa_crypto_invasive.h" #include "psa_crypto_driver_wrappers.c" #include "psa_crypto_driver_wrappers.h" #...
3. Conditionally include header files required by the driverInclude any header files required by the driver inpsa_crypto_driver_wrappers.h, placing the#includestatements within an#if definedblock which checks if the driver is available: #if defined(DRIVER_PREFIX_ENABLED) #include ... #endif 4...
psa_crypto_core_common.h psa_crypto_driver_wrappers_no_static.h psa_crypto_ecp.c psa_crypto_ecp.h psa_crypto_ffdh.c psa_crypto_ffdh.h psa_crypto_hash.c psa_crypto_hash.h psa_crypto_invasive.h psa_crypto_its.h psa_crypto_mac.c psa_crypto_mac.h psa_crypto_pake.c psa_crypto...
psa_crypto_core_common.h psa_crypto_driver_wrappers_no_static.h psa_crypto_ecp.c psa_crypto_ecp.h psa_crypto_ffdh.c psa_crypto_ffdh.h psa_crypto_hash.c psa_crypto_hash.h psa_crypto_invasive.h psa_crypto_its.h psa_crypto_mac.c psa_crypto_mac.h psa_crypto_pake.c ps...
4. For each operation being accelerated, locate the function in the driver dispatch layer that corresponds to the entry point of that operation. The file psa_crypto_driver_wrappers.h.jinja and psa_crypto_driver_wrappers_no_static.c.jinja contains the driver wrapper functions. For th...
An open source, portable, easy to use, readable and flexible SSL library - mbedtls/library/camellia.c at test-more-USE_PSA_CRYPTO-20240812-3.6 · gilles-peskine-arm/mbedtls