Searched refs:key_shares (Results 1 – 6 of 6) sorted by relevance
2198 hs->key_shares[0] = SSLKeyShare::Create(group_id); in ext_key_share_add_clienthello()2199 if (!hs->key_shares[0] || in ext_key_share_add_clienthello()2202 !hs->key_shares[0]->Offer(&key_exchange) || in ext_key_share_add_clienthello()2208 hs->key_shares[1] = SSLKeyShare::Create(second_group_id); in ext_key_share_add_clienthello()2209 if (!hs->key_shares[1] || in ext_key_share_add_clienthello()2212 !hs->key_shares[1]->Offer(&key_exchange) || in ext_key_share_add_clienthello()2242 SSLKeyShare *key_share = hs->key_shares[0].get(); in ssl_ext_key_share_parse_serverhello()2244 if (!hs->key_shares[1] || hs->key_shares[1]->GroupID() != group_id) { in ssl_ext_key_share_parse_serverhello()2249 key_share = hs->key_shares[1].get(); in ssl_ext_key_share_parse_serverhello()2258 hs->key_shares[0].reset(); in ssl_ext_key_share_parse_serverhello()[all …]
170 if (hs->key_shares[0]->GroupID() == group_id || in do_read_hello_retry_request()171 (hs->key_shares[1] && hs->key_shares[1]->GroupID() == group_id)) { in do_read_hello_retry_request()177 hs->key_shares[0].reset(); in do_read_hello_retry_request()178 hs->key_shares[1].reset(); in do_read_hello_retry_request()
592 hs->key_shares[0].reset(); in do_read_server_hello()593 hs->key_shares[1].reset(); in do_read_server_hello()1009 hs->key_shares[0] = SSLKeyShare::Create(group_id); in do_read_server_key_exchange()1010 if (!hs->key_shares[0] || in do_read_server_key_exchange()1348 if (!hs->key_shares[0]->Accept(&child, &pms, &alert, hs->peer_key)) { in do_send_client_key_exchange()1357 hs->key_shares[0].reset(); in do_send_client_key_exchange()1358 hs->key_shares[1].reset(); in do_send_client_key_exchange()
934 hs->key_shares[0] = SSLKeyShare::Create(group_id); in do_send_server_certificate()935 if (!hs->key_shares[0] || in do_send_server_certificate()939 !hs->key_shares[0]->Offer(&child)) { in do_send_server_certificate()1279 if (!hs->key_shares[0]->Finish(&premaster_secret, &alert, peer_key)) { in do_read_client_key_exchange()1285 hs->key_shares[0].reset(); in do_read_client_key_exchange()1286 hs->key_shares[1].reset(); in do_read_client_key_exchange()
310 !s3->hs->key_shares[0]->Serialize(&key_share)) { in SSL_serialize_handback()474 (s3->hs->key_shares[0] = SSLKeyShare::Create(&key_share)) == nullptr) { in SSL_apply_handback()
1477 UniquePtr<SSLKeyShare> key_shares[2];