Home
last modified time | relevance | path

Searched refs:CBB_add_u8 (Results 1 – 20 of 20) sorted by relevance

/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc304 if (!CBB_add_u8(&cbb, 1) || in TestCBBBasic()
334 !CBB_add_u8(cbb.get(), 1) || in TestCBBFixed()
344 !CBB_add_u8(cbb.get(), 1) || in TestCBBFixed()
345 CBB_add_u8(cbb.get(), 2)) { in TestCBBFixed()
381 !CBB_add_u8(&contents, 1) || in TestCBBPrefixed()
391 !CBB_add_u8(&inner_contents, 1) || in TestCBBPrefixed()
393 !CBB_add_u8(&inner_inner_contents, 2) || in TestCBBPrefixed()
409 !CBB_add_u8(cbb.get(), 0xaa)) { in TestCBBDiscardChild()
418 !CBB_add_u8(&contents, 0xbb) || in TestCBBDiscardChild()
424 !CBB_add_u8(&contents, 0xff) || in TestCBBDiscardChild()
[all …]
Dcbb.c342 !CBB_add_u8(cbb, (uint8_t)tag)) { in CBB_add_asn1()
347 if (!CBB_add_u8(cbb, 0)) { in CBB_add_asn1()
399 int CBB_add_u8(CBB *cbb, uint8_t value) { in CBB_add_u8() function
459 if ((byte & 0x80) && !CBB_add_u8(&child, 0)) { in CBB_add_asn1_uint64()
464 if (!CBB_add_u8(&child, byte)) { in CBB_add_asn1_uint64()
470 if (!started && !CBB_add_u8(&child, 0)) { in CBB_add_asn1_uint64()
/external/boringssl/src/crypto/bn/
Dconvert.c428 !CBB_add_u8(&cbb, 0 /* trailing NUL */)) { in BN_bn2dec()
433 if (!CBB_add_u8(&cbb, '0')) { in BN_bn2dec()
450 if (!CBB_add_u8(&cbb, '0' + word % 10)) { in BN_bn2dec()
460 !CBB_add_u8(&cbb, '-')) { in BN_bn2dec()
Dbn_asn1.c72 (BN_num_bits(bn) % 8 == 0 && !CBB_add_u8(&child, 0x00)) || in BN_marshal_asn1()
/external/boringssl/src/ssl/
Ds3_both.c236 !CBB_add_u8(cbb, type) || in ssl3_init_message()
632 !CBB_add_u8(&client_hello, SSL3_MT_CLIENT_HELLO) || in read_v2_client_hello()
637 !CBB_add_u8(&hello_body, 0) || in read_v2_client_hello()
665 if (!CBB_add_u8(&hello_body, 1) || !CBB_add_u8(&hello_body, 0) || in read_v2_client_hello()
Dtls13_both.c127 if (!CBB_add_u8(&cbb, 0x20)) { in tls13_get_cert_verify_signature_input()
452 !CBB_add_u8(&body, 0) || in tls13_add_certificate()
496 !CBB_add_u8(&contents, TLSEXT_STATUSTYPE_ocsp) || in tls13_add_certificate()
Dd1_both.c175 !CBB_add_u8(&cbb, msg_hdr->type) || in dtls1_hm_fragment_new()
508 !CBB_add_u8(cbb, type) || in dtls1_init_message()
684 !CBB_add_u8(&cbb, hdr.type) || in seal_next_message()
Dt1_lib.c594 !CBB_add_u8(&server_name_list, TLSEXT_NAMETYPE_host_name) || in ext_sni_add_clienthello()
840 !CBB_add_u8(out, 0 /* empty renegotiation info */)) { in ext_ri_add_serverhello()
1092 !CBB_add_u8(&contents, TLSEXT_STATUSTYPE_ocsp) || in ext_ocsp_add_clienthello()
1655 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()
2055 !CBB_add_u8(&ke_modes, SSL_PSK_DHE_KE)) { in ext_psk_key_exchange_modes_add_clienthello()
2210 !CBB_add_u8(&kse_bytes, 0 /* one byte key share */))) { in ext_key_share_add_clienthello()
2776 !CBB_add_u8(&extensions, 0 /* single zero byte as contents */)) { in ssl_add_clienthello_tlsext()
Dhandshake_server.c1098 !CBB_add_u8(&body, 0 /* no compression */) || in ssl3_send_server_hello()
1127 !CBB_add_u8(&body, TLSEXT_STATUSTYPE_ocsp) || in ssl3_send_certificate_status()
1206 !CBB_add_u8(&cbb, NAMED_CURVE_TYPE) || in ssl3_send_server_key_exchange()
1341 if (have_rsa_sign && !CBB_add_u8(cbb, SSL3_CT_RSA_SIGN)) { in add_cert_types()
1348 !CBB_add_u8(cbb, TLS_CT_ECDSA_SIGN)) { in add_cert_types()
Dssl_asn1.c329 !CBB_add_u8(&child2, 0xff)) { in SSL_SESSION_to_bytes_full()
373 !CBB_add_u8(&child2, 0x00)) { in SSL_SESSION_to_bytes_full()
Dtls13_server.c558 !CBB_add_u8(&body, 0 /* no certificate_request_context. */)) { in do_send_server_hello()
Dhandshake_client.c707 !CBB_add_u8(&body, 1 /* one compression method */) || in ssl_write_client_hello()
708 !CBB_add_u8(&body, 0 /* null compression */) || in ssl_write_client_hello()
Dssl_lib.c2269 !CBB_add_u8(&cbb, 0 /* NUL */) || in ssl_log_secret()
/external/boringssl/src/crypto/obj/
Dobj.c502 !CBB_add_u8(&cbb, '.') || in OBJ_obj2txt()
509 !CBB_add_u8(&cbb, '.') || in OBJ_obj2txt()
517 if (!CBB_add_u8(&cbb, '\0') || in OBJ_obj2txt()
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c78 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in rsa_pub_encode()
Dp_ec_asn1.c81 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in eckey_pub_encode()
Dp_dsa_asn1.c117 !CBB_add_u8(&key_bitstring, 0 /* padding */) || in dsa_pub_encode()
/external/boringssl/src/include/openssl/
Dbytestring.h412 OPENSSL_EXPORT int CBB_add_u8(CBB *cbb, uint8_t value);
/external/boringssl/src/crypto/x509/
Dpkcs7.c287 !CBB_add_u8(&version_bytes, 1) || in pkcs7_bundle()
/external/boringssl/src/crypto/ec/
Dec_asn1.c227 !CBB_add_u8(&public_key, 0 /* padding */) || in EC_KEY_marshal_private_key()