21 #ifndef MBEDTLS_SL_CRYPTO_H
22 #define MBEDTLS_SL_CRYPTO_H
24 #include "em_device.h"
26 #if ( defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0) ) || \
27 ( defined(AES_COUNT) && (AES_COUNT > 0) )
29 #if !defined(MBEDTLS_CONFIG_FILE)
32 #include MBEDTLS_CONFIG_FILE
35 #if defined( MBEDTLS_SLCL_PLUGINS )
37 #if defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
46 #if defined(CRYPTO_COUNT) && (CRYPTO_COUNT > 0)
47 #define MBEDTLS_ERR_ABORTED ((int)MBEDTLS_ECODE_CRYPTODRV_OPERATION_ABORTED)
48 #define MBEDTLS_ERR_DEVICE_BUSY ((int)MBEDTLS_ECODE_CRYPTODRV_BUSY)
63 #if defined( MBEDTLS_INCLUDE_IO_MODE_DMA )
64 MBEDTLS_DEVICE_IO_MODE_DMA
69 #if defined( MBEDTLS_INCLUDE_IO_MODE_DMA )
73 unsigned int dma_ch_in;
74 unsigned int dma_ch_out;
75 } mbedtls_device_dma_config;
81 #if defined( MBEDTLS_INCLUDE_IO_MODE_DMA )
82 mbedtls_device_dma_config dma_config;
Compatibility names (set of defines)
Silicon Labs specific mbedtls error code definitions.
mbedtls_device_io_mode
Enum defines which data I/O mode to use for moving data to/from the AES/CRYPTO hardware module...
Data I/O mode specific configuration structure.