Home
last modified time | relevance | path

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

/ssl/
A Dtls13_client.cc255 key_share(TLSEXT_TYPE_key_share, !hs->key_share_bytes.empty()), in do_read_hello_retry_request() local
261 {&cookie, &key_share, &supported_versions, &ech_unused}, in do_read_hello_retry_request()
267 if (!cookie.present && !key_share.present) { in do_read_hello_retry_request()
287 if (key_share.present) { in do_read_hello_retry_request()
293 if (!CBS_get_u16(&key_share.data, &group_id) || in do_read_hello_retry_request()
294 CBS_len(&key_share.data) != 0) { in do_read_hello_retry_request()
435 {&key_share, &pre_shared_key, &supported_versions, &pake_share}, in do_read_server_hello()
456 if (pake_share.present && (key_share.present || pre_shared_key.present)) { in do_read_server_hello()
469 if (hs->pake_prover == nullptr && !key_share.present) { in do_read_server_hello()
546 if (key_share.present) { in do_read_server_hello()
[all …]
A Dhandoff.cc345 CBB seq, key_share; in SSL_serialize_handback() local
390 !CBB_add_asn1(&seq, &key_share, CBS_ASN1_SEQUENCE)) { in SSL_serialize_handback()
396 !CBB_add_asn1(&key_share, &private_key, CBS_ASN1_OCTETSTRING) || in SSL_serialize_handback()
398 !CBB_flush(&key_share)) { in SSL_serialize_handback()
549 !CBS_get_asn1(&seq, &key_share, CBS_ASN1_SEQUENCE)) { in SSL_apply_handback()
758 if (!CBS_get_asn1_uint64(&key_share, &group_id) || // in SSL_apply_handback()
1038 CBS cbs, seq, server_random_tls13, key_share, signature_hint, psk, in SSL_set_handshake_hints() local
1046 !CBS_get_optional_asn1(&seq, &key_share, &has_key_share, in SSL_set_handshake_hints()
1075 if (!CBS_get_asn1_uint64(&key_share, &group_id) || // in SSL_set_handshake_hints()
1077 !CBS_get_asn1(&key_share, &ciphertext, CBS_ASN1_OCTETSTRING) || in SSL_set_handshake_hints()
[all …]
A Dtls13_server.cc102 UniquePtr<SSLKeyShare> key_share = SSLKeyShare::Create(group_id); in resolve_ecdhe_secret() local
103 if (!key_share || // in resolve_ecdhe_secret()
105 !key_share->Encap(ciphertext.get(), &secret, &alert, peer_key) || in resolve_ecdhe_secret()
A Dextensions.cc2316 SSLKeyShare *key_share = hs->key_shares[0].get(); in ssl_ext_key_share_parse_serverhello() local
2317 if (key_share->GroupID() != group_id) { in ssl_ext_key_share_parse_serverhello()
2323 key_share = hs->key_shares[1].get(); in ssl_ext_key_share_parse_serverhello()
2326 if (!key_share->Decap(out_secret, out_alert, ciphertext)) { in ssl_ext_key_share_parse_serverhello()

Completed in 22 milliseconds