Add more tests for keying material export

Signed-off-by: Max Fillinger <[email protected]>
This commit is contained in:
Max Fillinger
2025-03-28 17:06:47 +01:00
parent a5b63c5e40
commit cf007ca8bb
4 changed files with 350 additions and 1 deletions
+7
View File
@@ -589,6 +589,13 @@ int mbedtls_test_ssl_exchange_data(
mbedtls_ssl_context *ssl_2,
int msg_len_2, const int expected_fragments_2);
#if defined(MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED)
int mbedtls_test_ssl_do_handshake_with_endpoints(
mbedtls_test_ssl_endpoint *server_ep,
mbedtls_test_ssl_endpoint *client_ep,
mbedtls_ssl_protocol_version proto);
#endif /* defined(MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED) */
#if defined(MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED)
void mbedtls_test_ssl_perform_handshake(
mbedtls_test_handshake_test_options *options);