Home
last modified time | relevance | path

Searched refs:CBS_ASN1_SEQUENCE (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/crypto/x509/
Dpkcs7.c55 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header()
68 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) || in pkcs7_parse_header()
71 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) { in pkcs7_parse_header()
114 if (!CBS_get_asn1_element(&certificates, &cert, CBS_ASN1_SEQUENCE)) { in PKCS7_get_certificates()
184 if (!CBS_get_asn1_element(&crls, &crl_data, CBS_ASN1_SEQUENCE)) { in PKCS7_get_CRLs()
277 if (!CBB_add_asn1(out, &outer_seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle()
282 !CBB_add_asn1(&wrapped_seq, &seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle()
286 !CBB_add_asn1(&seq, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_bundle()
/external/boringssl/src/crypto/rsa/
Drsa_asn1.c103 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()
190 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in rsa_parse_additional_prime()
213 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in RSA_parse_private_key()
237 CBS_peek_asn1_tag(&child, CBS_ASN1_SEQUENCE)) { in RSA_parse_private_key()
239 if (!CBS_get_asn1(&child, &other_prime_infos, CBS_ASN1_SEQUENCE) || in RSA_parse_private_key()
310 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in RSA_marshal_private_key()
327 if (!CBB_add_asn1(&child, &other_prime_infos, CBS_ASN1_SEQUENCE)) { in RSA_marshal_private_key()
337 CBS_ASN1_SEQUENCE) || in RSA_marshal_private_key()
/external/boringssl/src/crypto/evp/
Devp_extra_test.cc583 if (!CBS_get_asn1(&in, &cert_body, CBS_ASN1_SEQUENCE) || in ParseCertificate()
586 !CBS_get_asn1_element(&cert_body, &algorithm, CBS_ASN1_SEQUENCE) || in ParseCertificate()
594 if (!CBS_get_asn1(&tbs_cert_copy, &tbs_cert_body, CBS_ASN1_SEQUENCE) || in ParseCertificate()
602 CBS_ASN1_SEQUENCE) || in ParseCertificate()
606 CBS_ASN1_SEQUENCE) || in ParseCertificate()
609 !CBS_get_asn1_element(&tbs_cert_body, &spki, CBS_ASN1_SEQUENCE)) { in ParseCertificate()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c706 if (!CBS_get_asn1(&in, &in, CBS_ASN1_SEQUENCE)) { in PKCS12_handle_content_infos()
713 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE)) { in PKCS12_handle_content_infos()
761 if (!CBS_get_asn1(&wrapped_contents, &contents, CBS_ASN1_SEQUENCE) || in PKCS12_handle_content_info()
765 !CBS_get_asn1(&contents, &eci, CBS_ASN1_SEQUENCE) || in PKCS12_handle_content_info()
769 !CBS_get_asn1_element(&eci, &ai, CBS_ASN1_SEQUENCE) || in PKCS12_handle_content_info()
860 if (!CBS_get_asn1(&wrapped_contents, &cert_bag, CBS_ASN1_SEQUENCE) || in PKCS12_handle_content_info()
927 if (!CBS_get_asn1(&in, &pfx, CBS_ASN1_SEQUENCE) || in PKCS12_get_key_and_certs()
939 if (!CBS_get_asn1(&pfx, &authsafe, CBS_ASN1_SEQUENCE)) { in PKCS12_get_key_and_certs()
949 if (!CBS_get_asn1(&pfx, &mac_data, CBS_ASN1_SEQUENCE)) { in PKCS12_get_key_and_certs()
994 if (!CBS_get_asn1(&mac_data, &mac, CBS_ASN1_SEQUENCE) || in PKCS12_get_key_and_certs()
[all …]
/external/boringssl/src/crypto/ecdsa/
Decdsa_asn1.c117 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || in ECDSA_SIG_parse()
142 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in ECDSA_SIG_marshal()
/external/boringssl/src/crypto/bytestring/
Dber.c72 (tag & 0x1f) != (CBS_ASN1_SEQUENCE & 0x1f) && in is_primitive_type()
/external/boringssl/src/include/openssl/
Dbytestring.h131 #define CBS_ASN1_SEQUENCE (0x10 | CBS_ASN1_CONSTRUCTED) macro
/external/boringssl/src/ssl/
Dssl_asn1.c194 !CBB_add_asn1(&cbb, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_to_bytes_full()
516 if (!CBS_get_asn1(cbs, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_parse()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp6767 if (!CBB_add_asn1(&result, &seq_contents, CBS_ASN1_SEQUENCE)) {
10792 if (!CBS_get_asn1(cert_id, &hash_algorithm, CBS_ASN1_SEQUENCE) ||
10862 if (!CBS_get_asn1(responses, &single_response, CBS_ASN1_SEQUENCE)) {
10872 if (!CBS_get_asn1(&single_response, &cert_id, CBS_ASN1_SEQUENCE)) {
10898 !CBS_get_asn1(&tagged_response_bytes, &response_bytes, CBS_ASN1_SEQUENCE)) {
10914 return CBS_get_asn1(&response, basic_response, CBS_ASN1_SEQUENCE);
10925 if (!CBS_get_asn1(basic_response, &response_data, CBS_ASN1_SEQUENCE)) {
10938 return CBS_get_asn1(&response_data, single_responses, CBS_ASN1_SEQUENCE);
10990 if (!CBS_get_asn1(&cbs, &ocsp_response, CBS_ASN1_SEQUENCE)) {