Searched refs:CBS_get_asn1 (Results 1 - 8 of 8) sorted by relevance

/external/boringssl/src/crypto/x509/
H A Dpkcs7.c54 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) ||
55 !CBS_get_asn1(&content_info, &content_type, CBS_ASN1_OBJECT)) {
66 if (!CBS_get_asn1(&content_info, &wrapped_signed_data,
68 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) ||
70 !CBS_get_asn1(&signed_data, NULL /* digests */, CBS_ASN1_SET) ||
71 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) {
104 if (!CBS_get_asn1(&signed_data, &certificates,
167 !CBS_get_asn1(&signed_data, NULL /* certificates */,
172 if (!CBS_get_asn1(&signed_data, &crls,
/external/boringssl/src/crypto/pkcs8/
H A Dpkcs8.c668 if (!CBS_get_asn1(&in, &in, CBS_ASN1_SEQUENCE)) {
676 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE)) {
705 if (!CBS_get_asn1(content_info, &content_type, CBS_ASN1_OBJECT) ||
706 !CBS_get_asn1(content_info, &wrapped_contents,
726 if (!CBS_get_asn1(&wrapped_contents, &contents, CBS_ASN1_SEQUENCE) ||
727 !CBS_get_asn1(&contents, &version_bytes, CBS_ASN1_INTEGER) ||
730 !CBS_get_asn1(&contents, &eci, CBS_ASN1_SEQUENCE) ||
731 !CBS_get_asn1(&eci, &contents_type, CBS_ASN1_OBJECT) ||
735 !CBS_get_asn1(&eci, &encrypted_contents,
774 if (!CBS_get_asn1(
[all...]
/external/boringssl/src/crypto/bytestring/
H A Dcbs.c267 int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value) { function
287 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER)) {
324 if (!CBS_get_asn1(cbs, out, tag)) {
342 if (!CBS_get_asn1(&child, out, CBS_ASN1_OCTETSTRING) ||
383 if (!CBS_get_asn1(&child, &child2, CBS_ASN1_BOOLEAN) ||
H A Dbytestring_test.cc127 if (!CBS_get_asn1(&data, &contents, 0x30) ||
135 if (CBS_get_asn1(&data, &contents, 0x30)) {
141 if (CBS_get_asn1(&data, &contents, 0x30)) {
147 if (CBS_get_asn1(&data, &contents, 0x30)) {
153 if (CBS_get_asn1(&data, &contents, 0x30)) {
159 if (CBS_get_asn1(&data, &contents, 0x31)) {
/external/boringssl/include/openssl/
H A Dbytestring.h132 /* CBS_get_asn1 sets |*out| to the contents of DER-encoded, ASN.1 element (not
138 OPENSSL_EXPORT int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value);
140 /* CBS_get_asn1_element acts like |CBS_get_asn1| but |out| will include the
147 * it returns one, CBS_get_asn1 may still fail if the rest of the
161 /* CBS_get_asn1_uint64 gets an ASN.1 INTEGER from |cbs| using |CBS_get_asn1|
/external/boringssl/src/include/openssl/
H A Dbytestring.h132 /* CBS_get_asn1 sets |*out| to the contents of DER-encoded, ASN.1 element (not
138 OPENSSL_EXPORT int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value);
140 /* CBS_get_asn1_element acts like |CBS_get_asn1| but |out| will include the
147 * it returns one, CBS_get_asn1 may still fail if the rest of the
161 /* CBS_get_asn1_uint64 gets an ASN.1 INTEGER from |cbs| using |CBS_get_asn1|
/external/boringssl/src/ssl/
H A Dssl_asn1.c430 if (!CBS_get_asn1(&cbs, &session, CBS_ASN1_SEQUENCE) ||
433 !CBS_get_asn1(&session, &cipher, CBS_ASN1_OCTETSTRING) ||
434 !CBS_get_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING) ||
435 !CBS_get_asn1(&session, &master_key, CBS_ASN1_OCTETSTRING) ||
/external/boringssl/src/crypto/evp/
H A Devp_extra_test.cc462 if (!CBS_get_asn1(&cert, &cert_body, CBS_ASN1_SEQUENCE) ||
466 !CBS_get_asn1(&cert_body, &signature, CBS_ASN1_BITSTRING) ||

Completed in 198 milliseconds