/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 216 if (!CBS_get_asn1(param, &pbe_param, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 218 !CBS_get_asn1(&pbe_param, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 219 !CBS_get_asn1(&pbe_param, &enc_scheme, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 221 !CBS_get_asn1(&kdf, &kdf_obj, CBS_ASN1_OBJECT) || in PKCS5_pbe2_decrypt_init() 222 !CBS_get_asn1(&enc_scheme, &enc_obj, CBS_ASN1_OBJECT)) { in PKCS5_pbe2_decrypt_init() 243 if (!CBS_get_asn1(&kdf, &pbkdf2_params, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 245 !CBS_get_asn1(&pbkdf2_params, &salt, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_decrypt_init() 274 if (!CBS_get_asn1(&pbkdf2_params, &alg_id, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 275 !CBS_get_asn1(&alg_id, &prf, CBS_ASN1_OBJECT) || in PKCS5_pbe2_decrypt_init() 294 if (!CBS_get_asn1(&alg_id, &null, CBS_ASN1_NULL) || in PKCS5_pbe2_decrypt_init() [all …]
|
D | pkcs8_x509.c | 271 if (!CBS_get_asn1(&in, &child, CBS_ASN1_SEQUENCE) || in PKCS12_handle_sequence() 279 if (!CBS_get_asn1(&child, &element, CBS_ASN1_SEQUENCE)) { in PKCS12_handle_sequence() 332 if (!CBS_get_asn1(attrs, &attr, CBS_ASN1_SEQUENCE) || in parse_bag_attributes() 333 !CBS_get_asn1(&attr, &oid, CBS_ASN1_OBJECT) || in parse_bag_attributes() 334 !CBS_get_asn1(&attr, &values, CBS_ASN1_SET) || in parse_bag_attributes() 343 !CBS_get_asn1(&values, &value, CBS_ASN1_BMPSTRING) || in parse_bag_attributes() 385 if (!CBS_get_asn1(safe_bag, &bag_id, CBS_ASN1_OBJECT) || in PKCS12_handle_safe_bag() 386 !CBS_get_asn1(safe_bag, &wrapped_value, in PKCS12_handle_safe_bag() 393 } else if (!CBS_get_asn1(safe_bag, &bag_attrs, CBS_ASN1_SET) || in PKCS12_handle_safe_bag() 430 if (!CBS_get_asn1(&wrapped_value, &cert_bag, CBS_ASN1_SEQUENCE) || in PKCS12_handle_safe_bag() [all …]
|
D | pkcs8.c | 262 if (!CBS_get_asn1(param, &pbe_param, CBS_ASN1_SEQUENCE) || in pkcs12_pbe_decrypt_init() 263 !CBS_get_asn1(&pbe_param, &salt, CBS_ASN1_OCTETSTRING) || in pkcs12_pbe_decrypt_init() 369 if (!CBS_get_asn1(algorithm, &obj, CBS_ASN1_OBJECT)) { in pkcs8_pbe_decrypt() 423 if (!CBS_get_asn1(cbs, &epki, CBS_ASN1_SEQUENCE) || in PKCS8_parse_encrypted_private_key() 424 !CBS_get_asn1(&epki, &algorithm, CBS_ASN1_SEQUENCE) || in PKCS8_parse_encrypted_private_key() 425 !CBS_get_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) || in PKCS8_parse_encrypted_private_key()
|
/external/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 216 if (!CBS_get_asn1(param, &pbe_param, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 218 !CBS_get_asn1(&pbe_param, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 219 !CBS_get_asn1(&pbe_param, &enc_scheme, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 221 !CBS_get_asn1(&kdf, &kdf_obj, CBS_ASN1_OBJECT) || in PKCS5_pbe2_decrypt_init() 222 !CBS_get_asn1(&enc_scheme, &enc_obj, CBS_ASN1_OBJECT)) { in PKCS5_pbe2_decrypt_init() 243 if (!CBS_get_asn1(&kdf, &pbkdf2_params, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 245 !CBS_get_asn1(&pbkdf2_params, &salt, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_decrypt_init() 274 if (!CBS_get_asn1(&pbkdf2_params, &alg_id, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_decrypt_init() 275 !CBS_get_asn1(&alg_id, &prf, CBS_ASN1_OBJECT) || in PKCS5_pbe2_decrypt_init() 294 if (!CBS_get_asn1(&alg_id, &null, CBS_ASN1_NULL) || in PKCS5_pbe2_decrypt_init() [all …]
|
D | pkcs8_x509.c | 302 if (!CBS_get_asn1(&in, &child, CBS_ASN1_SEQUENCE) || in PKCS12_handle_sequence() 310 if (!CBS_get_asn1(&child, &element, CBS_ASN1_SEQUENCE)) { in PKCS12_handle_sequence() 363 if (!CBS_get_asn1(attrs, &attr, CBS_ASN1_SEQUENCE) || in parse_bag_attributes() 364 !CBS_get_asn1(&attr, &oid, CBS_ASN1_OBJECT) || in parse_bag_attributes() 365 !CBS_get_asn1(&attr, &values, CBS_ASN1_SET) || in parse_bag_attributes() 374 !CBS_get_asn1(&values, &value, CBS_ASN1_BMPSTRING) || in parse_bag_attributes() 416 if (!CBS_get_asn1(safe_bag, &bag_id, CBS_ASN1_OBJECT) || in PKCS12_handle_safe_bag() 417 !CBS_get_asn1(safe_bag, &wrapped_value, in PKCS12_handle_safe_bag() 424 } else if (!CBS_get_asn1(safe_bag, &bag_attrs, CBS_ASN1_SET) || in PKCS12_handle_safe_bag() 461 if (!CBS_get_asn1(&wrapped_value, &cert_bag, CBS_ASN1_SEQUENCE) || in PKCS12_handle_safe_bag() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | handoff.cc | 109 if (!CBS_get_asn1(in, &ciphers, CBS_ASN1_OCTETSTRING)) { in apply_remote_features() 152 if (!CBS_get_asn1(in, &curves, CBS_ASN1_OCTETSTRING)) { in apply_remote_features() 209 if (!CBS_get_asn1(&handoff_cbs, &seq, CBS_ASN1_SEQUENCE) || in SSL_apply_handoff() 216 if (!CBS_get_asn1(&seq, &transcript, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff() 217 !CBS_get_asn1(&seq, &hs_buf, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff() 419 if (!CBS_get_asn1(&handback_cbs, &seq, CBS_ASN1_SEQUENCE) || in SSL_apply_handback() 428 if (!CBS_get_asn1(&seq, &read_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() 430 !CBS_get_asn1(&seq, &write_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() 432 !CBS_get_asn1(&seq, &server_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() 436 !CBS_get_asn1(&seq, &client_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() [all …]
|
D | ssl_cert.cc | 459 if (!CBS_get_asn1(&buf, &toplevel, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 461 !CBS_get_asn1(&toplevel, out_tbs_cert, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 467 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_INTEGER) || in ssl_cert_skip_to_spki() 469 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 471 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 473 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 475 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE)) { in ssl_cert_skip_to_spki() 549 !CBS_get_asn1(&tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_check_key_usage() 570 if (!CBS_get_asn1(&outer_extensions, &extensions, CBS_ASN1_SEQUENCE)) { in ssl_cert_check_key_usage() 577 if (!CBS_get_asn1(&extensions, &extension, CBS_ASN1_SEQUENCE) || in ssl_cert_check_key_usage() [all …]
|
D | ssl_asn1.cc | 467 if (!CBS_get_asn1(cbs, &child, tag) || in SSL_SESSION_parse_crypto_buffer() 468 !CBS_get_asn1(&child, &value, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse_crypto_buffer() 546 if (!CBS_get_asn1(cbs, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_parse() 563 if (!CBS_get_asn1(&session, &cipher, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse() 576 if (!CBS_get_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse() 578 !CBS_get_asn1(&session, &master_key, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse() 590 if (!CBS_get_asn1(&session, &child, kTimeTag) || in SSL_SESSION_parse() 592 !CBS_get_asn1(&session, &child, kTimeoutTag) || in SSL_SESSION_parse() 636 if (!CBS_get_asn1(&session, &child, kPeerSHA256Tag) || in SSL_SESSION_parse() 637 !CBS_get_asn1(&child, &peer_sha256, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse()
|
/external/boringssl/src/ssl/ |
D | handoff.cc | 121 if (!CBS_get_asn1(in, &ciphers, CBS_ASN1_OCTETSTRING)) { in apply_remote_features() 164 if (!CBS_get_asn1(in, &curves, CBS_ASN1_OCTETSTRING)) { in apply_remote_features() 244 if (!CBS_get_asn1(&handoff_cbs, &seq, CBS_ASN1_SEQUENCE) || in SSL_apply_handoff() 251 if (!CBS_get_asn1(&seq, &transcript, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff() 252 !CBS_get_asn1(&seq, &hs_buf, CBS_ASN1_OCTETSTRING) || in SSL_apply_handoff() 454 if (!CBS_get_asn1(&handback_cbs, &seq, CBS_ASN1_SEQUENCE) || in SSL_apply_handback() 463 if (!CBS_get_asn1(&seq, &read_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() 465 !CBS_get_asn1(&seq, &write_seq, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() 467 !CBS_get_asn1(&seq, &server_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() 471 !CBS_get_asn1(&seq, &client_rand, CBS_ASN1_OCTETSTRING) || in SSL_apply_handback() [all …]
|
D | ssl_cert.cc | 459 if (!CBS_get_asn1(&buf, &toplevel, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 461 !CBS_get_asn1(&toplevel, out_tbs_cert, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 467 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_INTEGER) || in ssl_cert_skip_to_spki() 469 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 471 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 473 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_skip_to_spki() 475 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE)) { in ssl_cert_skip_to_spki() 549 !CBS_get_asn1(&tbs_cert, NULL, CBS_ASN1_SEQUENCE) || in ssl_cert_check_key_usage() 570 if (!CBS_get_asn1(&outer_extensions, &extensions, CBS_ASN1_SEQUENCE)) { in ssl_cert_check_key_usage() 577 if (!CBS_get_asn1(&extensions, &extension, CBS_ASN1_SEQUENCE) || in ssl_cert_check_key_usage() [all …]
|
D | ssl_asn1.cc | 487 if (!CBS_get_asn1(cbs, &child, tag) || in SSL_SESSION_parse_crypto_buffer() 488 !CBS_get_asn1(&child, &value, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse_crypto_buffer() 566 if (!CBS_get_asn1(cbs, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_parse() 583 if (!CBS_get_asn1(&session, &cipher, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse() 596 if (!CBS_get_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse() 598 !CBS_get_asn1(&session, &secret, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_parse() 610 if (!CBS_get_asn1(&session, &child, kTimeTag) || in SSL_SESSION_parse() 612 !CBS_get_asn1(&session, &child, kTimeoutTag) || in SSL_SESSION_parse() 656 if (!CBS_get_asn1(&session, &child, kPeerSHA256Tag) || in SSL_SESSION_parse() 657 !CBS_get_asn1(&child, &peer_sha256, CBS_ASN1_OCTETSTRING) || 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() 81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) { in EC_KEY_parse_private_key() 96 if (!CBS_get_asn1(&ec_private_key, &child, kParametersTag)) { in EC_KEY_parse_private_key() 140 if (!CBS_get_asn1(&ec_private_key, &child, kPublicKeyTag) || in EC_KEY_parse_private_key() 141 !CBS_get_asn1(&child, &public_key, CBS_ASN1_BITSTRING) || in EC_KEY_parse_private_key() 255 if (!CBS_get_asn1(in, ¶ms, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve() 258 !CBS_get_asn1(¶ms, &field_id, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve() 259 !CBS_get_asn1(&field_id, &field_type, CBS_ASN1_OBJECT) || in parse_explicit_prime_curve() 263 !CBS_get_asn1(&field_id, out_prime, CBS_ASN1_INTEGER) || in parse_explicit_prime_curve() 266 !CBS_get_asn1(¶ms, &curve, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 51 !CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header() 52 !CBS_get_asn1(&content_info, &content_type, CBS_ASN1_OBJECT)) { in pkcs7_parse_header() 63 if (!CBS_get_asn1(&content_info, &wrapped_signed_data, in pkcs7_parse_header() 65 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header() 67 !CBS_get_asn1(&signed_data, NULL /* digests */, CBS_ASN1_SET) || in pkcs7_parse_header() 68 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) { in pkcs7_parse_header()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 51 !CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header() 52 !CBS_get_asn1(&content_info, &content_type, CBS_ASN1_OBJECT)) { in pkcs7_parse_header() 63 if (!CBS_get_asn1(&content_info, &wrapped_signed_data, in pkcs7_parse_header() 65 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header() 67 !CBS_get_asn1(&signed_data, NULL /* digests */, CBS_ASN1_SET) || in pkcs7_parse_header() 68 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) { in pkcs7_parse_header()
|
/external/rust/crates/quiche/deps/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() 81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) { in EC_KEY_parse_private_key() 96 if (!CBS_get_asn1(&ec_private_key, &child, kParametersTag)) { in EC_KEY_parse_private_key() 140 if (!CBS_get_asn1(&ec_private_key, &child, kPublicKeyTag) || in EC_KEY_parse_private_key() 141 !CBS_get_asn1(&child, &public_key, CBS_ASN1_BITSTRING) || in EC_KEY_parse_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() 274 !CBS_get_asn1(&field_id, &field_type, CBS_ASN1_OBJECT) || in parse_explicit_prime_curve() 278 !CBS_get_asn1(&field_id, out_prime, CBS_ASN1_INTEGER) || in parse_explicit_prime_curve() 281 !CBS_get_asn1(¶ms, &curve, CBS_ASN1_SEQUENCE) || in parse_explicit_prime_curve() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | evp_asn1.c | 81 if (!CBS_get_asn1(cbs, &oid, CBS_ASN1_OBJECT)) { in parse_key_type() 102 if (!CBS_get_asn1(cbs, &spki, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key() 103 !CBS_get_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key() 104 !CBS_get_asn1(&spki, &key, CBS_ASN1_BITSTRING) || in EVP_parse_public_key() 158 if (!CBS_get_asn1(cbs, &pkcs8, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key() 161 !CBS_get_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key() 162 !CBS_get_asn1(&pkcs8, &key, CBS_ASN1_OCTETSTRING)) { in EVP_parse_private_key() 286 if (!CBS_get_asn1(&cbs, &sequence, CBS_ASN1_SEQUENCE)) { in num_elements()
|
/external/boringssl/src/crypto/evp/ |
D | evp_asn1.c | 82 if (!CBS_get_asn1(cbs, &oid, CBS_ASN1_OBJECT)) { in parse_key_type() 103 if (!CBS_get_asn1(cbs, &spki, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key() 104 !CBS_get_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key() 105 !CBS_get_asn1(&spki, &key, CBS_ASN1_BITSTRING) || in EVP_parse_public_key() 159 if (!CBS_get_asn1(cbs, &pkcs8, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key() 162 !CBS_get_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_private_key() 163 !CBS_get_asn1(&pkcs8, &key, CBS_ASN1_OCTETSTRING)) { in EVP_parse_private_key() 287 if (!CBS_get_asn1(&cbs, &sequence, CBS_ASN1_SEQUENCE)) { in num_elements()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/ |
D | cbs.c | 409 int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value) { in CBS_get_asn1() function 429 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER)) { in CBS_get_asn1_uint64() 466 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER)) { in CBS_get_asn1_int64() 500 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_BOOLEAN) || in CBS_get_asn1_bool() 518 if (!CBS_get_asn1(cbs, out, tag)) { in CBS_get_optional_asn1() 540 if (!CBS_get_asn1(&child, out, CBS_ASN1_OCTETSTRING) || in CBS_get_optional_asn1_octet_string() 581 if (!CBS_get_asn1(&child, &child2, CBS_ASN1_BOOLEAN) || in CBS_get_optional_asn1_bool()
|
D | ber.c | 231 return CBS_get_asn1(in, out, outer_tag); in CBS_get_asn1_implicit_string() 240 !CBS_get_asn1(in, &child, outer_tag | CBS_ASN1_CONSTRUCTED)) { in CBS_get_asn1_implicit_string() 246 if (!CBS_get_asn1(&child, &chunk, inner_tag) || in CBS_get_asn1_implicit_string()
|
/external/boringssl/src/crypto/bytestring/ |
D | ber.c | 230 return CBS_get_asn1(in, out, outer_tag); in CBS_get_asn1_implicit_string() 239 !CBS_get_asn1(in, &child, outer_tag | CBS_ASN1_CONSTRUCTED)) { in CBS_get_asn1_implicit_string() 245 if (!CBS_get_asn1(&child, &chunk, inner_tag) || in CBS_get_asn1_implicit_string()
|
D | cbs.c | 425 int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value) { in CBS_get_asn1() function 445 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER) || in CBS_get_asn1_uint64() 468 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER) || in CBS_get_asn1_int64() 491 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_BOOLEAN) || in CBS_get_asn1_bool() 509 if (!CBS_get_asn1(cbs, out, tag)) { in CBS_get_optional_asn1() 531 if (!CBS_get_asn1(&child, out, CBS_ASN1_OCTETSTRING) || in CBS_get_optional_asn1_octet_string() 572 if (!CBS_get_asn1(&child, &child2, CBS_ASN1_BOOLEAN) || in CBS_get_optional_asn1_bool()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/ |
D | digest_extra.c | 165 if (!CBS_get_asn1(cbs, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_digest_algorithm() 166 !CBS_get_asn1(&algorithm, &oid, CBS_ASN1_OBJECT)) { in EVP_parse_digest_algorithm() 183 if (!CBS_get_asn1(&algorithm, ¶m, CBS_ASN1_NULL) || in EVP_parse_digest_algorithm()
|
/external/boringssl/src/crypto/digest_extra/ |
D | digest_extra.c | 167 if (!CBS_get_asn1(cbs, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_digest_algorithm() 168 !CBS_get_asn1(&algorithm, &oid, CBS_ASN1_OBJECT)) { in EVP_parse_digest_algorithm() 185 if (!CBS_get_asn1(&algorithm, ¶m, CBS_ASN1_NULL) || in EVP_parse_digest_algorithm()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 91 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_SIG_parse() 120 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_public_key() 153 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_parameters() 186 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_private_key()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 127 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_SIG_parse() 156 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_public_key() 195 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_parameters() 234 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in DSA_parse_private_key()
|