MBEDTLS_SSL_CACHE_C macro
\def MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT Enable acceleration of the SHA-512 and SHA-384 cryptographic hash algorithms with the ARMv8 cryptographic extensions if they are available at runtime. If not, the library will fall back to the C implementation. \warning MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT cannot be defined at the same time as MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY. Requires: MBEDTLS_SHA512_C. Module: library/sha512.c Uncomment to have the library check for the A64 SHA-512 crypto extensions and use them if available. \def MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY Enable acceleration of the SHA-512 and SHA-384 cryptographic hash algorithms with the ARMv8 cryptographic extensions, which must be available at runtime or else an illegal instruction fault will occur. \warning MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY cannot be defined at the same time as MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT. Requires: MBEDTLS_SHA512_C. Module: library/sha512.c Uncomment to have the library use the A64 SHA-512 crypto extensions unconditionally. \def MBEDTLS_SSL_CACHE_C Enable simple SSL cache implementation. Module: library/ssl_cache.c Caller: Requires: MBEDTLS_SSL_CACHE_C
Syntax
#define MBEDTLS_SSL_CACHE_C
Notes
If MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT is defined when building for a non-Aarch64 build it will be silently ignored. Minimum compiler versions for this feature are Clang 7.0, armclang 6.9 or GCC 8.0. \c CFLAGS must be set to a minimum of \c -march=armv8.2-a+sha3 for armclang 6.9 This allows builds with a smaller code size than with MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT Minimum compiler versions for this feature are Clang 7.0, armclang 6.9 or GCC 8.0. \c CFLAGS must be set to a minimum of \c -march=armv8.2-a+sha3 for armclang 6.9