Home
last modified time | relevance | path

Searched refs:CBB_add_u16 (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/ssl/
Dt1_lib.c690 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_clienthello()
822 if (!CBB_add_u16(out, TLSEXT_TYPE_server_name) || in ext_sni_add_serverhello()
823 !CBB_add_u16(out, 0 /* length */)) { in ext_sni_add_serverhello()
837 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_clienthello()
961 if (!CBB_add_u16(out, TLSEXT_TYPE_renegotiate) || in ext_ri_add_serverhello()
989 if (!CBB_add_u16(out, TLSEXT_TYPE_extended_master_secret) || in ext_ems_add_clienthello()
990 !CBB_add_u16(out, 0 /* length */)) { in ext_ems_add_clienthello()
1030 if (!CBB_add_u16(out, TLSEXT_TYPE_extended_master_secret) || in ext_ems_add_serverhello()
1031 !CBB_add_u16(out, 0 /* length */)) { in ext_ems_add_serverhello()
1063 if (!CBB_add_u16(out, TLSEXT_TYPE_session_ticket) || in ext_ticket_add_clienthello()
[all …]
Dcustom_extensions.c90 if (!CBB_add_u16(extensions, ext->value) || in custom_ext_add_hello()
Ds3_srvr.c717 !CBB_add_u16(&hello_body, version) || in ssl3_get_v2_client_hello()
740 if (!CBB_add_u16(&cipher_suites, cipher_spec)) { in ssl3_get_v2_client_hello()
1147 !CBB_add_u16(&cbb, ssl->version) || in ssl3_send_server_hello()
1152 !CBB_add_u16(&cbb, ssl_cipher_get_value(ssl->s3->tmp.new_cipher)) || in ssl3_send_server_hello()
1272 !CBB_add_u16(&cbb, curve_id) || in ssl3_send_server_key_exchange()
Ds3_clnt.c617 if (!CBB_add_u16(&child, ssl_cipher_get_value(cipher))) { in ssl3_write_client_cipher_list()
632 if (!CBB_add_u16(&child, SSL3_CK_SCSV & 0xffff)) { in ssl3_write_client_cipher_list()
640 !CBB_add_u16(&child, SSL3_CK_FALLBACK_SCSV & 0xffff)) { in ssl3_write_client_cipher_list()
704 !CBB_add_u16(&cbb, ssl->client_version) || in ssl3_send_client_hello()
2051 !CBB_add_u16(&cbb, TLSEXT_TYPE_channel_id) || in ssl3_send_channel_id()
Dd1_both.c375 !CBB_add_u16(&cbb, ssl->d1->w_msg_hdr.seq) || in dtls1_do_handshake_write()
632 !CBB_add_u16(&cbb, frag->msg_header.seq) || in dtls1_get_message()
Dssl_asn1.c198 !CBB_add_u16(&child, (uint16_t)(in->cipher->id & 0xffff)) || in SSL_SESSION_to_bytes_full()
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc283 !CBB_add_u16(&cbb, 0x203) || in TestCBBBasic()
356 !CBB_add_u16(&contents, 0x203) || in TestCBBPrefixed()
389 !CBB_add_u16(&contents, 0xcccc) || in TestCBBDiscardChild()
440 CBB_add_u16(&child, 1) || in TestCBBMisuse()
Dcbb.c384 int CBB_add_u16(CBB *cbb, uint16_t value) { in CBB_add_u16() function
/external/boringssl/src/include/openssl/
Dbytestring.h358 OPENSSL_EXPORT int CBB_add_u16(CBB *cbb, uint16_t value);