Home
last modified time | relevance | path

Searched refs:key_share (Results 1 – 5 of 5) sorted by relevance

/external/boringssl/src/ssl/
Dhandoff.cc270 CBB seq, key_share; in SSL_serialize_handback() local
306 !CBB_add_asn1(&seq, &key_share, CBS_ASN1_SEQUENCE)) { in SSL_serialize_handback()
310 !s3->hs->key_shares[0]->Serialize(&key_share)) { in SSL_serialize_handback()
326 next_proto, alpn, hostname, channel_id, transcript, key_share; in SSL_apply_handback() local
390 !CBS_get_asn1(&seq, &key_share, CBS_ASN1_SEQUENCE)) { in SSL_apply_handback()
474 (s3->hs->key_shares[0] = SSLKeyShare::Create(&key_share)) == nullptr) { in SSL_apply_handback()
Dssl_key_share.cc346 UniquePtr<SSLKeyShare> key_share = Create(static_cast<uint16_t>(group)); in Create() local
347 if (!key_share || !key_share->Deserialize(in)) { in Create()
350 return key_share; in Create()
Dtls13_client.cc117 CBS cookie, key_share, supported_versions; in do_read_hello_retry_request() local
119 {TLSEXT_TYPE_key_share, &have_key_share, &key_share}, in do_read_hello_retry_request()
155 if (!CBS_get_u16(&key_share, &group_id) || CBS_len(&key_share) != 0) { in do_read_hello_retry_request()
281 CBS key_share, pre_shared_key, supported_versions; in do_read_server_hello() local
283 {TLSEXT_TYPE_key_share, &have_key_share, &key_share}, in do_read_server_hello()
386 &key_share)) { in do_read_server_hello()
Dtls13_server.cc62 CBS key_share; in resolve_ecdhe_secret() local
63 if (!ssl_client_hello_get_extension(client_hello, &key_share, in resolve_ecdhe_secret()
74 &alert, &key_share)) { in resolve_ecdhe_secret()
Dt1_lib.cc2242 SSLKeyShare *key_share = hs->key_shares[0].get(); in ssl_ext_key_share_parse_serverhello() local
2243 if (key_share->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()
2252 if (!key_share->Finish(out_secret, out_alert, peer_key)) { in ssl_ext_key_share_parse_serverhello()
2314 UniquePtr<SSLKeyShare> key_share = SSLKeyShare::Create(group_id); in ssl_ext_key_share_parse_clienthello() local
2315 if (!key_share || in ssl_ext_key_share_parse_clienthello()
2317 !key_share->Accept(public_key.get(), &secret, out_alert, peer_key) || in ssl_ext_key_share_parse_clienthello()