/external/boringssl/src/ssl/ |
D | t1_lib.cc | 521 if (!CBB_add_u16(out, sigalg)) { in tls12_add_verify_sigalgs() 609 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_clienthello() 680 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_serverhello() 681 !CBB_add_u16(out, 0 /* length */)) { in ext_sni_add_serverhello() 704 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_clienthello() 844 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_serverhello() 845 !CBB_add_u16(out, 1 /* length */) || in ext_ri_add_serverhello() 864 if (!CBB_add_u16(out, TLSEXT_TYPE_extended_master_secret) || in ext_ems_add_clienthello() 865 !CBB_add_u16(out, 0 /* length */)) { in ext_ems_add_clienthello() 920 if (!CBB_add_u16(out, TLSEXT_TYPE_extended_master_secret) || in ext_ems_add_serverhello() [all …]
|
D | tls13_server.cc | 90 if (!CBB_add_u16(out, TLSEXT_TYPE_supported_versions) || in ssl_ext_supported_versions_add_serverhello() 92 !CBB_add_u16(&contents, hs->ssl->version) || in ssl_ext_supported_versions_add_serverhello() 228 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_early_data) || in add_new_session_tickets() 237 if (!CBB_add_u16(&extensions, in add_new_session_tickets() 239 !CBB_add_u16(&extensions, 0 /* empty */)) { in add_new_session_tickets() 527 !CBB_add_u16(&body, TLS1_2_VERSION) || in do_send_hello_retry_request() 531 !CBB_add_u16(&body, ssl_cipher_get_value(hs->new_cipher)) || in do_send_hello_retry_request() 535 !CBB_add_u16(&extensions, TLSEXT_TYPE_supported_versions) || in do_send_hello_retry_request() 536 !CBB_add_u16(&extensions, 2 /* length */) || in do_send_hello_retry_request() 537 !CBB_add_u16(&extensions, ssl->version) || in do_send_hello_retry_request() [all …]
|
D | tls13_both.cc | 462 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_certificate_timestamp) || in tls13_add_certificate() 476 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_status_request) || in tls13_add_certificate() 491 if (!CBB_add_u16(&extensions, TLSEXT_TYPE_delegated_credential) || in tls13_add_certificate() 492 !CBB_add_u16(&extensions, CRYPTO_BUFFER_len(raw)) || in tls13_add_certificate() 508 !CBB_add_u16(&certificate_list, 0 /* no extensions */)) { in tls13_add_certificate() 541 !CBB_add_u16(body, hs->cert_compression_alg_id) || in tls13_add_certificate() 565 !CBB_add_u16(&body, signature_algorithm)) { in tls13_add_certificate_verify()
|
D | handshake_client.cc | 229 !CBB_add_u16(&child, ssl_get_grease_value(hs, ssl_grease_cipher))) { in ssl_write_client_cipher_list() 237 !CBB_add_u16(&child, TLS1_CK_CHACHA20_POLY1305_SHA256 & 0xffff)) { in ssl_write_client_cipher_list() 240 if (!CBB_add_u16(&child, TLS1_CK_AES_128_GCM_SHA256 & 0xffff) || in ssl_write_client_cipher_list() 241 !CBB_add_u16(&child, TLS1_CK_AES_256_GCM_SHA384 & 0xffff)) { in ssl_write_client_cipher_list() 245 !CBB_add_u16(&child, TLS1_CK_CHACHA20_POLY1305_SHA256 & 0xffff)) { in ssl_write_client_cipher_list() 263 if (!CBB_add_u16(&child, ssl_cipher_get_value(cipher))) { in ssl_write_client_cipher_list() 276 if (!CBB_add_u16(&child, SSL3_CK_FALLBACK_SCSV & 0xffff)) { in ssl_write_client_cipher_list() 293 if (!CBB_add_u16(&body, hs->client_version) || in ssl_write_client_hello() 1429 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_client_certificate_verify()
|
D | d1_both.cc | 174 !CBB_add_u16(cbb.get(), msg_hdr->seq) || in dtls1_hm_fragment_new() 516 !CBB_add_u16(cbb, ssl->d1->handshake_write_seq) || in dtls1_init_message() 700 !CBB_add_u16(cbb.get(), hdr.seq) || in seal_next_message()
|
D | s3_both.cc | 429 !CBB_add_u16(&hello_body, version) || in read_v2_client_hello() 450 if (!CBB_add_u16(&cipher_suites, cipher_spec)) { in read_v2_client_hello()
|
D | handoff.cc | 36 if (!CBB_add_u16(&ciphers, static_cast<uint16_t>(cipher.id))) { in serialize_features() 45 if (!CBB_add_u16(&curves, g.group_id)) { in serialize_features()
|
D | handshake_server.cc | 844 !CBB_add_u16(&body, ssl->version) || in do_send_server_hello() 849 !CBB_add_u16(&body, ssl_cipher_get_value(hs->new_cipher)) || in do_send_server_hello() 937 !CBB_add_u16(cbb.get(), group_id) || in do_send_server_certificate() 988 if (!CBB_add_u16(&body, signature_algorithm)) { in do_send_server_key_exchange()
|
D | ssl_versions.cc | 285 !CBB_add_u16(cbb, versions[i])) { in ssl_add_supported_versions()
|
D | tls13_enc.cc | 81 !CBB_add_u16(cbb.get(), len) || in hkdf_expand_label()
|
D | ssl_asn1.cc | 204 !CBB_add_u16(&child, (uint16_t)(in->cipher->id & 0xffff)) || in SSL_SESSION_to_bytes_full()
|
/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/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 | bytestring_test.cc | 329 ASSERT_TRUE(CBB_add_u16(cbb.get(), 0x203)); in TEST() 399 ASSERT_TRUE(CBB_add_u16(&contents, 0x203)); in TEST() 428 ASSERT_TRUE(CBB_add_u16(&contents, 0xcccc)); in TEST() 472 EXPECT_FALSE(CBB_add_u16(&child, 1)); in TEST()
|
D | cbb.c | 438 int CBB_add_u16(CBB *cbb, uint16_t value) { in CBB_add_u16() function
|
/external/boringssl/src/include/openssl/ |
D | bytestring.h | 456 OPENSSL_EXPORT int CBB_add_u16(CBB *cbb, uint16_t value);
|
/external/grpc-grpc/src/objective-c/ |
D | grpc_shadow_boringssl_symbol_list | 656 CBB_add_u16
|
D | BoringSSL-GRPC.podspec | 2208 '#define CBB_add_u16 GRPC_SHADOW_CBB_add_u16',
|
/external/grpc-grpc/src/core/tsi/ |
D | grpc_shadow_boringssl.h | 684 #define CBB_add_u16 GRPC_SHADOW_CBB_add_u16 macro
|