mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-27 15:35:50 +00:00
all.sh: enable ssl-opt testing in psa_crypto_config_[accel/reference]_cipher_aead
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
7d7ce0e66a
commit
f941455e3b
@ -3641,7 +3641,7 @@ common_psa_crypto_config_accel_cipher_aead() {
|
|||||||
# are meant to be used together in analyze_outcomes.py script in order to test
|
# are meant to be used together in analyze_outcomes.py script in order to test
|
||||||
# driver's coverage for ciphers and AEADs.
|
# driver's coverage for ciphers and AEADs.
|
||||||
component_test_psa_crypto_config_accel_cipher_aead () {
|
component_test_psa_crypto_config_accel_cipher_aead () {
|
||||||
msg "test: crypto config with accelerated cipher and AEAD"
|
msg "build: crypto config with accelerated cipher and AEAD"
|
||||||
|
|
||||||
loc_accel_list="ALG_ECB_NO_PADDING ALG_CBC_NO_PADDING ALG_CBC_PKCS7 ALG_CTR ALG_CFB \
|
loc_accel_list="ALG_ECB_NO_PADDING ALG_CBC_NO_PADDING ALG_CBC_PKCS7 ALG_CTR ALG_CFB \
|
||||||
ALG_OFB ALG_XTS ALG_STREAM_CIPHER \
|
ALG_OFB ALG_XTS ALG_STREAM_CIPHER \
|
||||||
@ -3687,18 +3687,29 @@ component_test_psa_crypto_config_accel_cipher_aead () {
|
|||||||
not grep mbedtls_chachapoly library/chachapoly.o
|
not grep mbedtls_chachapoly library/chachapoly.o
|
||||||
not grep mbedtls_cmac library/cmac.o
|
not grep mbedtls_cmac library/cmac.o
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
# Run the tests
|
# Run the tests
|
||||||
# -------------
|
# -------------
|
||||||
|
|
||||||
msg "test: crypto config with accelerated cipher and AEAD"
|
msg "test: crypto config with accelerated cipher and AEAD"
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
msg "ssl-opt: crypto config with accelerated cipher and AEAD"
|
||||||
|
tests/ssl-opt.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_psa_crypto_config_reference_cipher_aead () {
|
component_test_psa_crypto_config_reference_cipher_aead () {
|
||||||
|
msg "build: crypto config with non-accelerated cipher and AEAD"
|
||||||
common_psa_crypto_config_accel_cipher_aead
|
common_psa_crypto_config_accel_cipher_aead
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
msg "test: crypto config with non-accelerated cipher and AEAD"
|
msg "test: crypto config with non-accelerated cipher and AEAD"
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
msg "ssl-opt: crypto config with non-accelerated cipher and AEAD"
|
||||||
|
tests/ssl-opt.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_aead_chachapoly_disabled() {
|
component_test_aead_chachapoly_disabled() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user