35 #ifndef MBEDTLS_CONFIG_SL_CRYPTO_ALL_ACCELERATION_H
36 #define MBEDTLS_CONFIG_SL_CRYPTO_ALL_ACCELERATION_H
38 #include "em_device.h"
40 #if !defined(NO_CRYPTO_ACCELERATION)
84 #if defined(MBEDTLS_SLCL_PLUGINS) && defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
99 #define MBEDTLS_AES_ALT
113 #if defined(MBEDTLS_SLCL_PLUGINS)
114 #define MBEDTLS_CCM_ALT
128 #if defined(MBEDTLS_SLCL_PLUGINS) && defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
129 #define MBEDTLS_CMAC_C
142 #if defined(MBEDTLS_SLCL_PLUGINS) && defined(MBEDTLS_CMAC_C) && \
143 defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
144 #define MBEDTLS_CMAC_ALT
169 #if defined(MBEDTLS_SLCL_PLUGINS) && defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
195 #if defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
196 #define MBEDTLS_ECP_DEVICE_ALT
197 #define MBEDTLS_ECP_DOUBLE_JAC_ALT
198 #define MBEDTLS_ECP_DEVICE_ADD_MIXED_ALT
199 #define MBEDTLS_ECP_NORMALIZE_JAC_ALT
200 #define MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT
201 #define MBEDTLS_MPI_MODULAR_DIVISION_ALT
227 #if defined(MBEDTLS_SLCL_PLUGINS) && defined(MBEDTLS_CRYPTO_DEVICE_PREEMPTION) && defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
228 #define MBEDTLS_ECP_ALT
229 #define MBEDTLS_ECP_GROUP_LOAD_ALT
258 #if defined(MBEDTLS_SLCL_PLUGINS) && defined(MBEDTLS_CRYPTO_DEVICE_PREEMPTION) && defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
276 #if defined(MBEDTLS_SLCL_PLUGINS) && \
277 (defined(MBEDTLS_AES_ALT) || defined(MBEDTLS_CCM_ALT)) && \
278 defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
299 #if defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
300 #define MBEDTLS_SHA1_ALT
321 #if defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
322 #define MBEDTLS_SHA256_ALT
339 #define MBEDTLS_TIMING_ALT
351 #if defined(TRNG_COUNT) && (TRNG_COUNT > 0)
352 #define MBEDTLS_TRNG_C
374 #if defined(TRNG_COUNT) && (TRNG_COUNT > 0) && defined(MBEDTLS_TRNG_C)
375 #define MBEDTLS_TRNG_IGNORE_NOISE_ALARMS
394 #if defined(TRNG_COUNT) && (TRNG_COUNT > 0) && defined(MBEDTLS_TRNG_C)
408 #if defined(TRNG_COUNT) && (TRNG_COUNT > 0) && defined(MBEDTLS_TRNG_C)
409 #define MBEDTLS_ENTROPY_ALT
410 #define MBEDTLS_ENTROPY_INIT_ALT
411 #define MBEDTLS_ENTROPY_FREE_ALT
417 #define MBEDTLS_ECP_DP_SECP192R1_ENABLED
418 #define MBEDTLS_ECP_DP_SECP224R1_ENABLED
419 #define MBEDTLS_ECP_DP_SECP256R1_ENABLED
422 #define MBEDTLS_ECP_MAX_BITS 256
423 #ifndef MBEDTLS_MPI_MAX_SIZE
424 #define MBEDTLS_MPI_MAX_SIZE 32 // 384 bits is 48 bytes
434 #define MBEDTLS_ECP_WINDOW_SIZE 3
435 #define MBEDTLS_ECP_FIXED_POINT_OPTIM 0
438 #define MBEDTLS_ECP_NIST_OPTIM
444 #define MBEDTLS_NO_PLATFORM_ENTROPY
Compatibility names (set of defines)
Consistency checks for configuration options.