/external/boringssl/src/crypto/bytestring/ |
ber.c | 38 CBS_init(&in, CBS_data(orig_in), CBS_len(orig_in)); 51 CBS_data(&contents)[header_len-1] == 0x80) { 80 memcmp(CBS_data(contents), "\x00\x00", 2) == 0; 111 if (header_len > 0 && CBS_data(&contents)[header_len - 1] == 0x80) { 131 CBS_init(&in_copy, CBS_data(in), CBS_len(in)); 182 if (!CBB_add_bytes(out_contents, CBS_data(&contents),
|
cbs.c | 46 const uint8_t *CBS_data(const CBS *cbs) { 279 return CBS_data(cbs)[0] == tag_value; 292 data = CBS_data(&bytes); 389 boolean = CBS_data(&child2)[0];
|
bytestring_test.cc | 129 memcmp(CBS_data(&contents), "\x01\x02", 2) != 0) { 190 memcmp(CBS_data(&contents), "\x04\x01\x01", 3) != 0) { 202 CBS_data(&contents)[0] != 1) {
|
/external/boringssl/src/crypto/x509/ |
pkcs7.c | 50 CBS_init(&in, CBS_data(cbs), CBS_len(cbs)); 81 CBS_init(out, CBS_data(&signed_data), CBS_len(&signed_data)); 120 inp = CBS_data(&cert); 126 assert(inp == CBS_data(&cert) + CBS_len(&cert)); 188 inp = CBS_data(&crl_data); 194 assert(inp == CBS_data(&crl_data) + CBS_len(&crl_data));
|
/external/boringssl/src/ssl/ |
ssl_asn1.c | 515 memcpy(ret->session_id, CBS_data(&session_id), CBS_len(&session_id)); 522 memcpy(ret->master_key, CBS_data(&master_key), CBS_len(&master_key)); 537 ptr = CBS_data(&peer); 542 if (ptr != CBS_data(&peer) + CBS_len(&peer)) { 552 memcpy(ret->sid_ctx, CBS_data(&sid_ctx), CBS_len(&sid_ctx)); 568 memcpy(ret->peer_sha256, CBS_data(&peer_sha256), sizeof(ret->peer_sha256)); 579 memcpy(ret->original_handshake_hash, CBS_data(&original_handshake_hash), 586 *pp = CBS_data(&cbs);
|
t1_reneg.c | 226 d = CBS_data(&renegotiated_connection);
|
s3_clnt.c | 792 memcpy(s->s3->server_random, CBS_data(&server_random), SSL3_RANDOM_SIZE); 816 memcpy(s->session->session_id, CBS_data(&session_id), CBS_len(&session_id)); 960 data = CBS_data(&certificate); 967 if (data != CBS_data(&certificate) + CBS_len(&certificate)) { [all...] |
s3_srvr.c | 714 if (!ssl3_finish_mac(s, CBS_data(&v2_client_hello), 719 s->msg_callback(0, SSL2_VERSION, 0, CBS_data(&v2_client_hello), 746 memcpy(random + (SSL3_RANDOM_SIZE - rand_len), CBS_data(&challenge), 897 memcpy(s->s3->client_random, CBS_data(&client_random), SSL3_RANDOM_SIZE); [all...] |
t1_lib.c | 263 ctx->session_id = CBS_data(&session_id); 280 ctx->cipher_suites = CBS_data(&cipher_suites); 288 ctx->compression_methods = CBS_data(&compression_methods); 305 ctx->extensions = CBS_data(&extensions); 329 *out_data = CBS_data(&extension); [all...] |
d1_clnt.c | 550 memcpy(s->d1->cookie, CBS_data(&cookie), CBS_len(&cookie));
|
/external/boringssl/src/crypto/pkcs8/ |
pkcs8.c | 665 CBS_init(&in, CBS_data(content_infos), CBS_len(content_infos)); 748 inp = CBS_data(&ai); 753 if (inp != CBS_data(&ai) + CBS_len(&ai)) { 761 CBS_data(&encrypted_contents), CBS_len(&encrypted_contents), 785 const uint8_t *inp = CBS_data(&wrapped_contents); 803 if (inp != CBS_data(&wrapped_contents) + CBS_len(&wrapped_contents)) { 837 const uint8_t *inp = CBS_data(&cert); 844 if (inp != CBS_data(&cert) + CBS_len(&cert)) { 883 CBS_init(&in, CBS_data(ber_in), CBS_len(ber_in)); 987 if (!pkcs12_key_gen_raw(ctx.password, ctx.password_len, CBS_data(&salt) [all...] |
/external/boringssl/src/include/openssl/ |
bytestring.h | 50 /* CBS_data returns a pointer to the contents of |cbs|. */ 51 OPENSSL_EXPORT const uint8_t *CBS_data(const CBS *cbs);
|
/external/boringssl/src/crypto/evp/ |
evp_extra_test.cc | 480 const uint8_t *derp = CBS_data(&algorithm); 482 if (!algor || derp != CBS_data(&algorithm) + CBS_len(&algorithm)) { 492 !EVP_DigestVerifyUpdate(md_ctx.get(), CBS_data(&tbs_cert), 494 !EVP_DigestVerifyFinal(md_ctx.get(), CBS_data(&signature),
|
p_rsa.c | 599 *out_label = CBS_data(&label);
|
/external/boringssl/src/crypto/obj/ |
obj.c | 220 obj.data = CBS_data(cbs);
|