mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-27 06:35:22 +00:00
bbd0dc6cbd
Applied: sed -i -f use_psa_hash.sed tests/suites/test_suite_pk.* with use_psa_hash.sed as follows: s/MBEDTLS_MD5_C/MBEDTLS_USE_PSA_WANT_ALG_MD5/g s/MBEDTLS_RIPEMD160_C/MBEDTLS_USE_PSA_WANT_ALG_RIPEMD160/g s/MBEDTLS_SHA1_C/MBEDTLS_USE_PSA_WANT_ALG_SHA_1/g s/MBEDTLS_SHA224_C/MBEDTLS_USE_PSA_WANT_ALG_SHA_224/g s/MBEDTLS_SHA256_C/MBEDTLS_USE_PSA_WANT_ALG_SHA_256/g s/MBEDTLS_SHA384_C/MBEDTLS_USE_PSA_WANT_ALG_SHA_384/g s/MBEDTLS_SHA512_C/MBEDTLS_USE_PSA_WANT_ALG_SHA_512/g With this commit, test_suite_pk achieves parity between: - crypto_full minus PKCS#1v2.1 - same minus MD (from all.sh's test_crypto_full_no_md) and between: - default config plus use_psa minus PKCS#1v2.1 - same with accelerators (test_psa_crypto_config_accel_hash_use_psa) Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>