/external/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 179 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 182 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 183 !CBB_add_asn1(¶m, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 186 !CBB_add_asn1(&kdf, &kdf_param, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 194 !CBB_add_asn1(¶m, &cipher_cbb, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 212 if (!CBS_get_asn1(param, &pbe_param, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 214 !CBS_get_asn1(&pbe_param, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 215 !CBS_get_asn1(&pbe_param, &enc_scheme, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 239 if (!CBS_get_asn1(&kdf, &pbkdf2_params, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 269 if (!CBS_get_asn1(&pbkdf2_params, &alg_id, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init()
|
D | pkcs8_x509.c | 263 if (!CBS_get_asn1(&in, &child, CBS_ASN1_SEQUENCE) || in PKCS12_handle_sequence() 271 if (!CBS_get_asn1(&child, &element, CBS_ASN1_SEQUENCE)) { in PKCS12_handle_sequence() 339 if (!CBS_get_asn1(&wrapped_value, &cert_bag, CBS_ASN1_SEQUENCE) || in PKCS12_handle_safe_bag() 419 if (!CBS_get_asn1(&wrapped_contents, &contents, CBS_ASN1_SEQUENCE) || in PKCS12_handle_content_info() 423 !CBS_get_asn1(&contents, &eci, CBS_ASN1_SEQUENCE) || in PKCS12_handle_content_info() 427 !CBS_get_asn1(&eci, &ai, CBS_ASN1_SEQUENCE) || in PKCS12_handle_content_info() 497 if (!CBS_get_asn1(&in, &pfx, CBS_ASN1_SEQUENCE) || in PKCS12_get_key_and_certs() 509 if (!CBS_get_asn1(&pfx, &authsafe, CBS_ASN1_SEQUENCE)) { in PKCS12_get_key_and_certs() 519 if (!CBS_get_asn1(&pfx, &mac_data, CBS_ASN1_SEQUENCE)) { in PKCS12_get_key_and_certs() 553 if (!CBS_get_asn1(&mac_data, &mac, CBS_ASN1_SEQUENCE)) { in PKCS12_get_key_and_certs()
|
D | pkcs8.c | 258 if (!CBS_get_asn1(param, &pbe_param, CBS_ASN1_SEQUENCE) || in pkcs12_pbe_decrypt_init() 338 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || in pkcs12_pbe_encrypt_init() 341 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || in pkcs12_pbe_encrypt_init() 416 if (!CBS_get_asn1(cbs, &epki, CBS_ASN1_SEQUENCE) || in PKCS8_parse_encrypted_private_key() 417 !CBS_get_asn1(&epki, &algorithm, CBS_ASN1_SEQUENCE) || in PKCS8_parse_encrypted_private_key() 479 if (!CBB_add_asn1(out, &epki, CBS_ASN1_SEQUENCE)) { in PKCS8_marshal_encrypted_private_key()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 60 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header() 74 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header() 77 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) { in pkcs7_parse_header() 115 if (!CBS_get_asn1_element(&certificates, &cert, CBS_ASN1_SEQUENCE)) { in PKCS7_get_raw_certificates() 148 if (!CBB_add_asn1(out, &outer_seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 154 !CBB_add_asn1(&wrapped_seq, &seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 158 !CBB_add_asn1(&seq, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_bundle()
|
D | pkcs7_x509.c | 96 if (!CBS_get_asn1_element(&crls, &crl_data, CBS_ASN1_SEQUENCE)) { in PKCS7_get_CRLs()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 91 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_SIG_parse() 104 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_SIG_marshal() 120 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_public_key() 135 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_public_key() 153 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_parameters() 167 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_parameters() 186 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_private_key() 215 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_private_key()
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa_asn1.c | 82 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in rsa_pub_encode() 83 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in rsa_pub_encode() 139 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in rsa_priv_encode() 141 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in rsa_priv_encode()
|
D | evp_asn1.c | 101 if (!CBS_get_asn1(cbs, &spki, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key() 102 !CBS_get_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key() 151 if (!CBS_get_asn1(cbs, &pkcs8, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key() 154 !CBS_get_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key() 276 if (!CBS_get_asn1(&cbs, &sequence, CBS_ASN1_SEQUENCE)) { in num_elements()
|
D | p_ed25519_asn1.c | 81 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode() 82 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode() 132 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode() 134 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode()
|
D | p_ec_asn1.c | 75 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in eckey_pub_encode() 76 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in eckey_pub_encode() 175 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in eckey_priv_encode() 177 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in eckey_priv_encode()
|
D | p_dsa_asn1.c | 110 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in dsa_pub_encode() 111 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in dsa_pub_encode() 178 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in dsa_priv_encode() 180 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in dsa_priv_encode()
|
/external/boringssl/src/ssl/ |
D | ssl_cert.cc | 541 if (!CBS_get_asn1(&buf, &toplevel, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 543 !CBS_get_asn1(&toplevel, out_tbs_cert, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 551 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 553 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 555 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 557 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE)) { in ssl_cert_skip_to_spki() 636 !CBS_get_asn1(&tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_check_digital_signature_key_usage() 656 if (!CBS_get_asn1(&outer_extensions, &extensions, CBS_ASN1_SEQUENCE)) { in ssl_cert_check_digital_signature_key_usage() 662 if (!CBS_get_asn1(&extensions, &extension, CBS_ASN1_SEQUENCE) || in ssl_cert_check_digital_signature_key_usage()
|
D | ssl_asn1.cc | 207 !CBB_add_asn1(&cbb, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_to_bytes_full() 587 if (!CBS_get_asn1(cbs, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_parse()
|
/external/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 78 if (!CBS_get_asn1(cbs, &ec_private_key, CBS_ASN1_SEQUENCE) || in EC_KEY_parse_private_key() 201 if (!CBB_add_asn1(cbb, &ec_private_key, CBS_ASN1_SEQUENCE) || in EC_KEY_marshal_private_key() 270 if (!CBS_get_asn1(in, ¶ms, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve() 273 !CBS_get_asn1(¶ms, &field_id, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve() 280 !CBS_get_asn1(¶ms, &curve, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve() 373 if (!CBS_peek_asn1_tag(cbs, CBS_ASN1_SEQUENCE)) { in EC_KEY_parse_parameters()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_asn1.c | 103 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in parse_public_key() 148 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in RSA_marshal_public_key() 184 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in RSA_parse_private_key() 237 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in RSA_marshal_private_key()
|
/external/boringssl/src/crypto/dh/ |
D | dh_asn1.c | 93 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DH_parse_parameters() 122 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DH_marshal_parameters()
|
/external/boringssl/src/crypto/ecdsa_extra/ |
D | ecdsa_asn1.c | 173 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in ECDSA_SIG_parse() 198 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in ECDSA_SIG_marshal()
|
/external/boringssl/src/crypto/digest_extra/ |
D | digest_extra.c | 166 if (!CBS_get_asn1(cbs, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_digest_algorithm()
|
/external/boringssl/src/include/openssl/ |
D | bytestring.h | 137 #define CBS_ASN1_SEQUENCE (0x10u | CBS_ASN1_CONSTRUCTED) macro
|
/external/boringssl/src/crypto/bytestring/ |
D | bytestring_test.cc | 208 EXPECT_EQ(CBS_ASN1_SEQUENCE, tag); in TEST() 214 EXPECT_EQ(CBS_ASN1_SEQUENCE, tag); in TEST()
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | NativeCrypto.cpp | 4373 if (!CBS_get_asn1(cbs->cbs.get(), seq->cbs.get(), CBS_ASN1_SEQUENCE)) { in NativeCrypto_asn1_read_sequence() 4452 if (!CBB_add_asn1(cbb, seq.get(), CBS_ASN1_SEQUENCE)) { in NativeCrypto_asn1_write_sequence() 4792 if (!CBS_get_asn1(&cbs, &sequence, CBS_ASN1_SEQUENCE)) { in NativeCrypto_ASN1_seq_unpack_X509_bio() 4799 if (!CBS_get_asn1_element(&sequence, &child, CBS_ASN1_SEQUENCE)) { in NativeCrypto_ASN1_seq_unpack_X509_bio() 4845 if (!CBB_add_asn1(result.get(), &seq_contents, CBS_ASN1_SEQUENCE)) { in NativeCrypto_ASN1_seq_pack_X509() 8257 if (!CBS_get_asn1(cert_id, &hash_algorithm, CBS_ASN1_SEQUENCE) || in ocsp_cert_id_matches_certificate() 8329 if (!CBS_get_asn1(responses, &single_response, CBS_ASN1_SEQUENCE)) { in find_ocsp_single_response() 8339 if (!CBS_get_asn1(&single_response, &cert_id, CBS_ASN1_SEQUENCE)) { in find_ocsp_single_response() 8365 !CBS_get_asn1(&tagged_response_bytes, &response_bytes, CBS_ASN1_SEQUENCE)) { in get_ocsp_basic_response() 8381 return CBS_get_asn1(&response, basic_response, CBS_ASN1_SEQUENCE) == 1; in get_ocsp_basic_response() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | x509_test.cc | 794 ASSERT_EQ(CBS_ASN1_SEQUENCE, enc_pointer[0]); in TEST()
|