/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | t1_lib.cc | 466 if (!CBB_add_u16(out, sigalg)) { in tls12_add_verify_sigalgs() 547 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_clienthello() 580 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_serverhello() 581 !CBB_add_u16(out, 0 /* length */)) { in ext_sni_add_serverhello() 604 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_clienthello() 744 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_serverhello() 745 !CBB_add_u16(out, 1 /* length */) || in ext_ri_add_serverhello() 764 if (!CBB_add_u16(out, TLSEXT_TYPE_extended_master_secret) || in ext_ems_add_clienthello() 765 !CBB_add_u16(out, 0 /* length */)) { in ext_ems_add_clienthello() 820 if (!CBB_add_u16(out, TLSEXT_TYPE_extended_master_secret) || in ext_ems_add_serverhello() [all …]
|
D | tls13_server.cc | 78 if (!CBB_add_u16(out, TLSEXT_TYPE_supported_versions) || in ssl_ext_supported_versions_add_serverhello() 80 !CBB_add_u16(&contents, hs->ssl->version) || in ssl_ext_supported_versions_add_serverhello() 160 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_early_data) || in add_new_session_tickets() 169 if (!CBB_add_u16(&extensions, in add_new_session_tickets() 171 !CBB_add_u16(&extensions, 0 /* empty */)) { in add_new_session_tickets() 495 !CBB_add_u16(&body, TLS1_2_VERSION) || in do_send_hello_retry_request() 499 !CBB_add_u16(&body, ssl_cipher_get_value(hs->new_cipher)) || in do_send_hello_retry_request() 503 !CBB_add_u16(&extensions, TLSEXT_TYPE_supported_versions) || in do_send_hello_retry_request() 504 !CBB_add_u16(&extensions, 2 /* length */) || in do_send_hello_retry_request() 505 !CBB_add_u16(&extensions, ssl->version) || in do_send_hello_retry_request() [all …]
|
D | tls13_both.cc | 456 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_certificate_timestamp) || in tls13_add_certificate() 470 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_status_request) || in tls13_add_certificate() 486 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_delegated_credential) || in tls13_add_certificate() 503 !CBB_add_u16(&certificate_list, 0 /* no extensions */)) { in tls13_add_certificate() 536 !CBB_add_u16(body, hs->cert_compression_alg_id) || in tls13_add_certificate() 560 !CBB_add_u16(&body, signature_algorithm)) { in tls13_add_certificate_verify()
|
D | handshake_client.cc | 228 !CBB_add_u16(&child, ssl_get_grease_value(hs, ssl_grease_cipher))) { in ssl_write_client_cipher_list() 236 !CBB_add_u16(&child, TLS1_CK_CHACHA20_POLY1305_SHA256 & 0xffff)) { in ssl_write_client_cipher_list() 239 if (!CBB_add_u16(&child, TLS1_CK_AES_128_GCM_SHA256 & 0xffff) || in ssl_write_client_cipher_list() 240 !CBB_add_u16(&child, TLS1_CK_AES_256_GCM_SHA384 & 0xffff)) { in ssl_write_client_cipher_list() 244 !CBB_add_u16(&child, TLS1_CK_CHACHA20_POLY1305_SHA256 & 0xffff)) { in ssl_write_client_cipher_list() 262 if (!CBB_add_u16(&child, ssl_cipher_get_value(cipher))) { in ssl_write_client_cipher_list() 275 if (!CBB_add_u16(&child, SSL3_CK_FALLBACK_SCSV & 0xffff)) { in ssl_write_client_cipher_list() 292 if (!CBB_add_u16(&body, hs->client_version) || in ssl_write_client_hello() 1448 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_client_certificate_verify()
|
D | d1_both.cc | 173 !CBB_add_u16(cbb.get(), msg_hdr->seq) || in dtls1_hm_fragment_new() 511 !CBB_add_u16(cbb, ssl->d1->handshake_write_seq) || in dtls1_init_message() 695 !CBB_add_u16(cbb.get(), hdr.seq) || in seal_next_message()
|
D | s3_both.cc | 431 !CBB_add_u16(&hello_body, version) || in read_v2_client_hello() 452 if (!CBB_add_u16(&cipher_suites, cipher_spec)) { in read_v2_client_hello()
|
/external/boringssl/src/ssl/ |
D | t1_lib.cc | 471 if (!CBB_add_u16(out, sigalg)) { in tls12_add_verify_sigalgs() 552 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_clienthello() 585 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_serverhello() 586 !CBB_add_u16(out, 0 /* length */)) { in ext_sni_add_serverhello() 611 if (!CBB_add_u16(out, TLSEXT_TYPE_encrypted_client_hello) || in ext_ech_add_clienthello_grease() 682 if (!CBB_add_u16(out, TLSEXT_TYPE_encrypted_client_hello) || in ext_ech_add_clienthello_grease() 684 !CBB_add_u16(&ech_body, kdf_id) || // in ext_ech_add_clienthello_grease() 685 !CBB_add_u16(&ech_body, aead_id) || in ext_ech_add_clienthello_grease() 785 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_clienthello() 925 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_serverhello() [all …]
|
D | tls13_server.cc | 78 if (!CBB_add_u16(out, TLSEXT_TYPE_supported_versions) || in ssl_ext_supported_versions_add_serverhello() 80 !CBB_add_u16(&contents, hs->ssl->version) || in ssl_ext_supported_versions_add_serverhello() 160 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_early_data) || in add_new_session_tickets() 169 if (!CBB_add_u16(&extensions, in add_new_session_tickets() 171 !CBB_add_u16(&extensions, 0 /* empty */)) { in add_new_session_tickets() 532 !CBB_add_u16(&body, TLS1_2_VERSION) || in do_send_hello_retry_request() 536 !CBB_add_u16(&body, SSL_CIPHER_get_protocol_id(hs->new_cipher)) || in do_send_hello_retry_request() 540 !CBB_add_u16(&extensions, TLSEXT_TYPE_supported_versions) || in do_send_hello_retry_request() 541 !CBB_add_u16(&extensions, 2 /* length */) || in do_send_hello_retry_request() 542 !CBB_add_u16(&extensions, ssl->version) || in do_send_hello_retry_request() [all …]
|
D | tls13_both.cc | 455 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_certificate_timestamp) || in tls13_add_certificate() 469 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_status_request) || in tls13_add_certificate() 485 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_delegated_credential) || in tls13_add_certificate() 502 !CBB_add_u16(&certificate_list, 0 /* no extensions */)) { in tls13_add_certificate() 535 !CBB_add_u16(body, hs->cert_compression_alg_id) || in tls13_add_certificate() 559 !CBB_add_u16(&body, signature_algorithm)) { in tls13_add_certificate_verify()
|
D | handshake_client.cc | 228 !CBB_add_u16(&child, ssl_get_grease_value(hs, ssl_grease_cipher))) { in ssl_write_client_cipher_list() 236 !CBB_add_u16(&child, TLS1_CK_CHACHA20_POLY1305_SHA256 & 0xffff)) { in ssl_write_client_cipher_list() 239 if (!CBB_add_u16(&child, TLS1_CK_AES_128_GCM_SHA256 & 0xffff) || in ssl_write_client_cipher_list() 240 !CBB_add_u16(&child, TLS1_CK_AES_256_GCM_SHA384 & 0xffff)) { in ssl_write_client_cipher_list() 244 !CBB_add_u16(&child, TLS1_CK_CHACHA20_POLY1305_SHA256 & 0xffff)) { in ssl_write_client_cipher_list() 262 if (!CBB_add_u16(&child, SSL_CIPHER_get_protocol_id(cipher))) { in ssl_write_client_cipher_list() 275 if (!CBB_add_u16(&child, SSL3_CK_FALLBACK_SCSV & 0xffff)) { in ssl_write_client_cipher_list() 292 if (!CBB_add_u16(&body, hs->client_version) || in ssl_write_client_hello() 1444 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_client_certificate_verify()
|
D | d1_both.cc | 173 !CBB_add_u16(cbb.get(), msg_hdr->seq) || in dtls1_hm_fragment_new() 511 !CBB_add_u16(cbb, ssl->d1->handshake_write_seq) || in dtls1_init_message() 695 !CBB_add_u16(cbb.get(), hdr.seq) || in seal_next_message()
|
D | handoff.cc | 49 if (!CBB_add_u16(&ciphers, static_cast<uint16_t>(cipher.id))) { in serialize_features() 58 if (!CBB_add_u16(&curves, g.group_id)) { in serialize_features() 69 !CBB_add_u16(&alps, TLSEXT_TYPE_application_settings)) { in serialize_features()
|
D | s3_both.cc | 431 !CBB_add_u16(&hello_body, version) || in read_v2_client_hello() 452 if (!CBB_add_u16(&cipher_suites, cipher_spec)) { in read_v2_client_hello()
|
/external/boringssl/src/ssl/test/ |
D | settings_writer.cc | 49 if (!CBB_add_u16(cbb_.get(), kSessionTag) || in Init() 58 !CBB_add_u16(cbb_.get(), kRequestClientCert)) { in Init() 72 if (!CBB_add_u16(cbb_.get(), kDataTag) || in Commit() 93 if (!CBB_add_u16(cbb_.get(), kHandoffTag) || in WriteHandoff() 108 if (!CBB_add_u16(cbb_.get(), kHandbackTag) || in WriteHandback()
|
D | test_state.cc | 89 !CBB_add_u16(&out, 0 /* version */) || in SerializeContextState() 133 !CBB_add_u16(&out, 0 /* version */) || in Serialize()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | settings_writer.cc | 49 if (!CBB_add_u16(cbb_.get(), kSessionTag) || in Init() 58 !CBB_add_u16(cbb_.get(), kRequestClientCert)) { in Init() 72 if (!CBB_add_u16(cbb_.get(), kDataTag) || in Commit() 93 if (!CBB_add_u16(cbb_.get(), kHandoffTag) || in WriteHandoff() 108 if (!CBB_add_u16(cbb_.get(), kHandbackTag) || in WriteHandback()
|
D | test_state.cc | 89 !CBB_add_u16(&out, 0 /* version */) || in SerializeContextState() 133 !CBB_add_u16(&out, 0 /* version */) || in Serialize()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/ |
D | trust_token_test.cc | 593 ASSERT_TRUE(CBB_add_u16(bad_response.get(), count)); in TEST_P() 603 ASSERT_TRUE(CBB_add_u16(bad_response.get(), CBS_len(&tmp))); in TEST_P() 607 ASSERT_TRUE(CBB_add_u16(bad_response.get(), CBS_len(&tmp))); in TEST_P() 661 ASSERT_TRUE(CBB_add_u16(bad_response.get(), count)); in TEST_P() 671 ASSERT_TRUE(CBB_add_u16(bad_response.get(), CBS_len(&tmp))); in TEST_P() 675 ASSERT_TRUE(CBB_add_u16(bad_response.get(), CBS_len(&tmp))); in TEST_P() 683 ASSERT_TRUE(CBB_add_u16(&dleq, 42)); in TEST_P() 694 ASSERT_TRUE(CBB_add_u16(&dleq, 42)); in TEST_P()
|
D | trust_token.c | 189 !CBB_add_u16(&request, count)) { in TRUST_TOKEN_CLIENT_begin_issuance() 452 !CBB_add_u16(&response, num_to_issue) || in TRUST_TOKEN_ISSUER_issue() 491 return CBB_add_u8(cbb, 0x19 | major_type) && CBB_add_u16(cbb, value); in add_cbor_int_with_type()
|
/external/boringssl/src/crypto/hpke/ |
D | hpke.c | 63 CBB_add_u16(&cbb, HPKE_DHKEM_X25519_HKDF_SHA256) && in hpke_build_suite_id() 64 CBB_add_u16(&cbb, kdf_id) && in hpke_build_suite_id() 65 CBB_add_u16(&cbb, aead_id); in hpke_build_suite_id() 96 CBB_add_u16(&labeled_info, out_len) && in hpke_labeled_expand()
|
/external/boringssl/src/crypto/bytestring/ |
D | unicode.c | 150 return u <= 0xffff && is_valid_code_point(u) && CBB_add_u16(cbb, (uint16_t)u); in cbb_add_ucs2_be()
|
D | cbb.c | 442 int CBB_add_u16(CBB *cbb, uint16_t value) { in CBB_add_u16() function 451 return CBB_add_u16(cbb, CRYPTO_bswap2(value)); in CBB_add_u16le()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/ |
D | unicode.c | 150 return u <= 0xffff && is_valid_code_point(u) && CBB_add_u16(cbb, (uint16_t)u); in cbb_add_ucs2_be()
|
D | cbb.c | 442 int CBB_add_u16(CBB *cbb, uint16_t value) { in CBB_add_u16() function 451 return CBB_add_u16(cbb, CRYPTO_bswap2(value)); in CBB_add_u16le()
|
/external/boringssl/src/crypto/trust_token/ |
D | trust_token.c | 215 !CBB_add_u16(&request, count)) { in TRUST_TOKEN_CLIENT_begin_issuance() 492 !CBB_add_u16(&response, num_to_issue) || in TRUST_TOKEN_ISSUER_issue() 597 return CBB_add_u8(cbb, 0x19 | major_type) && CBB_add_u16(cbb, value); in add_cbor_int_with_type()
|