mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 06:35:08 +00:00
TinyCrypt Test: Force use of Secp256r1 CRTs and Keys in all.sh test
This commit uses the flexibility of being able to chose CRTs and keys to be used by compat.sh through predefined environment variables to force the use of Secp256r1 certificates and keys in the all.sh test for TinyCrypt.
This commit is contained in:
parent
70c7373f81
commit
7c2cd3e9d3
|
@ -1418,6 +1418,12 @@ component_test_default_tinycrypt_without_legacy_ecc () {
|
|||
msg "test: default config with tinycrypt enabled and legacy ECC disabled"
|
||||
make test
|
||||
if_build_succeeded tests/ssl-opt.sh -f "^Default, DTLS$"
|
||||
|
||||
export SRV_ECDSA_CRT=data_files/server11.crt.pem
|
||||
export SRV_ECDSA_KEY=data_files/server11.key.pem
|
||||
export CLI_ECDSA_CRT=data_files/cli3.crt.pem
|
||||
export CLI_ECDSA_KEY=data_files/cli3.key.pem
|
||||
export CA_FILE=data_files/test-ca3.crt.pem
|
||||
if_build_succeeded tests/compat.sh -m 'dtls1_2' -f 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA\|+ECDHE-ECDSA:+AES-256-CBC:+SHA1\|ECDHE-ECDSA-AES256-SHA' -e 'SHA384'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue