mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-15 23:42:41 +00:00
test_suite_psa_crypto_util: add test with 0-length s
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
252311d41e
commit
efcc555002
@ -74,6 +74,10 @@ ECDSA DER -> Raw, 256bit, Invalid r (0-length)
|
||||
depends_on:PSA_WANT_ECC_SECP_K1_256
|
||||
ecdsa_der_to_raw:256:"3025020002202222222222222222222222222222222222222222222222222222222222222222":"11111111111111111111111111111111111111111111111111111111111111112222222222222222222222222222222222222222222222222222222222222222":MBEDTLS_ERR_ASN1_OUT_OF_DATA
|
||||
|
||||
ECDSA DER -> Raw, 256bit, Invalid s (0-length)
|
||||
depends_on:PSA_WANT_ECC_SECP_K1_256
|
||||
ecdsa_der_to_raw:256:"3044022011111111111111111111111111111111111111111111111111111111111111110200":"11111111111111111111111111111111111111111111111111111111111111112222222222222222222222222222222222222222222222222222222222222222":MBEDTLS_ERR_ASN1_OUT_OF_DATA
|
||||
|
||||
# 512/521 bit sizes are useful to test sequence's length encoded with 2 bytes.
|
||||
ECDSA Raw -> DER, 512bit, Success
|
||||
depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_512
|
||||
|
Loading…
x
Reference in New Issue
Block a user