mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-10-18 16:08:54 +03:00
components-configuration-crypto.sh: Added setters for MBEDTLS_PSA_CRYPTO_RNG_HASH
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
@@ -2354,14 +2354,15 @@ component_test_block_cipher_no_decrypt_aesce_armcc () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
component_test_ctr_drbg_aes_256_sha_256 () {
|
component_test_ctr_drbg_aes_256_sha_256 () {
|
||||||
msg "build: full + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
|
msg "build: full + MBEDTLS_PSA_CRYPTO_RNG_HASH PSA_ALG_SHA_256 (ASan build)"
|
||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
scripts/config.py unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
|
scripts/config.py unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
|
||||||
scripts/config.py set MBEDTLS_ENTROPY_FORCE_SHA256
|
scripts/config.py set MBEDTLS_ENTROPY_FORCE_SHA256
|
||||||
|
scripts/config.py set MBEDTLS_PSA_CRYPTO_RNG_HASH PSA_ALG_SHA_256
|
||||||
CC=$ASAN_CC cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
CC=$ASAN_CC cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
||||||
make
|
make
|
||||||
|
|
||||||
msg "test: full + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
|
msg "test: full + MBEDTLS_PSA_CRYPTO_RNG_HASH PSA_ALG_SHA_256 (ASan build)"
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2378,15 +2379,16 @@ component_test_ctr_drbg_aes_128_sha_512 () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
component_test_ctr_drbg_aes_128_sha_256 () {
|
component_test_ctr_drbg_aes_128_sha_256 () {
|
||||||
msg "build: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
|
msg "build: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY + MBEDTLS_PSA_CRYPTO_RNG_HASH PSA_ALG_SHA_256 (ASan build)"
|
||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
scripts/config.py unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
|
scripts/config.py unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
|
||||||
scripts/config.py set MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
|
scripts/config.py set MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
|
||||||
scripts/config.py set MBEDTLS_ENTROPY_FORCE_SHA256
|
scripts/config.py set MBEDTLS_ENTROPY_FORCE_SHA256
|
||||||
|
scripts/config.py set MBEDTLS_PSA_CRYPTO_RNG_HASH PSA_ALG_SHA_256
|
||||||
CC=$ASAN_CC cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
CC=$ASAN_CC cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
||||||
make
|
make
|
||||||
|
|
||||||
msg "test: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
|
msg "test: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY + MBEDTLS_PSA_CRYPTO_RNG_HASH PSA_ALG_SHA_256 (ASan build)"
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user