Home
last modified time | relevance | path

Searched refs:CBB_add_bytes (Results 1 – 13 of 13) sorted by relevance

/external/boringssl/src/ssl/
Dssl_asn1.c201 !CBB_add_bytes(&child, in->session_id, in SSL_SESSION_to_bytes_full()
204 !CBB_add_bytes(&child, in->master_key, in->master_key_length)) { in SSL_SESSION_to_bytes_full()
241 !CBB_add_bytes(&child2, in->sid_ctx, in->sid_ctx_length)) { in SSL_SESSION_to_bytes_full()
257 !CBB_add_bytes(&child2, (const uint8_t *)in->tlsext_hostname, in SSL_SESSION_to_bytes_full()
267 !CBB_add_bytes(&child2, (const uint8_t *)in->psk_identity, in SSL_SESSION_to_bytes_full()
285 !CBB_add_bytes(&child2, in->tlsext_tick, in->tlsext_ticklen)) { in SSL_SESSION_to_bytes_full()
294 !CBB_add_bytes(&child2, in->peer_sha256, sizeof(in->peer_sha256))) { in SSL_SESSION_to_bytes_full()
303 !CBB_add_bytes(&child2, in->original_handshake_hash, in SSL_SESSION_to_bytes_full()
313 !CBB_add_bytes(&child2, in->tlsext_signed_cert_timestamp_list, in SSL_SESSION_to_bytes_full()
323 !CBB_add_bytes(&child2, in->ocsp_response, in->ocsp_response_length)) { in SSL_SESSION_to_bytes_full()
Dt1_lib.c695 !CBB_add_bytes(&name, (const uint8_t *)ssl->tlsext_hostname, in ext_sni_add_clienthello()
840 !CBB_add_bytes(&prev_finished, ssl->s3->previous_client_finished, in ext_ri_add_clienthello()
964 !CBB_add_bytes(&prev_finished, ssl->s3->previous_client_finished, in ext_ri_add_serverhello()
966 !CBB_add_bytes(&prev_finished, ssl->s3->previous_server_finished, in ext_ri_add_serverhello()
1065 !CBB_add_bytes(&ticket, ticket_data, ticket_len) || in ext_ticket_add_clienthello()
1135 !CBB_add_bytes(&sigalgs, sigalgs_data, sigalgs_len) || in ext_sigalgs_add_clienthello()
1374 !CBB_add_bytes(&contents, npa, npa_len) || in ext_npn_add_serverhello()
1441 CBB_add_bytes(&contents, ssl->ctx->signed_cert_timestamp_list, in ext_sct_add_serverhello()
1466 !CBB_add_bytes(&proto_list, ssl->alpn_client_proto_list, in ext_alpn_add_clienthello()
1573 !CBB_add_bytes(&proto, ssl->s3->alpn_selected, in ext_alpn_add_serverhello()
Ds3_clnt.c705 !CBB_add_bytes(&cbb, ssl->s3->client_random, SSL3_RANDOM_SIZE) || in ssl3_send_client_hello()
708 !CBB_add_bytes(&child, ssl->session->session_id, in ssl3_send_client_hello()
715 !CBB_add_bytes(&child, ssl->d1->cookie, ssl->d1->cookie_len)) { in ssl3_send_client_hello()
1622 !CBB_add_bytes(&child, (const uint8_t *)identity, in ssl3_send_client_key_exchange()
1735 !CBB_add_bytes(&child, pms, pms_len) || in ssl3_send_client_key_exchange()
1737 !CBB_add_bytes(&child, psk, psk_len) || in ssl3_send_client_key_exchange()
1978 !CBB_add_bytes(&child, ssl->next_proto_negotiated, in ssl3_send_next_proto()
1981 !CBB_add_bytes(&child, kZero, padding_len) || in ssl3_send_next_proto()
Ds3_srvr.c718 !CBB_add_bytes(&hello_body, random, SSL3_RANDOM_SIZE) || in ssl3_get_v2_client_hello()
1148 !CBB_add_bytes(&cbb, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in ssl3_send_server_hello()
1150 !CBB_add_bytes(&session_id, ssl->session->session_id, in ssl3_send_server_hello()
1176 !CBB_add_bytes(&ocsp_response, ssl->ctx->ocsp_response, in ssl3_send_certificate_status()
1225 !CBB_add_bytes(&child, (const uint8_t *)ssl->psk_identity_hint, in ssl3_send_server_key_exchange()
1693 !CBB_add_bytes(&child, premaster_secret, premaster_secret_len) || in ssl3_get_client_key_exchange()
1695 !CBB_add_bytes(&child, psk, psk_len) || in ssl3_get_client_key_exchange()
Dcustom_extensions.c92 !CBB_add_bytes(&contents_cbb, contents, contents_len) || in custom_ext_add_hello()
Dd1_both.c378 !CBB_add_bytes( in dtls1_do_handshake_write()
635 !CBB_add_bytes(&cbb, frag->fragment, frag->msg_header.msg_len) || in dtls1_get_message()
Dssl_ecdh.c180 return CBB_add_bytes(out, public_key, sizeof(public_key)); in ssl_x25519_generate_keypair()
Dssl_lib.c2219 !CBB_add_bytes(&cbb, (const uint8_t *)"RSA ", 4) || in ssl_log_rsa_client_key_exchange()
2223 !CBB_add_bytes(&cbb, (const uint8_t *)" ", 1) || in ssl_log_rsa_client_key_exchange()
2252 !CBB_add_bytes(&cbb, (const uint8_t *)"CLIENT_RANDOM ", 14) || in ssl_log_master_secret()
2254 !CBB_add_bytes(&cbb, (const uint8_t *)" ", 1) || in ssl_log_master_secret()
/external/boringssl/src/crypto/bytestring/
Dbytestring_test.cc285 !CBB_add_bytes(&cbb, (const uint8_t*) "\x07\x08", 2) || in TestCBBBasic()
445 CBB_add_bytes(&child, (const uint8_t*) "a", 1)) { in TestCBBMisuse()
474 !CBB_add_bytes(&contents, (const uint8_t*) "\x01\x02\x03", 3) || in TestCBBASN1()
491 !CBB_add_bytes(&contents, test_data.data(), 130) || in TestCBBASN1()
508 !CBB_add_bytes(&contents, test_data.data(), 1000) || in TestCBBASN1()
526 !CBB_add_bytes(&inner_contents, test_data.data(), 100000) || in TestCBBASN1()
Dber.c182 if (!CBB_add_bytes(out_contents, CBS_data(&contents), in cbs_convert_ber()
Dcbb.c338 int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len) { in CBB_add_bytes() function
/external/boringssl/src/include/openssl/
Dbytestring.h333 OPENSSL_EXPORT int CBB_add_bytes(CBB *cbb, const uint8_t *data, size_t len);
/external/boringssl/src/crypto/obj/
Dobj.c310 !CBB_add_bytes(&oid, obj->data, obj->length) || in OBJ_nid2cbb()