mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 00:35:50 +01:00
Merge pull request #4194 from daverodgman/test_nondet_ecdsa_backport_2.7
Test SSL with non-deterministic ECDSA
This commit is contained in:
commit
aa616ac0e4
@ -886,11 +886,21 @@ component_test_no_hmac_drbg () {
|
|||||||
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
||||||
make
|
make
|
||||||
|
|
||||||
msg "test: no HMAC_DRBG"
|
msg "test: Full minus HMAC_DRBG - main suites"
|
||||||
make test
|
make test
|
||||||
|
|
||||||
# No ssl-opt.sh/compat.sh as they never use HMAC_DRBG so far,
|
# Normally our ECDSA implementation uses deterministic ECDSA. But since
|
||||||
# so there's little value in running those lengthy tests here.
|
# HMAC_DRBG is disabled in this configuration, randomized ECDSA is used
|
||||||
|
# instead.
|
||||||
|
# Test SSL with non-deterministic ECDSA. Only test features that
|
||||||
|
# might be affected by how ECDSA signature is performed.
|
||||||
|
msg "test: Full minus HMAC_DRBG - ssl-opt.sh (subset)"
|
||||||
|
if_build_succeeded tests/ssl-opt.sh -f 'Default\|SSL async private: sign'
|
||||||
|
|
||||||
|
# To save time, only test one protocol version, since this part of
|
||||||
|
# the protocol is identical in (D)TLS up to 1.2.
|
||||||
|
msg "test: Full minus HMAC_DRBG - compat.sh (ECDSA)"
|
||||||
|
if_build_succeeded tests/compat.sh -m tls1_2 -t 'ECDSA'
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_no_drbg_all_hashes () {
|
component_test_no_drbg_all_hashes () {
|
||||||
|
Loading…
Reference in New Issue
Block a user