/external/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 326 ASSERT_TRUE(CBB_add_u8(cbb.get(), 1)); in TEST() 350 ASSERT_TRUE(CBB_add_u8(cbb.get(), 1)); in TEST() 358 ASSERT_TRUE(CBB_add_u8(cbb.get(), 1)); in TEST() 359 EXPECT_FALSE(CBB_add_u8(cbb.get(), 2)); in TEST() 391 ASSERT_TRUE(CBB_add_u8(&contents, 1)); in TEST() 401 ASSERT_TRUE(CBB_add_u8(&inner_contents, 1)); in TEST() 404 ASSERT_TRUE(CBB_add_u8(&inner_inner_contents, 2)); in TEST() 416 ASSERT_TRUE(CBB_add_u8(cbb.get(), 0xaa)); in TEST() 423 ASSERT_TRUE(CBB_add_u8(&contents, 0xbb)); in TEST() 429 ASSERT_TRUE(CBB_add_u8(&contents, 0xff)); in TEST() [all …]
|
D | cbb.c | 352 if (!CBB_add_u8(cbb, byte)) { in add_base128_integer() 369 if (!CBB_add_u8(cbb, tag_bits | 0x1f) || in CBB_add_asn1() 373 } else if (!CBB_add_u8(cbb, tag_bits | tag_number)) { in CBB_add_asn1() 378 if (!CBB_add_u8(cbb, 0)) { in CBB_add_asn1() 430 int CBB_add_u8(CBB *cbb, uint8_t value) { in CBB_add_u8() function 490 if ((byte & 0x80) && !CBB_add_u8(&child, 0)) { in CBB_add_asn1_uint64() 495 if (!CBB_add_u8(&child, byte)) { in CBB_add_asn1_uint64() 501 if (!started && !CBB_add_u8(&child, 0)) { in CBB_add_asn1_uint64() 522 !CBB_add_u8(&child, value != 0 ? 0xff : 0) || in CBB_add_asn1_bool()
|
D | cbs.c | 592 !CBB_add_u8(&cbb, '.') || in CBS_asn1_oid_to_text() 599 !CBB_add_u8(&cbb, '.') || in CBS_asn1_oid_to_text() 607 if (!CBB_add_u8(&cbb, '\0') || in CBS_asn1_oid_to_text()
|
/external/boringssl/src/crypto/bn_extra/ |
D | convert.c | 251 !CBB_add_u8(&cbb, 0 /* trailing NUL */)) { in BN_bn2dec() 256 if (!CBB_add_u8(&cbb, '0')) { in BN_bn2dec() 273 if (!CBB_add_u8(&cbb, '0' + word % 10)) { in BN_bn2dec() 283 !CBB_add_u8(&cbb, '-')) { in BN_bn2dec()
|
D | bn_asn1.c | 56 (BN_num_bits(bn) % 8 == 0 && !CBB_add_u8(&child, 0x00)) || in BN_marshal_asn1()
|
/external/boringssl/src/ssl/ |
D | s3_both.cc | 170 !CBB_add_u8(cbb, type) || in ssl3_init_message() 357 !CBB_add_u8(client_hello.get(), SSL3_MT_CLIENT_HELLO) || in read_v2_client_hello() 362 !CBB_add_u8(&hello_body, 0) || in read_v2_client_hello() 387 if (!CBB_add_u8(&hello_body, 1) || in read_v2_client_hello() 388 !CBB_add_u8(&hello_body, 0) || in read_v2_client_hello()
|
D | tls13_both.cc | 64 if (!CBB_add_u8(cbb.get(), 0x20)) { in tls13_get_cert_verify_signature_input() 360 !CBB_add_u8(&body, 0) || in tls13_add_certificate() 400 !CBB_add_u8(&contents, TLSEXT_STATUSTYPE_ocsp) || in tls13_add_certificate() 520 !CBB_add_u8(&body_cbb, SSL_KEY_UPDATE_NOT_REQUESTED) || in tls13_receive_key_update()
|
D | d1_both.cc | 172 !CBB_add_u8(cbb.get(), msg_hdr->type) || in dtls1_hm_fragment_new() 514 !CBB_add_u8(cbb, type) || in dtls1_init_message() 693 !CBB_add_u8(cbb.get(), hdr.type) || in seal_next_message()
|
D | t1_lib.cc | 583 !CBB_add_u8(&server_name_list, TLSEXT_NAMETYPE_host_name) || in ext_sni_add_clienthello() 817 !CBB_add_u8(out, 0 /* empty renegotiation info */)) { in ext_ri_add_serverhello() 1037 !CBB_add_u8(&contents, TLSEXT_STATUSTYPE_ocsp) || in ext_ocsp_add_clienthello() 1598 if (!CBB_add_u8(&contents, 0 /* empty use_mki value */) || in ext_srtp_add_clienthello() 1703 !CBB_add_u8(&contents, 0 /* empty MKI */) || in ext_srtp_add_serverhello() 1721 !CBB_add_u8(&formats, TLSEXT_ECPOINTFORMAT_uncompressed) || in ext_ec_point_add_extension() 1961 !CBB_add_u8(&ke_modes, SSL_PSK_DHE_KE)) { in ext_psk_key_exchange_modes_add_clienthello() 2114 !CBB_add_u8(&kse_bytes, 0 /* one byte key share */))) { in ext_key_share_add_clienthello() 2574 !CBB_add_u8(¶ms, ssl->negotiated_token_binding_param) || in ext_token_binding_add_serverhello() 2917 !CBB_add_u8(&extensions, 0 /* single zero byte as contents */)) { in ssl_add_clienthello_tlsext()
|
D | handshake_server.cc | 739 !CBB_add_u8(&body, 0 /* no compression */) || in do_send_server_hello() 772 !CBB_add_u8(&body, TLSEXT_STATUSTYPE_ocsp) || in do_send_server_certificate() 823 !CBB_add_u8(cbb.get(), NAMED_CURVE_TYPE) || in do_send_server_certificate() 925 !CBB_add_u8(&cert_types, SSL3_CT_RSA_SIGN) || in do_send_server_hello_done() 927 !CBB_add_u8(&cert_types, TLS_CT_ECDSA_SIGN)) || in do_send_server_hello_done()
|
D | tls13_server.cc | 501 !CBB_add_u8(&body, 0 /* no compression */) || in do_send_hello_retry_request() 571 !CBB_add_u8(&body, 0) || in do_send_server_hello() 615 !CBB_add_u8(&body, 0 /* no certificate_request_context. */) || in do_send_server_hello()
|
D | handshake_client.cc | 321 !CBB_add_u8(&body, 1 /* one compression method */) || in ssl_write_client_hello() 322 !CBB_add_u8(&body, 0 /* null compression */) || in ssl_write_client_hello()
|
D | ssl_lib.cc | 368 !CBB_add_u8(cbb.get(), 0 /* NUL */) || in ssl_log_secret()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 156 !CBB_add_u8(&version_bytes, 1) || in pkcs7_bundle()
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa_asn1.c | 78 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in rsa_pub_encode()
|
D | p_ed25519_asn1.c | 82 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in ed25519_pub_encode()
|
D | p_ec_asn1.c | 81 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in eckey_pub_encode()
|
D | p_dsa_asn1.c | 117 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in dsa_pub_encode()
|
/external/boringssl/src/include/openssl/ |
D | bytestring.h | 434 OPENSSL_EXPORT int CBB_add_u8(CBB *cbb, uint8_t value);
|
/external/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 228 !CBB_add_u8(&public_key, 0 /* padding */) || in EC_KEY_marshal_private_key()
|
/external/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 1910 !CBB_add_u8(cbb.get(), static_cast<uint8_t>(config->tls13_variant)))) { in WriteSettings()
|