mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Use PSA crypto config in test_sha3_variations
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -2309,9 +2309,21 @@ component_test_sha3_variations () {
|
|||||||
msg "sha3 loop unroll variations"
|
msg "sha3 loop unroll variations"
|
||||||
|
|
||||||
# define minimal config sufficient to test SHA3
|
# define minimal config sufficient to test SHA3
|
||||||
cat > include/mbedtls/mbedtls_config.h << END
|
cat > include/mbedtls/mbedtls_config.h << END
|
||||||
#define MBEDTLS_SELF_TEST
|
#define MBEDTLS_AES_C
|
||||||
#define MBEDTLS_SHA3_C
|
#define MBEDTLS_CTR_DRBG_C
|
||||||
|
#define MBEDTLS_ENTROPY_C
|
||||||
|
#define MBEDTLS_PSA_CRYPTO_C
|
||||||
|
#define MBEDTLS_PSA_CRYPTO_CONFIG
|
||||||
|
#define MBEDTLS_SELF_TEST
|
||||||
|
END
|
||||||
|
|
||||||
|
cat > tf-psa-crypto/include/psa/crypto_config.h << END
|
||||||
|
#define PSA_WANT_ALG_SHA_256 1
|
||||||
|
#define PSA_WANT_ALG_SHA3_224 1
|
||||||
|
#define PSA_WANT_ALG_SHA3_256 1
|
||||||
|
#define PSA_WANT_ALG_SHA3_384 1
|
||||||
|
#define PSA_WANT_ALG_SHA3_512 1
|
||||||
END
|
END
|
||||||
|
|
||||||
msg "all loops unrolled"
|
msg "all loops unrolled"
|
||||||
|
Reference in New Issue
Block a user