mbed TLS v2.2.0
Macros
doxydoc_mbedtls_defines.h File Reference

Go to the source code of this file.

Macros

#define MBEDTLS_INCLUDE_ASYNCH_API
 
#define MBEDTLS_TRNG_C
 
SECTION: Silicon Labs Acceleration settings

This section sets Silicon Labs Acceleration settings.

#define MBEDTLS_CCM_ALT
 Enable hardware acceleration for the Counter with CBC-MAC (CCM) mode for 128-bit block cipher. More...
 
#define MBEDTLS_CMAC_C
 Enable Cipher-based Message Authentication Code (CMAC) based on AES-128. More...
 
#define MBEDTLS_CMAC_ALT
 Enable hardware acceleration for the Cipher-based Message Authentication Code (CMAC) based on AES-128. More...
 
#define MBEDTLS_CRYPTO_DEVICE_PREEMPTION
 Enable CRYPTO preemption. More...
 
#define MBEDTLS_DEVICE_YIELD_WHEN_BUSY
 Enable class 2 plugin slcl_ecp.c to yield the CPU core when CRYPTO device is busy. More...
 
#define MBEDTLS_ECP_ALT
 
#define MBEDTLS_ECP_CRITICAL_SHORT
 Enable shorter critical regions in the class 2 plugin slcl_ecp.c. More...
 
#define MBEDTLS_ECP_GROUP_LOAD_ALT
 Enable CRYPTO preemption for the elliptic curve over GF(p) library. More...
 
#define MBEDTLS_INCLUDE_IO_MODE_DMA
 Enable support for moving data to/from CRYPTO with DMA. More...
 
#define MBEDTLS_SLCL_PLUGINS
 Enable class 2 (slcl_xxx.c) plugins including support for CRYPTO preemption, yield when device busy, DMA I/O mode, and support for classic EFM32 devices with AES module, EFM32GG, etc. More...
 
#define MBEDTLS_TIMING_ALT
 Uncomment to provide your own alternate implementation for mbedtls_timing_hardclock(), mbedtls_timing_get_timer(), mbedtls_set_alarm(), mbedtls_set/get_delay() More...
 
SECTION: System support

This section sets system specific settings.

#define MBEDTLS_HAVE_SSE2
 CPU supports SSE2 instruction set. More...
 
#define MBEDTLS_PLATFORM_MEMORY
 Enable the memory allocation layer. More...
 
