Re-add the HMAC_DRBG and CTR_DRBG are cryptographic modules as they are still required

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
Ben Taylor
2026-01-06 13:30:04 +00:00
parent 79002cc990
commit 552f31410c

View File

@@ -9,6 +9,8 @@
#include "mbedtls/build_info.h" #include "mbedtls/build_info.h"
#include "mbedtls/private/hmac_drbg.h"
#include "mbedtls/private/ctr_drbg.h"
#include "mbedtls/private/gcm.h" #include "mbedtls/private/gcm.h"
#include "mbedtls/private/ccm.h" #include "mbedtls/private/ccm.h"
#include "mbedtls/private/cmac.h" #include "mbedtls/private/cmac.h"
@@ -283,6 +285,12 @@ const selftest_t selftests[] =
#if defined(MBEDTLS_ARIA_C) #if defined(MBEDTLS_ARIA_C)
{ "aria", mbedtls_aria_self_test }, { "aria", mbedtls_aria_self_test },
#endif #endif
#if defined(MBEDTLS_CTR_DRBG_C)
{ "ctr_drbg", mbedtls_ctr_drbg_self_test },
#endif
#if defined(MBEDTLS_HMAC_DRBG_C)
{ "hmac_drbg", mbedtls_hmac_drbg_self_test },
#endif
#if defined(MBEDTLS_ECP_C) #if defined(MBEDTLS_ECP_C)
{ "ecp", mbedtls_ecp_self_test }, { "ecp", mbedtls_ecp_self_test },
#endif #endif