/external/boringssl/src/crypto/bytestring/ |
D | unicode.c | 125 return CBB_add_u8(cbb, (uint8_t)u); in cbb_add_utf8() 128 return CBB_add_u8(cbb, TOP_BITS(2) | (u >> 6)) && in cbb_add_utf8() 129 CBB_add_u8(cbb, TOP_BITS(1) | (u & BOTTOM_BITS(6))); in cbb_add_utf8() 132 return CBB_add_u8(cbb, TOP_BITS(3) | (u >> 12)) && in cbb_add_utf8() 133 CBB_add_u8(cbb, TOP_BITS(1) | ((u >> 6) & BOTTOM_BITS(6))) && in cbb_add_utf8() 134 CBB_add_u8(cbb, TOP_BITS(1) | (u & BOTTOM_BITS(6))); in cbb_add_utf8() 137 return CBB_add_u8(cbb, TOP_BITS(4) | (u >> 18)) && in cbb_add_utf8() 138 CBB_add_u8(cbb, TOP_BITS(1) | ((u >> 12) & BOTTOM_BITS(6))) && in cbb_add_utf8() 139 CBB_add_u8(cbb, TOP_BITS(1) | ((u >> 6) & BOTTOM_BITS(6))) && in cbb_add_utf8() 140 CBB_add_u8(cbb, TOP_BITS(1) | (u & BOTTOM_BITS(6))); in cbb_add_utf8() [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 497 if ((byte & 0x80) && !CBB_add_u8(&child, 0)) { in CBB_add_asn1_uint64() 502 if (!CBB_add_u8(&child, byte)) { in CBB_add_asn1_uint64() 508 if (!started && !CBB_add_u8(&child, 0)) { in CBB_add_asn1_uint64() 529 !CBB_add_u8(&child, value != 0 ? 0xff : 0) || in CBB_add_asn1_bool()
|
D | bytestring_test.cc | 328 ASSERT_TRUE(CBB_add_u8(cbb.get(), 1)); in TEST() 353 ASSERT_TRUE(CBB_add_u8(cbb.get(), 1)); in TEST() 361 ASSERT_TRUE(CBB_add_u8(cbb.get(), 1)); in TEST() 362 EXPECT_FALSE(CBB_add_u8(cbb.get(), 2)); in TEST() 394 ASSERT_TRUE(CBB_add_u8(&contents, 1)); in TEST() 404 ASSERT_TRUE(CBB_add_u8(&inner_contents, 1)); in TEST() 407 ASSERT_TRUE(CBB_add_u8(&inner_inner_contents, 2)); in TEST() 419 ASSERT_TRUE(CBB_add_u8(cbb.get(), 0xaa)); in TEST() 426 ASSERT_TRUE(CBB_add_u8(&contents, 0xbb)); in TEST() 432 ASSERT_TRUE(CBB_add_u8(&contents, 0xff)); in TEST() [all …]
|
D | cbs.c | 606 !CBB_add_u8(&cbb, '.') || in CBS_asn1_oid_to_text() 613 !CBB_add_u8(&cbb, '.') || in CBS_asn1_oid_to_text() 621 if (!CBB_add_u8(&cbb, '\0') || in CBS_asn1_oid_to_text()
|
/external/boringssl/src/crypto/bn_extra/ |
D | convert.c | 252 !CBB_add_u8(&cbb, 0 /* trailing NUL */)) { in BN_bn2dec() 257 if (!CBB_add_u8(&cbb, '0')) { in BN_bn2dec() 274 if (!CBB_add_u8(&cbb, '0' + word % 10)) { in BN_bn2dec() 284 !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 | 172 !CBB_add_u8(cbb, type) || in ssl3_init_message() 427 !CBB_add_u8(client_hello.get(), SSL3_MT_CLIENT_HELLO) || in read_v2_client_hello() 432 !CBB_add_u8(&hello_body, 0) || in read_v2_client_hello() 457 if (!CBB_add_u8(&hello_body, 1) || in read_v2_client_hello() 458 !CBB_add_u8(&hello_body, 0) || in read_v2_client_hello()
|
D | tls13_both.cc | 66 if (!CBB_add_u8(cbb.get(), 0x20)) { in tls13_get_cert_verify_signature_input() 440 !CBB_add_u8(body, 0) || in tls13_add_certificate() 478 !CBB_add_u8(&contents, TLSEXT_STATUSTYPE_ocsp) || in tls13_add_certificate() 630 !CBB_add_u8(&body_cbb, update_requested) || in tls13_add_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() 698 !CBB_add_u8(cbb.get(), hdr.type) || in seal_next_message()
|
D | t1_lib.cc | 612 !CBB_add_u8(&server_name_list, TLSEXT_NAMETYPE_host_name) || in ext_sni_add_clienthello() 846 !CBB_add_u8(out, 0 /* empty renegotiation info */)) { in ext_ri_add_serverhello() 1100 !CBB_add_u8(&contents, TLSEXT_STATUSTYPE_ocsp) || in ext_ocsp_add_clienthello() 1661 if (!CBB_add_u8(&contents, 0 /* empty use_mki value */) || in ext_srtp_add_clienthello() 1766 !CBB_add_u8(&contents, 0 /* empty MKI */) || in ext_srtp_add_serverhello() 1784 !CBB_add_u8(&formats, TLSEXT_ECPOINTFORMAT_uncompressed) || in ext_ec_point_add_extension() 2024 !CBB_add_u8(&ke_modes, SSL_PSK_DHE_KE)) { in ext_psk_key_exchange_modes_add_clienthello() 2176 !CBB_add_u8(&kse_bytes, 0 /* one byte key share */))) { in ext_key_share_add_clienthello() 2628 !CBB_add_u8(¶ms, ssl->s3->negotiated_token_binding_param) || in ext_token_binding_add_serverhello() 3114 !CBB_add_u8(&extensions, 0 /* single zero byte as contents */)) { in ssl_add_clienthello_tlsext()
|
D | handshake_server.cc | 850 !CBB_add_u8(&body, 0 /* no compression */) || in do_send_server_hello() 883 !CBB_add_u8(&body, TLSEXT_STATUSTYPE_ocsp) || in do_send_server_certificate() 936 !CBB_add_u8(cbb.get(), NAMED_CURVE_TYPE) || in do_send_server_certificate() 1039 !CBB_add_u8(&cert_types, SSL3_CT_RSA_SIGN) || in do_send_server_hello_done() 1040 !CBB_add_u8(&cert_types, TLS_CT_ECDSA_SIGN) || in do_send_server_hello_done()
|
D | tls13_server.cc | 532 !CBB_add_u8(&body, 0 /* no compression */) || in do_send_hello_retry_request() 602 !CBB_add_u8(&body, 0) || in do_send_server_hello() 646 !CBB_add_u8(&body, 0 /* no certificate_request_context. */) || in do_send_server_hello()
|
D | handshake_client.cc | 315 !CBB_add_u8(&body, 1 /* one compression method */) || in ssl_write_client_hello() 316 !CBB_add_u8(&body, 0 /* null compression */) || in ssl_write_client_hello()
|
D | ssl_lib.cc | 358 !CBB_add_u8(cbb.get(), 0 /* NUL */) || in ssl_log_secret()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 148 !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/crypto/asn1/ |
D | a_mbstr.c | 266 !CBB_add_u8(&cbb, 0) || in OPENSSL_DECLARE_ERROR_REASON()
|
/external/boringssl/src/include/openssl/ |
D | bytestring.h | 452 OPENSSL_EXPORT int CBB_add_u8(CBB *cbb, uint8_t value);
|
/external/boringssl/src/ssl/test/ |
D | test_config.cc | 1301 if (!CBB_add_u8(out, 1) || !CBB_add_u8(out, 2) || in SetupCtx() 1302 !CBB_add_u8(out, 3) || !CBB_add_u8(out, 4) || in SetupCtx()
|
/external/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 227 !CBB_add_u8(&public_key, 0 /* padding */) || in EC_KEY_marshal_private_key()
|
/external/grpc-grpc/src/objective-c/ |
D | grpc_shadow_boringssl_symbol_list | 661 CBB_add_u8
|
/external/grpc-grpc/src/core/tsi/ |
D | grpc_shadow_boringssl.h | 689 #define CBB_add_u8 GRPC_SHADOW_CBB_add_u8 macro
|