MBEDTLS_SHA384_C macro
\def MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT Enable acceleration of the SHA-256 and SHA-224 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_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT cannot be defined at the same time as MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY. Requires: MBEDTLS_SHA256_C. Module: library/sha256.c Uncomment to have the library check for the Armv8-A SHA-256 crypto extensions and use them if available. \def MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT \deprecated This is now known as MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT. This name is now deprecated, but may still be used as an alternative form for this option. \def MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY Enable acceleration of the SHA-256 and SHA-224 cryptographic hash algorithms with the ARMv8 cryptographic extensions, which must be available at runtime or else an illegal instruction fault will occur. \warning MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY cannot be defined at the same time as MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT. Requires: MBEDTLS_SHA256_C. Module: library/sha256.c Uncomment to have the library use the Armv8-A SHA-256 crypto extensions unconditionally. \def MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY \deprecated This is now known as MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY. This name is now deprecated, but may still be used as an alternative form for this option. \def MBEDTLS_SHA384_C Enable the SHA-384 cryptographic hash algorithm. Module: library/sha512.c Caller: library/md.c library/psa_crypto_hash.c library/ssl_tls.c library/ssl*_client.c library/ssl*_server.c Comment to disable SHA-384
Notes
If MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT is defined when building for a non-Armv8-A build it will be silently ignored. Minimum compiler versions for this feature are Clang 4.0, armclang 6.6 or GCC 6.0. \c CFLAGS must be set to a minimum of \c -march=armv8-a+crypto for armclang <= 6.9 This was previously known as MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT. That name is deprecated, but may still be used as an alternative form for this option. This allows builds with a smaller code size than with MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT Minimum compiler versions for this feature are Clang 4.0, armclang 6.6 or GCC 6.0. \c CFLAGS must be set to a minimum of \c -march=armv8-a+crypto for armclang <= 6.9 This was previously known as MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY. That name is deprecated, but may still be used as an alternative form for this option.