#define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS
 Do not assign standard functions in the platform layer (e.g. More...
 
#define MBEDTLS_PLATFORM_XXX_ALT
 Uncomment a macro to let mbed TLS support the function in the platform abstraction layer. More...
 
#define MBEDTLS_DEPRECATED_WARNING
 Mark deprecated functions so that they generate a warning if used. More...
 
#define MBEDTLS_DEPRECATED_REMOVED
 Remove deprecated functions so that they generate an error if used. More...
 
SECTION: mbed TLS feature support

This section sets support for features that are or are not needed within the modules that are enabled.

#define MBEDTLS__MODULE_NAME__ALT
 Uncomment a macro to let mbed TLS use your alternate core implementation of a symmetric crypto or hash module (e.g. More...
 
#define MBEDTLS__FUNCTION_NAME__ALT
 Uncomment a macro to let mbed TLS use you alternate core implementation of symmetric crypto or hash function. More...
 
#define MBEDTLS_ENTROPY_HARDWARE_ALT
 Uncomment this macro to let mbed TLS use your own implementation of a hardware entropy collector. More...
 
#define MBEDTLS_AES_ROM_TABLES
 Store the AES tables in ROM. More...
 
#define MBEDTLS_CAMELLIA_SMALL_MEMORY
 Use less ROM for the Camellia implementation (saves about 768 bytes). More...
 
#define MBEDTLS_CIPHER_NULL_CIPHER
 Enable NULL cipher. More...
 
#define MBEDTLS_CIPHER_PADDING_XXX
 Uncomment or comment macros to add support for specific padding modes in the cipher layer with cipher modes that support padding (e.g. More...
 
#define MBEDTLS_ENABLE_WEAK_CIPHERSUITES
 Enable weak ciphersuites in SSL / TLS. More...
 
#define MBEDTLS_ECP_XXXX_ENABLED
 Enables specific curves within the Elliptic Curve module. More...
 
#define MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
 Enable the ECJPAKE based ciphersuite modes in SSL / TLS. More...
 
#define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES
 Do not add default entropy sources. More...
 
#define MBEDTLS_ENTROPY_FORCE_SHA256
 Force the entropy accumulator to use a SHA-256 accumulator instead of the default SHA-512 based one (if both are available). More...
 
#define MBEDTLS_MEMORY_DEBUG
 Enable debugging of buffer allocator memory issues. More...
 
#define MBEDTLS_MEMORY_BACKTRACE
 Include backtrace information with each allocated block. More...
 
#define MBEDTLS_RSA_NO_CRT
 Do not use the Chinese Remainder Theorem for the RSA private operation. More...
 
#define MBEDTLS_SHA256_SMALLER
 Enable an implementation of SHA-256 that has lower ROM footprint but also lower performance. More...
 
#define MBEDTLS_SSL_AEAD_RANDOM_IV
 Generate a random IV rather than using the record sequence number as a nonce for ciphersuites using and AEAD algorithm (GCM or CCM). More...
 
#define MBEDTLS_SSL_DEBUG_ALL
 Enable the debug messages in SSL module for all issues. More...
 
#define MBEDTLS_SSL_HW_RECORD_ACCEL
 Enable hooking functions in SSL module for hardware acceleration of individual records. More...
 
#define MBEDTLS_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO
 Enable support for receiving and parsing SSLv2 Client Hello messages for the SSL Server module (MBEDTLS_SSL_SRV_C). More...
 
#define MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE
 Pick the ciphersuite according to the client's preferences rather than ours in the SSL Server module (MBEDTLS_SSL_SRV_C). More...
 
#define MBEDTLS_THREADING_ALT
 Provide your own alternate threading implementation. More...
 
#define MBEDTLS_THREADING_PTHREAD
 Enable the pthread wrapper layer for the threading layer. More...
 
#define MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3
 If set, the X509 parser will not break-off when parsing an X509 certificate and encountering an extension in a v1 or v2 certificate. More...
 
#define MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
 If set, the X509 parser will not break-off when parsing an X509 certificate and encountering an unknown critical extension. More...
 
#define MBEDTLS_ZLIB_SUPPORT
 If set, the SSL/TLS module uses ZLIB to support compression and decompression of packet data. More...
 
SECTION: mbed TLS modules

This section enables or disables entire modules in mbed TLS

#define MBEDTLS_ECJPAKE_C
 Enable the elliptic curve J-PAKE library. More...
 
#define MBEDTLS_HAVEGE_C
 Enable the HAVEGE random generator. More...
 
#define MBEDTLS_MD2_C
 Enable the MD2 hash algorithm. More...
 
#define MBEDTLS_MD4_C
 Enable the MD4 hash algorithm. More...
 
#define MBEDTLS_MEMORY_BUFFER_ALLOC_C
 Enable the buffer allocator implementation that makes use of a (stack) based buffer to 'allocate' dynamic memory. More...
 
#define MBEDTLS_PKCS11_C
 Enable wrapper for PKCS#11 smartcard support. More...
 
#define MBEDTLS_THREADING_C
 Enable the threading abstraction layer. More...
 

Macro Definition Documentation

#define MBEDTLS_INCLUDE_ASYNCH_API

Definition at line 13 of file doxydoc_mbedtls_defines.h.

#define MBEDTLS_TRNG_C

Definition at line 17 of file doxydoc_mbedtls_defines.h.