mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-31 03:16:37 +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> |
||
|---|---|---|
| .. | ||
| .jenkins | ||
| configs | ||
| git-scripts | ||
| include/test | ||
| opt-testcases | ||
| scripts | ||
| src | ||
| suites | ||
| .gitignore | ||
| CMakeLists.txt | ||
| compat-in-docker.sh | ||
| compat.sh | ||
| context-info.sh | ||
| Descriptions.txt | ||
| make-in-docker.sh | ||
| Makefile | ||
| ssl-opt.sh | ||