2018-02-08 18:04:43 +00:00
|
|
|
/*
|
|
|
|
* Version feature information
|
|
|
|
*
|
2020-09-05 10:53:20 +00:00
|
|
|
* Copyright The Mbed TLS Contributors
|
2024-01-30 13:09:13 +00:00
|
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
2018-02-08 18:04:43 +00:00
|
|
|
*/
|
|
|
|
|
2021-12-21 11:54:05 +00:00
|
|
|
#include "common.h"
|
2018-02-08 18:04:43 +00:00
|
|
|
|
|
|
|
#if defined(MBEDTLS_VERSION_C)
|
|
|
|
|
|
|
|
#include "mbedtls/version.h"
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
2021-12-21 11:54:05 +00:00
|
|
|
static const char * const features[] = {
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_VERSION_FEATURES)
|
2023-04-18 08:38:24 +00:00
|
|
|
#if defined(MBEDTLS_HAVE_ASM)
|
2023-09-25 03:04:06 +00:00
|
|
|
"HAVE_ASM", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_HAVE_ASM */
|
|
|
|
#if defined(MBEDTLS_NO_UDBL_DIVISION)
|
2023-09-25 03:04:06 +00:00
|
|
|
"NO_UDBL_DIVISION", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_NO_UDBL_DIVISION */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_NO_64BIT_MULTIPLICATION)
|
2023-09-25 03:04:06 +00:00
|
|
|
"NO_64BIT_MULTIPLICATION", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_NO_64BIT_MULTIPLICATION */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_HAVE_SSE2)
|
2023-09-25 03:04:06 +00:00
|
|
|
"HAVE_SSE2", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_HAVE_SSE2 */
|
|
|
|
#if defined(MBEDTLS_HAVE_TIME)
|
2023-09-25 03:04:06 +00:00
|
|
|
"HAVE_TIME", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_HAVE_TIME */
|
|
|
|
#if defined(MBEDTLS_HAVE_TIME_DATE)
|
2023-09-25 03:04:06 +00:00
|
|
|
"HAVE_TIME_DATE", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_HAVE_TIME_DATE */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_MEMORY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_MEMORY", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_MEMORY */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_NO_STD_FUNCTIONS", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_PLATFORM_SETBUF_ALT)
|
|
|
|
"PLATFORM_SETBUF_ALT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_PLATFORM_SETBUF_ALT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_PLATFORM_EXIT_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_EXIT_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_EXIT_ALT */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_TIME_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_TIME_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_TIME_ALT */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_FPRINTF_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_FPRINTF_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_FPRINTF_ALT */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_PRINTF_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_PRINTF_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_PRINTF_ALT */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_SNPRINTF_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_SNPRINTF_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_PLATFORM_VSNPRINTF_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_VSNPRINTF_ALT", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_VSNPRINTF_ALT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_NV_SEED_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_NV_SEED_ALT */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_SETUP_TEARDOWN_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_PLATFORM_MS_TIME_ALT)
|
|
|
|
"PLATFORM_MS_TIME_ALT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_PLATFORM_MS_TIME_ALT */
|
2023-10-21 12:06:23 +00:00
|
|
|
#if defined(MBEDTLS_PLATFORM_GMTIME_R_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_GMTIME_R_ALT", //no-check-names
|
2023-10-21 12:06:23 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_GMTIME_R_ALT */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_ZEROIZE_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_ZEROIZE_ALT", //no-check-names
|
2023-10-21 12:06:23 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_ZEROIZE_ALT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DEPRECATED_WARNING", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DEPRECATED_WARNING */
|
|
|
|
#if defined(MBEDTLS_DEPRECATED_REMOVED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DEPRECATED_REMOVED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DEPRECATED_REMOVED */
|
|
|
|
#if defined(MBEDTLS_TIMING_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"TIMING_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_TIMING_ALT */
|
|
|
|
#if defined(MBEDTLS_AES_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AES_ALT */
|
2018-06-07 14:25:01 +00:00
|
|
|
#if defined(MBEDTLS_ARIA_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ARIA_ALT", //no-check-names
|
2018-06-07 14:25:01 +00:00
|
|
|
#endif /* MBEDTLS_ARIA_ALT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_CAMELLIA_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CAMELLIA_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CAMELLIA_ALT */
|
|
|
|
#if defined(MBEDTLS_CCM_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CCM_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CCM_ALT */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_CHACHA20_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CHACHA20_ALT", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_CHACHA20_ALT */
|
|
|
|
#if defined(MBEDTLS_CHACHAPOLY_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CHACHAPOLY_ALT", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_CHACHAPOLY_ALT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_CMAC_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CMAC_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CMAC_ALT */
|
|
|
|
#if defined(MBEDTLS_DES_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DES_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DES_ALT */
|
|
|
|
#if defined(MBEDTLS_DHM_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DHM_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DHM_ALT */
|
|
|
|
#if defined(MBEDTLS_ECJPAKE_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECJPAKE_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECJPAKE_ALT */
|
|
|
|
#if defined(MBEDTLS_GCM_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"GCM_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_GCM_ALT */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_NIST_KW_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"NIST_KW_ALT", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_NIST_KW_ALT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_MD5_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"MD5_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_MD5_ALT */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_POLY1305_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"POLY1305_ALT", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_POLY1305_ALT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_RIPEMD160_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"RIPEMD160_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_RIPEMD160_ALT */
|
|
|
|
#if defined(MBEDTLS_RSA_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"RSA_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_RSA_ALT */
|
|
|
|
#if defined(MBEDTLS_SHA1_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA1_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA1_ALT */
|
|
|
|
#if defined(MBEDTLS_SHA256_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA256_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA256_ALT */
|
|
|
|
#if defined(MBEDTLS_SHA512_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA512_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA512_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_ALT */
|
|
|
|
#if defined(MBEDTLS_MD5_PROCESS_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"MD5_PROCESS_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_MD5_PROCESS_ALT */
|
|
|
|
#if defined(MBEDTLS_RIPEMD160_PROCESS_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"RIPEMD160_PROCESS_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_RIPEMD160_PROCESS_ALT */
|
|
|
|
#if defined(MBEDTLS_SHA1_PROCESS_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA1_PROCESS_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA1_PROCESS_ALT */
|
|
|
|
#if defined(MBEDTLS_SHA256_PROCESS_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA256_PROCESS_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA256_PROCESS_ALT */
|
|
|
|
#if defined(MBEDTLS_SHA512_PROCESS_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA512_PROCESS_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA512_PROCESS_ALT */
|
|
|
|
#if defined(MBEDTLS_DES_SETKEY_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DES_SETKEY_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DES_SETKEY_ALT */
|
|
|
|
#if defined(MBEDTLS_DES_CRYPT_ECB_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DES_CRYPT_ECB_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DES_CRYPT_ECB_ALT */
|
|
|
|
#if defined(MBEDTLS_DES3_CRYPT_ECB_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DES3_CRYPT_ECB_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DES3_CRYPT_ECB_ALT */
|
|
|
|
#if defined(MBEDTLS_AES_SETKEY_ENC_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_SETKEY_ENC_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AES_SETKEY_ENC_ALT */
|
|
|
|
#if defined(MBEDTLS_AES_SETKEY_DEC_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_SETKEY_DEC_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AES_SETKEY_DEC_ALT */
|
|
|
|
#if defined(MBEDTLS_AES_ENCRYPT_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_ENCRYPT_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AES_ENCRYPT_ALT */
|
|
|
|
#if defined(MBEDTLS_AES_DECRYPT_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_DECRYPT_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AES_DECRYPT_ALT */
|
|
|
|
#if defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDH_GEN_PUBLIC_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDH_GEN_PUBLIC_ALT */
|
|
|
|
#if defined(MBEDTLS_ECDH_COMPUTE_SHARED_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDH_COMPUTE_SHARED_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDH_COMPUTE_SHARED_ALT */
|
|
|
|
#if defined(MBEDTLS_ECDSA_VERIFY_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDSA_VERIFY_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDSA_VERIFY_ALT */
|
|
|
|
#if defined(MBEDTLS_ECDSA_SIGN_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDSA_SIGN_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDSA_SIGN_ALT */
|
|
|
|
#if defined(MBEDTLS_ECDSA_GENKEY_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDSA_GENKEY_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDSA_GENKEY_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_INTERNAL_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_INTERNAL_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_INTERNAL_ALT */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_ECP_NO_FALLBACK)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_NO_FALLBACK", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_ECP_NO_FALLBACK */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_ECP_RANDOMIZE_JAC_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_RANDOMIZE_JAC_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_RANDOMIZE_JAC_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_ADD_MIXED_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_ADD_MIXED_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_ADD_MIXED_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_DOUBLE_JAC_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DOUBLE_JAC_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DOUBLE_JAC_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_NORMALIZE_JAC_MANY_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_NORMALIZE_JAC_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_NORMALIZE_JAC_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_NORMALIZE_JAC_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DOUBLE_ADD_MXZ_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_RANDOMIZE_MXZ_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_RANDOMIZE_MXZ_ALT */
|
|
|
|
#if defined(MBEDTLS_ECP_NORMALIZE_MXZ_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_NORMALIZE_MXZ_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_NORMALIZE_MXZ_ALT */
|
|
|
|
#if defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ENTROPY_HARDWARE_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ENTROPY_HARDWARE_ALT */
|
|
|
|
#if defined(MBEDTLS_AES_ROM_TABLES)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_ROM_TABLES", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AES_ROM_TABLES */
|
2018-06-07 14:25:01 +00:00
|
|
|
#if defined(MBEDTLS_AES_FEWER_TABLES)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_FEWER_TABLES", //no-check-names
|
2018-06-07 14:25:01 +00:00
|
|
|
#endif /* MBEDTLS_AES_FEWER_TABLES */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH)
|
|
|
|
"AES_ONLY_128_BIT_KEY_LENGTH", //no-check-names
|
|
|
|
#endif /* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH */
|
|
|
|
#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
|
|
|
|
"AES_USE_HARDWARE_ONLY", //no-check-names
|
|
|
|
#endif /* MBEDTLS_AES_USE_HARDWARE_ONLY */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_CAMELLIA_SMALL_MEMORY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CAMELLIA_SMALL_MEMORY", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CAMELLIA_SMALL_MEMORY */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_CHECK_RETURN_WARNING)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CHECK_RETURN_WARNING", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_CHECK_RETURN_WARNING */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_MODE_CBC", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_MODE_CBC */
|
|
|
|
#if defined(MBEDTLS_CIPHER_MODE_CFB)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_MODE_CFB", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_MODE_CFB */
|
|
|
|
#if defined(MBEDTLS_CIPHER_MODE_CTR)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_MODE_CTR", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_MODE_CTR */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_CIPHER_MODE_OFB)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_MODE_OFB", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_MODE_OFB */
|
|
|
|
#if defined(MBEDTLS_CIPHER_MODE_XTS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_MODE_XTS", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_MODE_XTS */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_CIPHER_NULL_CIPHER)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_NULL_CIPHER", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_NULL_CIPHER */
|
|
|
|
#if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_PADDING_PKCS7", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
|
|
|
|
#if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_PADDING_ONE_AND_ZEROS", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
|
|
|
|
#if defined(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_PADDING_ZEROS_AND_LEN", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
|
|
|
|
#if defined(MBEDTLS_CIPHER_PADDING_ZEROS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_PADDING_ZEROS", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
|
2020-01-26 17:06:09 +00:00
|
|
|
#if defined(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CTR_DRBG_USE_128_BIT_KEY", //no-check-names
|
2020-01-26 17:06:09 +00:00
|
|
|
#endif /* MBEDTLS_CTR_DRBG_USE_128_BIT_KEY */
|
2023-10-21 12:06:23 +00:00
|
|
|
#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDH_VARIANT_EVEREST_ENABLED", //no-check-names
|
2023-10-21 12:06:23 +00:00
|
|
|
#endif /* MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP192R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP192R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP224R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP224R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP256R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP256R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP384R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP384R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP521R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP521R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP192K1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP192K1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP224K1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP224K1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_SECP256K1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_SECP256K1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_BP256R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_BP256R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_BP384R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_BP384R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_BP512R1_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_BP512R1_ENABLED */
|
|
|
|
#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_CURVE25519_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_CURVE25519_ENABLED */
|
2018-06-07 14:25:01 +00:00
|
|
|
#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_DP_CURVE448_ENABLED", //no-check-names
|
2018-06-07 14:25:01 +00:00
|
|
|
#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_ECP_NIST_OPTIM)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_NIST_OPTIM", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_NIST_OPTIM */
|
2019-02-16 16:19:46 +00:00
|
|
|
#if defined(MBEDTLS_ECP_RESTARTABLE)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_RESTARTABLE", //no-check-names
|
2019-02-16 16:19:46 +00:00
|
|
|
#endif /* MBEDTLS_ECP_RESTARTABLE */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_ECP_WITH_MPI_UINT)
|
|
|
|
"ECP_WITH_MPI_UINT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_ECP_WITH_MPI_UINT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_ECDSA_DETERMINISTIC)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDSA_DETERMINISTIC", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDSA_DETERMINISTIC */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_PSK_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_PSK_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_DHE_PSK_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_ECDHE_PSK_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_RSA_PSK_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_RSA_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_RSA_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_DHE_RSA_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_ECDHE_RSA_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_ECDHE_ECDSA_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_ECDH_ECDSA_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_ECDH_RSA_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED */
|
|
|
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"KEY_EXCHANGE_ECJPAKE_ENABLED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED */
|
|
|
|
#if defined(MBEDTLS_PK_PARSE_EC_EXTENDED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PK_PARSE_EC_EXTENDED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PK_PARSE_EC_EXTENDED */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_PK_PARSE_EC_COMPRESSED)
|
|
|
|
"PK_PARSE_EC_COMPRESSED", //no-check-names
|
|
|
|
#endif /* MBEDTLS_PK_PARSE_EC_COMPRESSED */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_ERROR_STRERROR_DUMMY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ERROR_STRERROR_DUMMY", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ERROR_STRERROR_DUMMY */
|
|
|
|
#if defined(MBEDTLS_GENPRIME)
|
2023-09-25 03:04:06 +00:00
|
|
|
"GENPRIME", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_GENPRIME */
|
|
|
|
#if defined(MBEDTLS_FS_IO)
|
2023-09-25 03:04:06 +00:00
|
|
|
"FS_IO", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_FS_IO */
|
|
|
|
#if defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES)
|
2023-09-25 03:04:06 +00:00
|
|
|
"NO_DEFAULT_ENTROPY_SOURCES", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES */
|
|
|
|
#if defined(MBEDTLS_NO_PLATFORM_ENTROPY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"NO_PLATFORM_ENTROPY", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_NO_PLATFORM_ENTROPY */
|
|
|
|
#if defined(MBEDTLS_ENTROPY_FORCE_SHA256)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ENTROPY_FORCE_SHA256", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ENTROPY_FORCE_SHA256 */
|
|
|
|
#if defined(MBEDTLS_ENTROPY_NV_SEED)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ENTROPY_NV_SEED", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ENTROPY_NV_SEED */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_KEY_ID_ENCODES_OWNER", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_MEMORY_DEBUG)
|
2023-09-25 03:04:06 +00:00
|
|
|
"MEMORY_DEBUG", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_MEMORY_DEBUG */
|
|
|
|
#if defined(MBEDTLS_MEMORY_BACKTRACE)
|
2023-09-25 03:04:06 +00:00
|
|
|
"MEMORY_BACKTRACE", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_MEMORY_BACKTRACE */
|
|
|
|
#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PK_RSA_ALT_SUPPORT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */
|
|
|
|
#if defined(MBEDTLS_PKCS1_V15)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PKCS1_V15", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PKCS1_V15 */
|
|
|
|
#if defined(MBEDTLS_PKCS1_V21)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PKCS1_V21", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PKCS1_V21 */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_BUILTIN_KEYS", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */
|
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_CLIENT", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */
|
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_EXTERNAL_RNG", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG */
|
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_SPM)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_SPM", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_SPM */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)
|
|
|
|
"PSA_P256M_DRIVER_ENABLED", //no-check-names
|
|
|
|
#endif /* MBEDTLS_PSA_P256M_DRIVER_ENABLED */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_PSA_INJECT_ENTROPY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_INJECT_ENTROPY", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_INJECT_ENTROPY */
|
2024-04-04 16:05:30 +00:00
|
|
|
#if defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_ASSUME_EXCLUSIVE_BUFFERS", //no-check-names
|
2024-04-04 16:05:30 +00:00
|
|
|
#endif /* MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_RSA_NO_CRT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"RSA_NO_CRT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_RSA_NO_CRT */
|
|
|
|
#if defined(MBEDTLS_SELF_TEST)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SELF_TEST", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SELF_TEST */
|
|
|
|
#if defined(MBEDTLS_SHA256_SMALLER)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA256_SMALLER", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA256_SMALLER */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_SHA512_SMALLER)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA512_SMALLER", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_SHA512_SMALLER */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SSL_ALL_ALERT_MESSAGES)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_ALL_ALERT_MESSAGES", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_ALL_ALERT_MESSAGES */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_DTLS_CONNECTION_ID", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT)
|
|
|
|
"SSL_DTLS_CONNECTION_ID_COMPAT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_SSL_ASYNC_PRIVATE)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_ASYNC_PRIVATE", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_CONTEXT_SERIALIZATION", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_SSL_CONTEXT_SERIALIZATION */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SSL_DEBUG_ALL)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_DEBUG_ALL", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_DEBUG_ALL */
|
|
|
|
#if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_ENCRYPT_THEN_MAC", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_ENCRYPT_THEN_MAC */
|
|
|
|
#if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_EXTENDED_MASTER_SECRET", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_KEEP_PEER_CERTIFICATE", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SSL_RENEGOTIATION)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_RENEGOTIATION", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_RENEGOTIATION */
|
|
|
|
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_MAX_FRAGMENT_LENGTH", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
|
|
|
|
"SSL_RECORD_SIZE_LIMIT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_RECORD_SIZE_LIMIT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_2)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_PROTO_TLS1_2", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_2 */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
|
|
|
"SSL_PROTO_TLS1_3", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
|
|
|
|
#if defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE)
|
|
|
|
"SSL_TLS1_3_COMPATIBILITY_MODE", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE */
|
|
|
|
#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED)
|
|
|
|
"SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED */
|
|
|
|
#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED)
|
|
|
|
"SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED */
|
|
|
|
#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED)
|
|
|
|
"SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED */
|
|
|
|
#if defined(MBEDTLS_SSL_EARLY_DATA)
|
|
|
|
"SSL_EARLY_DATA", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SSL_EARLY_DATA */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SSL_PROTO_DTLS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_PROTO_DTLS", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_PROTO_DTLS */
|
|
|
|
#if defined(MBEDTLS_SSL_ALPN)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_ALPN", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_ALPN */
|
|
|
|
#if defined(MBEDTLS_SSL_DTLS_ANTI_REPLAY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_DTLS_ANTI_REPLAY", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_DTLS_ANTI_REPLAY */
|
|
|
|
#if defined(MBEDTLS_SSL_DTLS_HELLO_VERIFY)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_DTLS_HELLO_VERIFY", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_SSL_DTLS_SRTP)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_DTLS_SRTP", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_SSL_DTLS_SRTP */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_DTLS_CLIENT_PORT_REUSE", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE */
|
|
|
|
#if defined(MBEDTLS_SSL_SESSION_TICKETS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_SESSION_TICKETS", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_SESSION_TICKETS */
|
|
|
|
#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_SERVER_NAME_INDICATION", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_SERVER_NAME_INDICATION */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_VARIABLE_BUFFER_LENGTH", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH */
|
|
|
|
#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN)
|
2023-09-25 03:04:06 +00:00
|
|
|
"TEST_CONSTANT_FLOW_MEMSAN", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN */
|
|
|
|
#if defined(MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND)
|
2023-09-25 03:04:06 +00:00
|
|
|
"TEST_CONSTANT_FLOW_VALGRIND", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND */
|
2021-03-12 17:27:58 +00:00
|
|
|
#if defined(MBEDTLS_TEST_HOOKS)
|
2023-09-25 03:04:06 +00:00
|
|
|
"TEST_HOOKS", //no-check-names
|
2021-03-12 17:27:58 +00:00
|
|
|
#endif /* MBEDTLS_TEST_HOOKS */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_THREADING_ALT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"THREADING_ALT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_THREADING_ALT */
|
|
|
|
#if defined(MBEDTLS_THREADING_PTHREAD)
|
2023-09-25 03:04:06 +00:00
|
|
|
"THREADING_PTHREAD", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_THREADING_PTHREAD */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
2023-09-25 03:04:06 +00:00
|
|
|
"USE_PSA_CRYPTO", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_CONFIG", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_VERSION_FEATURES)
|
2023-09-25 03:04:06 +00:00
|
|
|
"VERSION_FEATURES", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_VERSION_FEATURES */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_TRUSTED_CERTIFICATE_CALLBACK", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_X509_REMOVE_INFO)
|
|
|
|
"X509_REMOVE_INFO", //no-check-names
|
|
|
|
#endif /* MBEDTLS_X509_REMOVE_INFO */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_RSASSA_PSS_SUPPORT", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_RSASSA_PSS_SUPPORT */
|
|
|
|
#if defined(MBEDTLS_AESNI_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AESNI_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AESNI_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_AESCE_C)
|
|
|
|
"AESCE_C", //no-check-names
|
|
|
|
#endif /* MBEDTLS_AESCE_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_AES_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"AES_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_AES_C */
|
|
|
|
#if defined(MBEDTLS_ASN1_PARSE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ASN1_PARSE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ASN1_PARSE_C */
|
|
|
|
#if defined(MBEDTLS_ASN1_WRITE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ASN1_WRITE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ASN1_WRITE_C */
|
|
|
|
#if defined(MBEDTLS_BASE64_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"BASE64_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_BASE64_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT)
|
|
|
|
"BLOCK_CIPHER_NO_DECRYPT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_BLOCK_CIPHER_NO_DECRYPT */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_BIGNUM_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"BIGNUM_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_BIGNUM_C */
|
|
|
|
#if defined(MBEDTLS_CAMELLIA_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CAMELLIA_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CAMELLIA_C */
|
2018-06-07 14:25:01 +00:00
|
|
|
#if defined(MBEDTLS_ARIA_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ARIA_C", //no-check-names
|
2018-06-07 14:25:01 +00:00
|
|
|
#endif /* MBEDTLS_ARIA_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_CCM_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CCM_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CCM_C */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_CHACHA20_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CHACHA20_C", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_CHACHA20_C */
|
|
|
|
#if defined(MBEDTLS_CHACHAPOLY_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CHACHAPOLY_C", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_CHACHAPOLY_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_CIPHER_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CIPHER_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CIPHER_C */
|
|
|
|
#if defined(MBEDTLS_CMAC_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CMAC_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CMAC_C */
|
|
|
|
#if defined(MBEDTLS_CTR_DRBG_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"CTR_DRBG_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_CTR_DRBG_C */
|
|
|
|
#if defined(MBEDTLS_DEBUG_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DEBUG_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DEBUG_C */
|
|
|
|
#if defined(MBEDTLS_DES_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DES_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DES_C */
|
|
|
|
#if defined(MBEDTLS_DHM_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"DHM_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_DHM_C */
|
|
|
|
#if defined(MBEDTLS_ECDH_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDH_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDH_C */
|
|
|
|
#if defined(MBEDTLS_ECDSA_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECDSA_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECDSA_C */
|
|
|
|
#if defined(MBEDTLS_ECJPAKE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECJPAKE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECJPAKE_C */
|
|
|
|
#if defined(MBEDTLS_ECP_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ECP_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ECP_C */
|
|
|
|
#if defined(MBEDTLS_ENTROPY_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ENTROPY_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ENTROPY_C */
|
|
|
|
#if defined(MBEDTLS_ERROR_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"ERROR_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_ERROR_C */
|
|
|
|
#if defined(MBEDTLS_GCM_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"GCM_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_GCM_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_GCM_LARGE_TABLE)
|
|
|
|
"GCM_LARGE_TABLE", //no-check-names
|
|
|
|
#endif /* MBEDTLS_GCM_LARGE_TABLE */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_HKDF_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"HKDF_C", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_HKDF_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_HMAC_DRBG_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"HMAC_DRBG_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_HMAC_DRBG_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_LMS_C)
|
|
|
|
"LMS_C", //no-check-names
|
|
|
|
#endif /* MBEDTLS_LMS_C */
|
|
|
|
#if defined(MBEDTLS_LMS_PRIVATE)
|
|
|
|
"LMS_PRIVATE", //no-check-names
|
|
|
|
#endif /* MBEDTLS_LMS_PRIVATE */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_NIST_KW_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"NIST_KW_C", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_NIST_KW_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_MD_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"MD_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_MD_C */
|
|
|
|
#if defined(MBEDTLS_MD5_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"MD5_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_MD5_C */
|
|
|
|
#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"MEMORY_BUFFER_ALLOC_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_MEMORY_BUFFER_ALLOC_C */
|
|
|
|
#if defined(MBEDTLS_NET_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"NET_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_NET_C */
|
|
|
|
#if defined(MBEDTLS_OID_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"OID_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_OID_C */
|
|
|
|
#if defined(MBEDTLS_PADLOCK_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PADLOCK_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PADLOCK_C */
|
|
|
|
#if defined(MBEDTLS_PEM_PARSE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PEM_PARSE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PEM_PARSE_C */
|
|
|
|
#if defined(MBEDTLS_PEM_WRITE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PEM_WRITE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PEM_WRITE_C */
|
|
|
|
#if defined(MBEDTLS_PK_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PK_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PK_C */
|
|
|
|
#if defined(MBEDTLS_PK_PARSE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PK_PARSE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PK_PARSE_C */
|
|
|
|
#if defined(MBEDTLS_PK_WRITE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PK_WRITE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PK_WRITE_C */
|
|
|
|
#if defined(MBEDTLS_PKCS5_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PKCS5_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PKCS5_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_PKCS7_C)
|
|
|
|
"PKCS7_C", //no-check-names
|
|
|
|
#endif /* MBEDTLS_PKCS7_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_PKCS12_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PKCS12_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PKCS12_C */
|
|
|
|
#if defined(MBEDTLS_PLATFORM_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PLATFORM_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_PLATFORM_C */
|
2018-07-28 09:16:41 +00:00
|
|
|
#if defined(MBEDTLS_POLY1305_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"POLY1305_C", //no-check-names
|
2018-07-28 09:16:41 +00:00
|
|
|
#endif /* MBEDTLS_POLY1305_C */
|
2021-12-21 11:54:05 +00:00
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_C", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_C */
|
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_SE_C", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_CRYPTO_STORAGE_C", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_STORAGE_C */
|
|
|
|
#if defined(MBEDTLS_PSA_ITS_FILE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"PSA_ITS_FILE_C", //no-check-names
|
2021-12-21 11:54:05 +00:00
|
|
|
#endif /* MBEDTLS_PSA_ITS_FILE_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_RIPEMD160_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"RIPEMD160_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_RIPEMD160_C */
|
|
|
|
#if defined(MBEDTLS_RSA_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"RSA_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_RSA_C */
|
|
|
|
#if defined(MBEDTLS_SHA1_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA1_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA1_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_SHA224_C)
|
|
|
|
"SHA224_C", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA224_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SHA256_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA256_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA256_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT)
|
|
|
|
"SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT */
|
|
|
|
#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT)
|
|
|
|
"SHA256_USE_A64_CRYPTO_IF_PRESENT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT */
|
|
|
|
#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY)
|
|
|
|
"SHA256_USE_ARMV8_A_CRYPTO_ONLY", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY */
|
|
|
|
#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY)
|
|
|
|
"SHA256_USE_A64_CRYPTO_ONLY", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY */
|
|
|
|
#if defined(MBEDTLS_SHA384_C)
|
|
|
|
"SHA384_C", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA384_C */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SHA512_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SHA512_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SHA512_C */
|
2023-09-25 03:04:06 +00:00
|
|
|
#if defined(MBEDTLS_SHA3_C)
|
|
|
|
"SHA3_C", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA3_C */
|
|
|
|
#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT)
|
|
|
|
"SHA512_USE_A64_CRYPTO_IF_PRESENT", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT */
|
|
|
|
#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
|
|
|
|
"SHA512_USE_A64_CRYPTO_ONLY", //no-check-names
|
|
|
|
#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY */
|
2018-02-08 18:04:43 +00:00
|
|
|
#if defined(MBEDTLS_SSL_CACHE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_CACHE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_CACHE_C */
|
|
|
|
#if defined(MBEDTLS_SSL_COOKIE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_COOKIE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_COOKIE_C */
|
|
|
|
#if defined(MBEDTLS_SSL_TICKET_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_TICKET_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_TICKET_C */
|
|
|
|
#if defined(MBEDTLS_SSL_CLI_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_CLI_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_CLI_C */
|
|
|
|
#if defined(MBEDTLS_SSL_SRV_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_SRV_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_SRV_C */
|
|
|
|
#if defined(MBEDTLS_SSL_TLS_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"SSL_TLS_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_SSL_TLS_C */
|
|
|
|
#if defined(MBEDTLS_THREADING_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"THREADING_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_THREADING_C */
|
|
|
|
#if defined(MBEDTLS_TIMING_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"TIMING_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_TIMING_C */
|
|
|
|
#if defined(MBEDTLS_VERSION_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"VERSION_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_VERSION_C */
|
|
|
|
#if defined(MBEDTLS_X509_USE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_USE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_USE_C */
|
|
|
|
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_CRT_PARSE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
|
|
|
#if defined(MBEDTLS_X509_CRL_PARSE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_CRL_PARSE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_CRL_PARSE_C */
|
|
|
|
#if defined(MBEDTLS_X509_CSR_PARSE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_CSR_PARSE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_CSR_PARSE_C */
|
|
|
|
#if defined(MBEDTLS_X509_CREATE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_CREATE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_CREATE_C */
|
|
|
|
#if defined(MBEDTLS_X509_CRT_WRITE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_CRT_WRITE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_CRT_WRITE_C */
|
|
|
|
#if defined(MBEDTLS_X509_CSR_WRITE_C)
|
2023-09-25 03:04:06 +00:00
|
|
|
"X509_CSR_WRITE_C", //no-check-names
|
2018-02-08 18:04:43 +00:00
|
|
|
#endif /* MBEDTLS_X509_CSR_WRITE_C */
|
|
|
|
#endif /* MBEDTLS_VERSION_FEATURES */
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2023-04-18 08:38:24 +00:00
|
|
|
int mbedtls_version_check_feature(const char *feature)
|
2018-02-08 18:04:43 +00:00
|
|
|
{
|
2021-12-21 11:54:05 +00:00
|
|
|
const char * const *idx = features;
|
2018-02-08 18:04:43 +00:00
|
|
|
|
2023-04-18 08:38:24 +00:00
|
|
|
if (*idx == NULL) {
|
|
|
|
return -2;
|
|
|
|
}
|
2018-02-08 18:04:43 +00:00
|
|
|
|
2023-04-18 08:38:24 +00:00
|
|
|
if (feature == NULL) {
|
|
|
|
return -1;
|
|
|
|
}
|
2018-02-08 18:04:43 +00:00
|
|
|
|
2023-09-25 03:04:06 +00:00
|
|
|
if (strncmp(feature, "MBEDTLS_", 8)) {
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
feature += 8;
|
|
|
|
|
2023-04-18 08:38:24 +00:00
|
|
|
while (*idx != NULL) {
|
|
|
|
if (!strcmp(*idx, feature)) {
|
|
|
|
return 0;
|
|
|
|
}
|
2018-02-08 18:04:43 +00:00
|
|
|
idx++;
|
|
|
|
}
|
2023-04-18 08:38:24 +00:00
|
|
|
return -1;
|
2018-02-08 18:04:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* MBEDTLS_VERSION_C */
|