/external/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 35 CBS_init(&data, kData, sizeof(kData)); in TEST() 53 CBS_init(&data, kData, sizeof(kData)); in TEST() 79 CBS_init(&data, kData, sizeof(kData)); in TEST() 100 CBS_init(&data, kData1, sizeof(kData1)); in TEST() 103 CBS_init(&data, kData2, sizeof(kData2)); in TEST() 106 CBS_init(&data, kData3, sizeof(kData3)); in TEST() 125 CBS_init(&data, kData1, sizeof(kData1)); in TEST() 132 CBS_init(&data, kData2, sizeof(kData2)); in TEST() 136 CBS_init(&data, kData3, sizeof(kData3)); in TEST() 140 CBS_init(&data, kData4, sizeof(kData4)); in TEST() [all …]
|
D | ber.c | 63 CBS_init(&in, CBS_data(orig_in), CBS_len(orig_in)); in cbs_find_ber() 218 CBS_init(out, *out_storage, len); in CBS_asn1_ber_to_der() 258 CBS_init(out, data, len); in CBS_get_asn1_implicit_string()
|
D | cbs.c | 27 void CBS_init(CBS *cbs, const uint8_t *data, size_t len) { in CBS_init() function 160 CBS_init(out, v, len); in CBS_get_bytes() 488 CBS_init(out, NULL, 0); in CBS_get_optional_asn1_octet_string()
|
D | cbb.c | 574 CBS_init(&cbs, (const uint8_t *)text, len); in CBB_add_asn1_oid_from_text() 628 CBS_init(&cbs, CBB_data(cbb), CBB_len(cbb)); in CBB_flush_asn1_set_of() 652 CBS_init(&cbs, buf, buf_len); in CBB_flush_asn1_set_of()
|
/external/boringssl/src/crypto/evp/ |
D | evp_asn1.c | 254 CBS_init(&cbs, *inp, (size_t)len); in d2i_PrivateKey() 259 CBS_init(&cbs, *inp, (size_t)len); in d2i_PrivateKey() 283 CBS_init(&cbs, in, (size_t)in_len); in num_elements() 309 CBS_init(&cbs, *inp, (size_t)len); in d2i_AutoPrivateKey() 356 CBS_init(&cbs, *inp, len < 0 ? 0 : (size_t)len); in d2i_PublicKey()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7_x509.c | 85 CBS_init(&crls, NULL, 0); in PKCS7_get_CRLs() 144 CBS_init(&cbs, data, len); in PKCS7_get_PEM_certificates() 166 CBS_init(&cbs, data, len); in PKCS7_get_PEM_CRLs() 278 CBS_init(&cbs, *inp, len); in d2i_PKCS7() 301 CBS_init(&cbs, data, len); in d2i_PKCS7_bio() 381 CBS_init(&cbs, der, len); in PKCS7_sign()
|
D | pkcs7_test.cc | 481 CBS_init(&pkcs7, der_bytes, der_len); in TestCertRepase() 491 CBS_init(&pkcs7, result_data, result_len); in TestCertRepase() 563 CBS_init(&pkcs7, der_bytes, der_len); in TestCRLReparse() 573 CBS_init(&pkcs7, result_data, result_len); in TestCRLReparse()
|
D | pkcs7.c | 77 CBS_init(out, CBS_data(&signed_data), CBS_len(&signed_data)); in pkcs7_parse_header() 102 CBS_init(&certificates, NULL, 0); in PKCS7_get_raw_certificates()
|
/external/boringssl/src/crypto/obj/ |
D | obj_test.cc | 35 CBS_init(&cbs, kDER, sizeof(kDER)); in TEST() 50 CBS_init(&cbs, NULL, 0); in TEST() 57 CBS_init(&cbs, kUnknownDER, sizeof(kUnknownDER)); in TEST()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_asn1.c | 117 CBS_init(&cbs, in, in_len); in RSA_public_key_from_bytes() 206 CBS_init(&cbs, in, in_len); in RSA_private_key_from_bytes() 254 CBS_init(&cbs, *inp, (size_t)len); in d2i_RSAPublicKey() 282 CBS_init(&cbs, *inp, (size_t)len); in d2i_RSAPrivateKey()
|
/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/digest_extra/ |
D | digest_test.cc | 263 CBS_init(&cbs, kSHA256, sizeof(kSHA256)); in TEST() 268 CBS_init(&cbs, kSHA256NoParam, sizeof(kSHA256NoParam)); in TEST() 273 CBS_init(&cbs, kSHA256GarbageParam, sizeof(kSHA256GarbageParam)); in TEST()
|
/external/boringssl/src/crypto/ec_extra/ |
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() 434 CBS_init(&cbs, *inp, (size_t)len); in d2i_ECPrivateKey() 463 CBS_init(&cbs, *inp, (size_t)len); in d2i_ECParameters()
|
/external/boringssl/src/ssl/test/ |
D | fuzzer.h | 296 CBS_init(&cbs, buf, len); in TestOneInput() 437 CBS_init(&cbs, kP256KeyPKCS8, sizeof(kP256KeyPKCS8)); in Init() 533 CBS_init(&b->cbs, in, len); in MakeBIO()
|
/external/boringssl/src/crypto/asn1/ |
D | a_mbstr.c | 134 CBS_init(&cbs, in, len); in OPENSSL_DECLARE_ERROR_REASON() 253 CBS_init(&cbs, in, len); in OPENSSL_DECLARE_ERROR_REASON()
|
/external/boringssl/src/crypto/ecdsa_extra/ |
D | ecdsa_asn1.c | 171 CBS_init(&cbs, in, in_len); in ECDSA_SIG_from_bytes() 246 CBS_init(&cbs, *inp, (size_t)len); in d2i_ECDSA_SIG()
|
/external/nos/host/android/hals/keymaster/ |
D | import_wrapped_key.cpp | 79 CBS_init(out, NULL, 0); in CBS_get_optional_asn1_set() 100 CBS_init(out, NULL, 0); in CBS_get_optional_asn1_null() 359 CBS_init(&cbs, wrappedKeyData.data(), wrappedKeyData.size()); in import_wrapped_key_request()
|
/external/boringssl/src/crypto/dh/ |
D | dh_test.cc | 341 CBS_init(&cbs, kParams, sizeof(kParams)); in TestASN1() 382 CBS_init(&cbs, kParamsDSA, sizeof(kParamsDSA)); in TestASN1()
|
D | dh_asn1.c | 139 CBS_init(&cbs, *inp, (size_t)len); in d2i_DHparams()
|
/external/boringssl/src/ssl/ |
D | d1_both.cc | 351 CBS_init(&cbs, record.data(), record.size()); in dtls1_open_handshake() 416 CBS_init(&out->body, frag->data + DTLS1_HM_HEADER_LENGTH, frag->msg_len); in dtls1_get_message() 417 CBS_init(&out->raw, frag->data, DTLS1_HM_HEADER_LENGTH + frag->msg_len); in dtls1_get_message() 673 CBS_init(&cbs, msg->data, msg->len); in seal_next_message()
|
D | d1_pkt.cc | 149 CBS_init(&cbs, record.data(), record.size()); in dtls1_open_app_data()
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 125 CBS_init(&cbs, der, (size_t)der_len); 187 CBS_init(&cbs, in, in_len); in PKCS8_decrypt() 388 CBS_init(&bag_attrs, NULL, 0); in PKCS12_handle_safe_bag() 540 CBS_init(&safe_contents, out, out_len); in PKCS12_handle_content_info() 897 CBS_init(&ber_bytes, p12->ber_bytes, p12->ber_len); in PKCS12_parse() 967 CBS_init(&name_cbs, (const uint8_t *)name, strlen(name)); in add_bag_attributes()
|
/external/boringssl/src/crypto/curve25519/ |
D | spake25519.c | 283 CBS_init(&my_name_cbs, my_name, my_name_len); in SPAKE2_CTX_new() 284 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/libchrome/crypto/ |
D | rsa_private_key.cc | 48 CBS_init(&cbs, input.data(), input.size()); in CreateFromPrivateKeyInfo()
|