From 46a295422df3cb510f6f2e883dd774e99affe84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 5 Jul 2022 13:13:23 +0200 Subject: [PATCH] Build and test RSA PKCS#1v1.5 without MD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- include/mbedtls/check_config.h | 4 ---- tests/scripts/all.sh | 2 -- 2 files changed, 6 deletions(-) diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h index 7582daad37..605f11a440 100644 --- a/include/mbedtls/check_config.h +++ b/include/mbedtls/check_config.h @@ -162,10 +162,6 @@ #error "MBEDTLS_PKCS12_C defined, but not all prerequisites" #endif -#if defined(MBEDTLS_PKCS1_V15) && !defined(MBEDTLS_MD_C) -#error "MBEDTLS_PKCS1_V15 defined, but not all prerequisites" -#endif - #if defined(MBEDTLS_PKCS1_V21) && !defined(MBEDTLS_MD_C) #error "MBEDTLS_PKCS1_V21 defined, but not all prerequisites" #endif diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 64290634c0..fbb7e2af4b 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1211,13 +1211,11 @@ component_test_crypto_full_no_md () { scripts/config.py unset MBEDTLS_ECJPAKE_C scripts/config.py unset MBEDTLS_HKDF_C scripts/config.py unset MBEDTLS_HMAC_DRBG_C - scripts/config.py unset MBEDTLS_PKCS1_V15 scripts/config.py unset MBEDTLS_PKCS1_V21 scripts/config.py unset MBEDTLS_PKCS5_C scripts/config.py unset MBEDTLS_PKCS12_C # Indirect dependencies scripts/config.py unset MBEDTLS_ECDSA_DETERMINISTIC - scripts/config.py unset MBEDTLS_RSA_C make msg "test: crypto_full minus MD"