mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 23:00:03 +08:00
- Mbed TLS only implements TLS 1.2 and DTLS 1.2 (not 1.0/1.1) and there RSA signatures are limited to PKCS#1 v1.5, so replace PSA_HAVE_ALG_SOME_RSA_SIGN with PSA_HAVE_ALG_RSA_PKCS1V15_SIGN. - move_handshake_to_state() sets options.pk_alg = MBEDTLS_PK_RSA, so some minimal support for RSA keys is always needed: at least an RSA public key. Stricter requirements only apply depending on the protocol version (TLS 1.2 vs 1.3) and on the handshake state reached by the test (ex: initial phase vs ending phase), so they are set per test case. - Test cases already requiring MBEDTLS_X509_RSASSA_PSS_SUPPORT don't need PSA_WANT_ALG_RSA_PSS too, since the former depends on the latter. - Add a comment to the handshake_psk_cipher test cases to explain why a test which is ideally about PSK has requirements on RSA and EC keys. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| test_suite_config.function | ||
| test_suite_config.tls_combinations.data | ||
| test_suite_constant_time_hmac.data | ||
| test_suite_constant_time_hmac.function | ||
| test_suite_debug.data | ||
| test_suite_debug.function | ||
| test_suite_error.data | ||
| test_suite_error.function | ||
| test_suite_mps.data | ||
| test_suite_mps.function | ||
| test_suite_net.data | ||
| test_suite_net.function | ||
| test_suite_pkcs7.data | ||
| test_suite_pkcs7.function | ||
| test_suite_ssl_decrypt.function | ||
| test_suite_ssl_decrypt.misc.data | ||
| test_suite_ssl.data | ||
| test_suite_ssl.function | ||
| test_suite_ssl.records.data | ||
| test_suite_ssl.tls-defrag.data | ||
| test_suite_test_helpers.data | ||
| test_suite_test_helpers.function | ||
| test_suite_timing.data | ||
| test_suite_timing.function | ||
| test_suite_version.data | ||
| test_suite_version.function | ||
| test_suite_x509_oid.data | ||
| test_suite_x509_oid.function | ||
| test_suite_x509parse.data | ||
| test_suite_x509parse.function | ||
| test_suite_x509write.data | ||
| test_suite_x509write.function | ||