/external/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 36 CBS_init(&data, kData, sizeof(kData)); in TestSkip() 52 CBS_init(&data, kData, sizeof(kData)); in TestGetUint() 74 CBS_init(&data, kData, sizeof(kData)); in TestGetPrefixed() 95 CBS_init(&data, kData1, sizeof(kData1)); in TestGetPrefixedBad() 100 CBS_init(&data, kData2, sizeof(kData2)); in TestGetPrefixedBad() 105 CBS_init(&data, kData3, sizeof(kData3)); in TestGetPrefixedBad() 128 CBS_init(&data, kData1, sizeof(kData1)); in TestGetASN1() 139 CBS_init(&data, kData2, sizeof(kData2)); in TestGetASN1() 145 CBS_init(&data, kData3, sizeof(kData3)); in TestGetASN1() 151 CBS_init(&data, kData4, sizeof(kData4)); in TestGetASN1() [all …]
|
D | ber.c | 66 CBS_init(&in, CBS_data(orig_in), CBS_len(orig_in)); in cbs_find_ber() 257 CBS_init(out, data, len); in CBS_get_asn1_implicit_string()
|
D | cbs.c | 26 void CBS_init(CBS *cbs, const uint8_t *data, size_t len) { in CBS_init() function 145 CBS_init(out, v, len); in CBS_get_bytes() 400 CBS_init(out, NULL, 0); in CBS_get_optional_asn1_octet_string()
|
/external/boringssl/src/crypto/x509/ |
D | pkcs7_test.c | 480 CBS_init(&pkcs7, der_bytes, der_len); in test_cert_reparse() 493 CBS_init(&pkcs7, result_data, result_len); in test_cert_reparse() 544 CBS_init(&pkcs7, der_bytes, der_len); in test_crl_reparse() 557 CBS_init(&pkcs7, result_data, result_len); in test_crl_reparse()
|
D | pkcs7.c | 57 CBS_init(&in, *der_bytes, der_len); in pkcs7_parse_header() 59 CBS_init(&in, CBS_data(cbs), CBS_len(cbs)); in pkcs7_parse_header() 89 CBS_init(out, CBS_data(&signed_data), CBS_len(&signed_data)); in pkcs7_parse_header() 239 CBS_init(&cbs, data, len); in PKCS7_get_PEM_certificates() 261 CBS_init(&cbs, data, len); in PKCS7_get_PEM_CRLs()
|
/external/boringssl/src/crypto/obj/ |
D | obj_test.cc | 36 CBS_init(&cbs, kDER, sizeof(kDER)); in TestBasic() 57 CBS_init(&cbs, NULL, 0); in TestBasic() 66 CBS_init(&cbs, kUnknownDER, sizeof(kUnknownDER)); in TestBasic()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 110 CBS_init(&cbs, der, (size_t)der_len); 172 CBS_init(&cbs, in, in_len); in PKCS8_decrypt() 257 CBS_init(&in, der_bytes, der_len); in PKCS12_handle_sequence() 259 CBS_init(&in, CBS_data(sequence), CBS_len(sequence)); in PKCS12_handle_sequence() 447 CBS_init(&safe_contents, out, out_len); in PKCS12_handle_content_info() 487 CBS_init(&in, der_bytes, der_len); in PKCS12_get_key_and_certs() 489 CBS_init(&in, CBS_data(ber_in), CBS_len(ber_in)); in PKCS12_get_key_and_certs() 737 CBS_init(&ber_bytes, p12->ber_bytes, p12->ber_len); in PKCS12_parse()
|
D | pkcs12_test.cc | 911 CBS_init(&pkcs12, der, der_len); in Test()
|
/external/boringssl/src/crypto/evp/ |
D | evp_asn1.c | 245 CBS_init(&cbs, *inp, (size_t)len); in d2i_PrivateKey() 250 CBS_init(&cbs, *inp, (size_t)len); in d2i_PrivateKey() 274 CBS_init(&cbs, in, (size_t)in_len); in num_elements() 300 CBS_init(&cbs, *inp, (size_t)len); in d2i_AutoPrivateKey()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 234 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSA_SIG() 262 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSAPublicKey() 290 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSAPrivateKey() 318 CBS_init(&cbs, *inp, (size_t)len); in d2i_DSAparams()
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_asn1.c | 136 CBS_init(&cbs, in, in_len); in RSA_public_key_from_bytes() 302 CBS_init(&cbs, in, in_len); in RSA_private_key_from_bytes() 381 CBS_init(&cbs, *inp, (size_t)len); in d2i_RSAPublicKey() 409 CBS_init(&cbs, *inp, (size_t)len); in d2i_RSAPrivateKey()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa_asn1.c | 131 CBS_init(&cbs, in, in_len); in ECDSA_SIG_from_bytes() 206 CBS_init(&cbs, *inp, (size_t)len); in d2i_ECDSA_SIG()
|
/external/boringssl/src/crypto/ec/ |
D | ec_asn1.c | 306 CBS_init(out_base_x, CBS_data(&base), field_len); in parse_explicit_prime_curve() 307 CBS_init(out_base_y, CBS_data(&base) + field_len, field_len); in parse_explicit_prime_curve() 422 CBS_init(&cbs, *inp, (size_t)len); in d2i_ECPrivateKey() 451 CBS_init(&cbs, *inp, (size_t)len); in d2i_ECParameters()
|
/external/boringssl/src/ssl/ |
D | tls13_client.c | 59 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in do_process_hello_retry_request() 169 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in do_process_server_hello() 338 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in do_process_encrypted_extensions() 402 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in do_process_certificate_request() 673 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in tls13_process_new_session_ticket()
|
D | handshake_client.c | 809 CBS_init(&hello_verify_request, ssl->init_msg, ssl->init_num); in dtls1_get_hello_verify() 864 CBS_init(&server_hello, ssl->init_msg, ssl->init_num); in ssl3_get_server_hello() 1057 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in ssl3_get_server_certificate() 1137 CBS_init(&certificate_status, ssl->init_msg, ssl->init_num); in ssl3_get_cert_status() 1200 CBS_init(&server_key_exchange, ssl->init_msg, ssl->init_num); in ssl3_get_server_key_exchange() 1324 CBS_init(¶meter, CBS_data(&server_key_exchange_orig), in ssl3_get_server_key_exchange() 1430 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in ssl3_get_certificate_request() 1874 CBS_init(&new_session_ticket, ssl->init_msg, ssl->init_num); in ssl3_get_new_session_ticket()
|
D | ssl_aead_ctx.c | 186 CBS_init(out, in, in_len); in SSL_AEAD_CTX_open() 249 CBS_init(out, in, len); in SSL_AEAD_CTX_open()
|
D | tls13_both.c | 175 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in tls13_process_certificate() 372 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in tls13_process_certificate_verify() 618 CBS_init(&cbs, ssl->init_msg, ssl->init_num); in tls13_receive_key_update()
|
D | handshake_server.c | 521 CBS_init(&cipher_suites, client_hello->cipher_suites, in ssl_client_cipher_list_contains_cipher() 649 CBS_init(&cipher_suites, client_hello->cipher_suites, in STACK_OF() 1442 CBS_init(&certificate_msg, ssl->init_msg, ssl->init_num); in ssl3_get_client_certificate() 1527 CBS_init(&client_key_exchange, ssl->init_msg, ssl->init_num); in ssl3_get_client_key_exchange() 1795 CBS_init(&certificate_verify, ssl->init_msg, ssl->init_num); in ssl3_get_cert_verify() 1892 CBS_init(&next_protocol, ssl->init_msg, ssl->init_num); in ssl3_get_next_proto()
|
D | d1_both.c | 337 CBS_init(&cbs, rr->data, rr->length); in dtls1_process_handshake_record() 436 CBS_init(out, frag->data, DTLS1_HM_HEADER_LENGTH + frag->msg_len); in dtls1_get_current_message() 659 CBS_init(&cbs, msg->data, msg->len); in seal_next_message()
|
D | s3_both.c | 577 CBS_init(&v2_client_hello, ssl_read_buffer(ssl) + 2, msg_length); in read_v2_client_hello() 741 CBS_init(out, (uint8_t *)ssl->init_buf->data, ssl->init_buf->length); in ssl3_get_current_message() 779 CBS_init(ext_types[i].out_data, NULL, 0); in ssl_parse_extensions()
|
/external/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 299 CBS_init(&my_name_cbs, my_name, my_name_len); in SPAKE2_CTX_new() 300 CBS_init(&their_name_cbs, their_name, their_name_len); in SPAKE2_CTX_new()
|
/external/boringssl/src/tool/ |
D | pkcs12.cc | 121 CBS_init(&pkcs12, contents.get(), size); in DoPKCS12()
|
/external/boringssl/src/crypto/dh/ |
D | dh_asn1.c | 139 CBS_init(&cbs, *inp, (size_t)len); in d2i_DHparams()
|
D | dh_test.cc | 559 CBS_init(&cbs, kParams, sizeof(kParams)); in TestASN1() 600 CBS_init(&cbs, kParamsDSA, sizeof(kParamsDSA)); in TestASN1()
|
/external/boringssl/src/crypto/pool/ |
D | pool.c | 199 CBS_init(out, buf->data, buf->len); in CRYPTO_BUFFER_init_CBS()
|