diff --git a/tests/unit/valgrind.suppressions b/tests/unit/valgrind.suppressions index c834c946b6f..f5db2c1a5e3 100644 --- a/tests/unit/valgrind.suppressions +++ b/tests/unit/valgrind.suppressions @@ -98,32 +98,12 @@ # START: suppressions for AWS-LC # https://github.com/aws/s2n-tls/issues/3758 -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state.part.0 - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init - fun:main -} { Memcheck:Leak match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_copy fun:bn_mont_ctx_set_N_and_n0 @@ -136,13 +116,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -151,11 +133,9 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_copy fun:ec_GFp_simple_group_set_curve - fun:ec_GFp_simple_group_set_curve fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name @@ -163,66 +143,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_copy - fun:ec_group_set_generator - fun:ec_group_new_from_data - fun:EC_GROUP_new_by_curve_name - fun:pkey_ec_ctrl - fun:s2n_ecc_evp_generate_key_nist_curves - fun:s2n_ecc_evp_generate_own_key - fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_copy - fun:bn_mont_ctx_set_N_and_n0 - fun:BN_MONT_CTX_set - fun:BN_MONT_CTX_new_for_modulus - fun:ec_group_set_generator - fun:ec_group_new_from_data - fun:EC_GROUP_new_by_curve_name - fun:pkey_ec_ctrl - fun:s2n_ecc_evp_generate_key_nist_curves - fun:s2n_ecc_evp_generate_own_key - fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -231,7 +160,6 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_copy fun:bn_mont_ctx_set_N_and_n0 @@ -241,6 +169,7 @@ fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -249,7 +178,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -258,15 +187,14 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_copy fun:ec_GFp_simple_group_set_curve - fun:ec_GFp_simple_group_set_curve fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -275,31 +203,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_copy - fun:ec_group_set_generator - fun:ec_group_new_from_data - fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -308,7 +212,6 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_copy fun:bn_mont_ctx_set_N_and_n0 @@ -318,6 +221,7 @@ fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -326,7 +230,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -335,13 +239,13 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:BN_MONT_CTX_new fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -350,7 +254,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -359,13 +263,13 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:BN_MONT_CTX_new fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -374,7 +278,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -383,7 +287,6 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:BN_MONT_CTX_new fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve @@ -393,38 +296,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:BN_MONT_CTX_new - fun:BN_MONT_CTX_new_for_modulus - fun:ec_group_set_generator - fun:ec_group_new_from_data - fun:EC_GROUP_new_by_curve_name - fun:pkey_ec_ctrl - fun:s2n_ecc_evp_generate_key_nist_curves - fun:s2n_ecc_evp_generate_own_key - fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -433,7 +313,6 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_set_bit fun:BN_MONT_CTX_set @@ -445,13 +324,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -460,25 +341,24 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_set_bit - fun:BN_MONT_CTX_set - fun:BN_MONT_CTX_new_for_modulus - fun:ec_group_set_generator + fun:BN_copy + fun:ec_GFp_simple_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -487,7 +367,6 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_set_bit fun:BN_MONT_CTX_set @@ -496,6 +375,7 @@ fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -504,7 +384,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -513,7 +393,6 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:bn_wexpand fun:BN_set_bit fun:BN_MONT_CTX_set @@ -522,6 +401,7 @@ fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -530,7 +410,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -539,21 +419,27 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:EC_POINT_new + fun:bn_wexpand + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send + fun:s2n_handshake_write_io + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -562,8 +448,8 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:EC_POINT_new + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name @@ -571,13 +457,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -586,52 +474,12 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:RAND_bytes_with_additional_data.part.0 - fun:RAND_bytes_with_additional_data - fun:RAND_bytes - fun:rand_nonzero - fun:RSA_padding_add_PKCS1_type_2 - fun:RSA_padding_add_PKCS1_type_2 - fun:RSA_encrypt - fun:RSA_public_encrypt - fun:s2n_rsa_encrypt - fun:s2n_rsa_keys_match - fun:s2n_pkey_match - fun:s2n_cert_chain_and_key_load - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:err_get_state.part.0 - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:ec_group_new + fun:EC_POINT_new + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -640,7 +488,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -649,39 +497,26 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc - fun:ec_group_new + fun:bn_wexpand + fun:BN_set_bit + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:err_get_state.part.0 - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -690,11 +525,11 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:OPENSSL_malloc fun:ec_group_new fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:EC_KEY_parse_curve_name + fun:EC_KEY_parse_parameters fun:EC_KEY_parse_private_key fun:old_priv_decode fun:d2i_PrivateKey @@ -703,7 +538,7 @@ fun:s2n_cert_chain_and_key_set_private_key_from_stuffer fun:s2n_cert_chain_and_key_set_private_key fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:s2n_test_tls13_pq_handshake fun:main } { @@ -712,8 +547,29 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc + fun:RAND_bytes_with_additional_data.part.222 + fun:RAND_bytes_with_additional_data + fun:bn_rand_range_words + fun:ec_random_nonzero_scalar + fun:ECDSA_do_sign + fun:ECDSA_sign + fun:s2n_ecdsa_sign_digest + fun:s2n_ecdsa_sign + fun:s2n_ecdsa_keys_match + fun:s2n_pkey_match + fun:s2n_cert_chain_and_key_load + fun:s2n_cert_chain_and_key_load_pem + fun:s2n_test_tls13_pq_handshake + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc fun:OPENSSL_malloc - fun:ec_group_new + fun:EC_POINT_new + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl @@ -728,127 +584,89 @@ fun:s2n_extension_list_send fun:s2n_client_hello_send fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client - fun:main -} - -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:s2n_test_tls13_pq_handshake fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:ec_group_new + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_send_public_key + fun:s2n_generate_pq_hybrid_key_share + fun:s2n_generate_default_pq_hybrid_key_share + fun:s2n_client_key_share_send + fun:s2n_extension_send + fun:s2n_extension_list_send + fun:s2n_client_hello_send + fun:s2n_handshake_write_io + fun:s2n_test_tls13_pq_handshake fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:bn_wexpand + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_GFp_mont_group_set_curve + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:bn_wexpand + fun:BN_copy + fun:ec_GFp_simple_group_set_curve + fun:ec_GFp_mont_group_set_curve + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:bn_wexpand + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -865,17 +683,10 @@ fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -890,17 +701,10 @@ fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -917,17 +721,10 @@ fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -941,17 +738,10 @@ fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -965,17 +755,10 @@ fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -984,24 +767,15 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_set_bit - fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1010,47 +784,32 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_set_bit - fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests - fun:main -} + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:main +} { Memcheck:Leak match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:EC_POINT_new + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1059,107 +818,17 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:ec_group_new + fun:bn_wexpand + fun:BN_set_bit + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:OPENSSL_malloc - fun:RAND_bytes_with_additional_data.part.222 - fun:RAND_bytes_with_additional_data - fun:bn_rand_range_words - fun:ec_random_nonzero_scalar - fun:ECDSA_do_sign - fun:ECDSA_sign - fun:s2n_ecdsa_sign_digest - fun:s2n_ecdsa_sign - fun:s2n_ecdsa_keys_match - fun:s2n_pkey_match - fun:s2n_cert_chain_and_key_load - fun:s2n_cert_chain_and_key_load_pem - fun:run_tests - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init - fun:main -} -{ - - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1169,24 +838,16 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_copy - fun:bn_mont_ctx_set_N_and_n0 + fun:BN_set_bit fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus - fun:ec_GFp_mont_group_set_curve + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client fun:main } { @@ -1198,20 +859,12 @@ fun:bn_wexpand fun:BN_copy fun:ec_GFp_simple_group_set_curve - fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client fun:main } { @@ -1232,13 +885,6 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client fun:main } { @@ -1248,24 +894,16 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_copy - fun:bn_mont_ctx_set_N_and_n0 + fun:BN_set_bit fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1275,22 +913,16 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_copy - fun:ec_GFp_simple_group_set_curve - fun:ec_GFp_mont_group_set_curve + fun:BN_set_bit + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1300,24 +932,16 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_copy - fun:bn_mont_ctx_set_N_and_n0 + fun:BN_set_bit fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1326,22 +950,14 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new - fun:BN_MONT_CTX_new_for_modulus - fun:ec_GFp_mont_group_set_curve + fun:EC_POINT_new + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client fun:main } { @@ -1350,8 +966,7 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new - fun:BN_MONT_CTX_new_for_modulus + fun:EC_POINT_new fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name @@ -1359,13 +974,6 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client fun:main } { @@ -1374,22 +982,14 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new - fun:BN_MONT_CTX_new_for_modulus - fun:ec_GFp_mont_group_set_curve + fun:EC_POINT_new + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1398,22 +998,13 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new - fun:BN_MONT_CTX_new_for_modulus - fun:ec_group_set_generator + fun:ec_group_new fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1422,24 +1013,13 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_set_bit - fun:BN_MONT_CTX_set - fun:BN_MONT_CTX_new_for_modulus - fun:ec_GFp_mont_group_set_curve + fun:ec_group_new fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client fun:main } { @@ -1448,24 +1028,31 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_set_bit - fun:BN_MONT_CTX_set - fun:BN_MONT_CTX_new_for_modulus - fun:ec_group_set_generator + fun:ec_group_new fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io - fun:s2n_negotiate_impl - fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:OPENSSL_malloc + fun:RAND_bytes_with_additional_data.part.222 + fun:RAND_bytes_with_additional_data + fun:bn_rand_range_words + fun:ec_random_nonzero_scalar + fun:EC_KEY_generate_key + fun:pkey_ec_keygen + fun:EVP_PKEY_keygen + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key fun:main } { @@ -1475,23 +1062,23 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_set_bit + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client fun:main } { @@ -1501,23 +1088,47 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_set_bit + fun:BN_copy + fun:ec_GFp_simple_group_set_curve + fun:ec_GFp_mont_group_set_curve + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:OPENSSL_malloc + fun:bn_wexpand + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client fun:main } { @@ -1526,21 +1137,21 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:EC_POINT_new - fun:ec_group_set_generator + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus + fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl - fun:s2n_ecc_evp_generate_key_nist_curves - fun:s2n_ecc_evp_generate_own_key - fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client + fun:mock_client fun:main } { @@ -1549,21 +1160,21 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:EC_POINT_new + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client fun:main } { @@ -1572,20 +1183,23 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:ec_group_new + fun:bn_wexpand + fun:BN_set_bit + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl - fun:s2n_ecc_evp_generate_key_nist_curves - fun:s2n_ecc_evp_generate_own_key - fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_server_key_send - fun:s2n_kex_server_key_send - fun:s2n_server_key_send - fun:s2n_handshake_write_io + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_test_server_and_client + fun:mock_client fun:main } { @@ -1594,20 +1208,23 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:ec_group_new + fun:bn_wexpand + fun:BN_set_bit + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client fun:main } { @@ -1616,52 +1233,66 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:RAND_bytes_with_additional_data.part.222 - fun:RAND_bytes_with_additional_data - fun:RAND_bytes - fun:rand_nonzero - fun:RSA_padding_add_PKCS1_type_2 - fun:RSA_encrypt - fun:RSA_public_encrypt - fun:s2n_rsa_encrypt - fun:s2n_rsa_keys_match - fun:s2n_pkey_match - fun:s2n_cert_chain_and_key_load - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:EC_POINT_new + fun:ec_group_set_generator + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:ec_group_new + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_parse_params_point + fun:s2n_ecc_evp_parse_params + fun:s2n_ecdhe_server_key_recv_parse_data + fun:s2n_kex_server_key_recv_parse_data + fun:s2n_server_key_recv + fun:s2n_handshake_read_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:RAND_bytes_with_additional_data.part.222 + fun:RAND_bytes_with_additional_data + fun:bn_rand_range_words + fun:ec_random_nonzero_scalar + fun:EC_KEY_generate_key + fun:pkey_ec_keygen + fun:EVP_PKEY_keygen + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_compute_shared_secret_as_client + fun:s2n_ecdhe_client_key_send + fun:s2n_kex_client_key_send + fun:s2n_client_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:mock_client fun:main } { @@ -1682,18 +1313,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1712,18 +1340,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1744,18 +1369,15 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1764,25 +1386,24 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_copy - fun:bn_mont_ctx_set_N_and_n0 - fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1791,23 +1412,24 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_copy - fun:ec_GFp_simple_group_set_curve - fun:ec_GFp_mont_group_set_curve + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1817,24 +1439,25 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_copy - fun:bn_mont_ctx_set_N_and_n0 + fun:BN_set_bit fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus - fun:ec_group_set_generator + fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1843,22 +1466,26 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new + fun:bn_wexpand + fun:BN_set_bit + fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus - fun:ec_GFp_mont_group_set_curve + fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1867,22 +1494,23 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new - fun:BN_MONT_CTX_new_for_modulus + fun:EC_POINT_new fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate fun:main } { @@ -1891,7 +1519,34 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new + fun:ec_group_new + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:s2n_negotiate_test_server_and_client + fun:s2n_negotiate_test_server_and_client_with_early_data + fun:s2n_test_negotiate + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:OPENSSL_malloc + fun:bn_wexpand + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 + fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data @@ -1900,18 +1555,12 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message fun:main } { @@ -1920,27 +1569,22 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:BN_MONT_CTX_new - fun:BN_MONT_CTX_new_for_modulus - fun:ec_group_set_generator + fun:bn_wexpand + fun:BN_copy + fun:ec_GFp_simple_group_set_curve + fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message fun:main } { @@ -1950,9 +1594,33 @@ fun:malloc fun:OPENSSL_malloc fun:bn_wexpand - fun:BN_set_bit + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 fun:BN_MONT_CTX_set fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:OPENSSL_malloc + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name @@ -1960,18 +1628,12 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message fun:main } { @@ -1980,9 +1642,7 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:bn_wexpand - fun:BN_set_bit - fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new fun:BN_MONT_CTX_new_for_modulus fun:ec_group_set_generator fun:ec_group_new_from_data @@ -1991,18 +1651,12 @@ fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message fun:main } { @@ -2018,17 +1672,16 @@ fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { @@ -2044,17 +1697,16 @@ fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { @@ -2067,17 +1719,16 @@ fun:ec_group_set_generator fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { @@ -2086,26 +1737,19 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:EC_POINT_new - fun:ec_group_set_generator + fun:ec_group_new fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message fun:main } { @@ -2114,20 +1758,24 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:ec_group_new + fun:bn_wexpand + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name - fun:EC_KEY_parse_curve_name - fun:EC_KEY_parse_parameters - fun:EC_KEY_parse_private_key - fun:old_priv_decode - fun:d2i_PrivateKey - fun:d2i_AutoPrivateKey - fun:s2n_asn1der_to_private_key - fun:s2n_cert_chain_and_key_set_private_key_from_stuffer - fun:s2n_cert_chain_and_key_set_private_key - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { @@ -2136,25 +1784,22 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:ec_group_new + fun:bn_wexpand + fun:BN_copy + fun:ec_GFp_simple_group_set_curve + fun:ec_GFp_mont_group_set_curve fun:ec_group_new_from_data fun:EC_GROUP_new_by_curve_name fun:pkey_ec_ctrl fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message - fun:s2n_negotiate_test_server_and_client_until_message fun:main } { @@ -2163,68 +1808,95 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:RAND_bytes_with_additional_data.part.222 - fun:RAND_bytes_with_additional_data - fun:bn_rand_range_words - fun:ec_random_nonzero_scalar - fun:ECDSA_do_sign - fun:ECDSA_sign - fun:s2n_ecdsa_sign_digest - fun:s2n_ecdsa_sign - fun:s2n_ecdsa_keys_match - fun:s2n_pkey_match - fun:s2n_cert_chain_and_key_load - fun:s2n_cert_chain_and_key_load_pem - fun:s2n_test_cert_chain_and_key_new + fun:bn_wexpand + fun:BN_copy + fun:bn_mont_ctx_set_N_and_n0 + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus + fun:ec_GFp_mont_group_set_curve + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:CRYPTO_set_thread_local - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:BN_MONT_CTX_new + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { Memcheck:Leak match-leak-kinds: reachable - fun:calloc - fun:err_get_state - fun:ERR_put_error - fun:BIO_new_file - fun:X509_load_cert_crl_file - fun:by_file_ctrl - fun:X509_STORE_set_default_paths - fun:s2n_config_load_system_certs - fun:s2n_config_defaults_init - fun:s2n_init + fun:malloc + fun:OPENSSL_malloc + fun:bn_wexpand + fun:BN_set_bit + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_GFp_mont_group_set_curve + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } { @@ -2233,26 +1905,23 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:RAND_bytes_with_additional_data.part.222 - fun:RAND_bytes_with_additional_data - fun:RAND_bytes - fun:X25519_keypair - fun:pkey_x25519_keygen - fun:EVP_PKEY_keygen - fun:s2n_ecc_evp_generate_key_x25519 + fun:bn_wexpand + fun:BN_set_bit + fun:BN_MONT_CTX_set + fun:BN_MONT_CTX_new_for_modulus + fun:ec_group_set_generator + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send fun:s2n_handshake_write_io fun:s2n_negotiate_impl fun:s2n_negotiate - fun:s2n_negotiate_until_message fun:main } { @@ -2261,27 +1930,42 @@ match-leak-kinds: reachable fun:malloc fun:OPENSSL_malloc - fun:RAND_bytes_with_additional_data.part.222 - fun:RAND_bytes_with_additional_data - fun:RAND_bytes - fun:X25519_keypair - fun:pkey_x25519_keygen - fun:EVP_PKEY_keygen - fun:s2n_ecc_evp_generate_key_x25519 + fun:EC_POINT_new + fun:ec_group_set_generator + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves fun:s2n_ecc_evp_generate_own_key fun:s2n_ecc_evp_generate_ephemeral_key - fun:s2n_ecdhe_send_public_key - fun:s2n_ecdhe_parameters_send - fun:s2n_generate_default_ecc_key_share - fun:s2n_client_key_share_send - fun:s2n_extension_send - fun:s2n_extension_list_send - fun:s2n_client_hello_send - fun:s2n_exchange_hellos + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate + fun:main +} +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:OPENSSL_malloc + fun:ec_group_new + fun:ec_group_new_from_data + fun:EC_GROUP_new_by_curve_name + fun:pkey_ec_ctrl + fun:s2n_ecc_evp_generate_key_nist_curves + fun:s2n_ecc_evp_generate_own_key + fun:s2n_ecc_evp_generate_ephemeral_key + fun:s2n_ecdhe_server_key_send + fun:s2n_kex_server_key_send + fun:s2n_server_key_send + fun:s2n_handshake_write_io + fun:s2n_negotiate_impl + fun:s2n_negotiate fun:main } - - - # END: suppression for AWS-LC