/external/boringssl/src/crypto/pkcs8/ |
p5_pbev2.c | 212 if (!CBS_get_asn1(param, &pbe_param, CBS_ASN1_SEQUENCE) || 214 !CBS_get_asn1(&pbe_param, &kdf, CBS_ASN1_SEQUENCE) || 215 !CBS_get_asn1(&pbe_param, &enc_scheme, CBS_ASN1_SEQUENCE) || 217 !CBS_get_asn1(&kdf, &kdf_obj, CBS_ASN1_OBJECT) || 218 !CBS_get_asn1(&enc_scheme, &enc_obj, CBS_ASN1_OBJECT)) { 239 if (!CBS_get_asn1(&kdf, &pbkdf2_params, CBS_ASN1_SEQUENCE) || 241 !CBS_get_asn1(&pbkdf2_params, &salt, CBS_ASN1_OCTETSTRING) || 269 if (!CBS_get_asn1(&pbkdf2_params, &alg_id, CBS_ASN1_SEQUENCE) || 270 !CBS_get_asn1(&alg_id, &prf, CBS_ASN1_OBJECT) || 285 if (!CBS_get_asn1(&alg_id, &null, CBS_ASN1_NULL) | [all...] |
pkcs8_x509.c | 263 if (!CBS_get_asn1(&in, &child, CBS_ASN1_SEQUENCE) || 271 if (!CBS_get_asn1(&child, &element, CBS_ASN1_SEQUENCE)) { 304 if (!CBS_get_asn1(safe_bag, &bag_id, CBS_ASN1_OBJECT) || 305 !CBS_get_asn1(safe_bag, &wrapped_value, 339 if (!CBS_get_asn1(&wrapped_value, &cert_bag, CBS_ASN1_SEQUENCE) || 340 !CBS_get_asn1(&cert_bag, &cert_type, CBS_ASN1_OBJECT) || 341 !CBS_get_asn1(&cert_bag, &wrapped_cert, 343 !CBS_get_asn1(&wrapped_cert, &cert, CBS_ASN1_OCTETSTRING)) { 400 if (!CBS_get_asn1(content_info, &content_type, CBS_ASN1_OBJECT) || 401 !CBS_get_asn1(content_info, &wrapped_contents [all...] |
pkcs8.c | 258 if (!CBS_get_asn1(param, &pbe_param, CBS_ASN1_SEQUENCE) || 259 !CBS_get_asn1(&pbe_param, &salt, CBS_ASN1_OCTETSTRING) || 362 if (!CBS_get_asn1(algorithm, &obj, CBS_ASN1_OBJECT)) { 416 if (!CBS_get_asn1(cbs, &epki, CBS_ASN1_SEQUENCE) || 417 !CBS_get_asn1(&epki, &algorithm, CBS_ASN1_SEQUENCE) || 418 !CBS_get_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) ||
|
/external/boringssl/src/crypto/ec/ |
ec_asn1.c | 78 if (!CBS_get_asn1(cbs, &ec_private_key, CBS_ASN1_SEQUENCE) || 81 !CBS_get_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING)) { 95 if (!CBS_get_asn1(&ec_private_key, &child, kParametersTag)) { 144 if (!CBS_get_asn1(&ec_private_key, &child, kPublicKeyTag) || 145 !CBS_get_asn1(&child, &public_key, CBS_ASN1_BITSTRING) || 269 if (!CBS_get_asn1(in, ¶ms, CBS_ASN1_SEQUENCE) || 272 !CBS_get_asn1(¶ms, &field_id, CBS_ASN1_SEQUENCE) || 273 !CBS_get_asn1(&field_id, &field_type, CBS_ASN1_OBJECT) || 276 !CBS_get_asn1(&field_id, out_prime, CBS_ASN1_INTEGER) || 279 !CBS_get_asn1(¶ms, &curve, CBS_ASN1_SEQUENCE) | [all...] |
/external/boringssl/src/crypto/bn/ |
bn_asn1.c | 23 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_INTEGER) || 47 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_INTEGER) ||
|
/external/boringssl/src/crypto/evp/ |
evp_asn1.c | 79 if (!CBS_get_asn1(cbs, &oid, CBS_ASN1_OBJECT)) { 101 if (!CBS_get_asn1(cbs, &spki, CBS_ASN1_SEQUENCE) || 102 !CBS_get_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || 104 !CBS_get_asn1(&spki, &key, CBS_ASN1_BITSTRING) || 151 if (!CBS_get_asn1(cbs, &pkcs8, CBS_ASN1_SEQUENCE) || 154 !CBS_get_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || 156 !CBS_get_asn1(&pkcs8, &key, CBS_ASN1_OCTETSTRING)) { 276 if (!CBS_get_asn1(&cbs, &sequence, CBS_ASN1_SEQUENCE)) {
|
p_rsa_asn1.c | 93 if (!CBS_get_asn1(params, &null, CBS_ASN1_NULL) || 143 if (!CBS_get_asn1(params, &null, CBS_ASN1_NULL) ||
|
/external/boringssl/src/crypto/x509/ |
pkcs7.c | 63 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) || 64 !CBS_get_asn1(&content_info, &content_type, CBS_ASN1_OBJECT)) { 75 if (!CBS_get_asn1(&content_info, &wrapped_signed_data, 77 !CBS_get_asn1(&wrapped_signed_data, &signed_data, CBS_ASN1_SEQUENCE) || 79 !CBS_get_asn1(&signed_data, NULL /* digests */, CBS_ASN1_SET) || 80 !CBS_get_asn1(&signed_data, NULL /* content */, CBS_ASN1_SEQUENCE)) { 109 if (!CBS_get_asn1(&signed_data, &certificates, 172 !CBS_get_asn1(&signed_data, NULL /* certificates */, 177 if (!CBS_get_asn1(&signed_data, &crls,
|
/external/boringssl/src/ssl/ |
ssl_cert.c | 553 if (!CBS_get_asn1(&buf, &toplevel, CBS_ASN1_SEQUENCE) || 555 !CBS_get_asn1(&toplevel, out_tbs_cert, CBS_ASN1_SEQUENCE) || 561 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_INTEGER) || 563 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || 565 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || 567 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE) || 569 !CBS_get_asn1(out_tbs_cert, NULL, CBS_ASN1_SEQUENCE)) { 648 !CBS_get_asn1(&tbs_cert, NULL, CBS_ASN1_SEQUENCE) || 668 if (!CBS_get_asn1(&outer_extensions, &extensions, CBS_ASN1_SEQUENCE)) { 674 if (!CBS_get_asn1(&extensions, &extension, CBS_ASN1_SEQUENCE) | [all...] |
ssl_asn1.c | 582 if (!CBS_get_asn1(cbs, &session, CBS_ASN1_SEQUENCE) || 593 if (!CBS_get_asn1(&session, &cipher, CBS_ASN1_OCTETSTRING) || 606 if (!CBS_get_asn1(&session, &session_id, CBS_ASN1_OCTETSTRING) || 608 !CBS_get_asn1(&session, &master_key, CBS_ASN1_OCTETSTRING) || 620 if (!CBS_get_asn1(&session, &child, kTimeTag) || 622 !CBS_get_asn1(&session, &child, kTimeoutTag) || 658 if (!CBS_get_asn1(&session, &child, kPeerSHA256Tag) || 659 !CBS_get_asn1(&child, &peer_sha256, CBS_ASN1_OCTETSTRING) ||
|
/external/boringssl/src/crypto/bytestring/ |
ber.c | 230 return CBS_get_asn1(in, out, outer_tag); 239 !CBS_get_asn1(in, &child, outer_tag | CBS_ASN1_CONSTRUCTED)) { 245 if (!CBS_get_asn1(&child, &chunk, inner_tag) ||
|
cbs.c | 292 static int cbs_get_asn1(CBS *cbs, CBS *out, unsigned tag_value, function 315 int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value) { 316 return cbs_get_asn1(cbs, out, tag_value, 1 /* skip header */); 320 return cbs_get_asn1(cbs, out, tag_value, 0 /* include header */); 335 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER)) { 374 if (!CBS_get_asn1(cbs, out, tag)) { 395 if (!CBS_get_asn1(&child, out, CBS_ASN1_OCTETSTRING) || 436 if (!CBS_get_asn1(&child, &child2, CBS_ASN1_BOOLEAN) ||
|
bytestring_test.cc | 133 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, 0x30)) { 165 if (CBS_get_asn1(&data, &contents, 0x31)) {
|
/external/boringssl/src/crypto/dsa/ |
dsa_asn1.c | 91 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || 120 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || 153 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || 186 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/crypto/dh/ |
dh_asn1.c | 93 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/crypto/rsa/ |
rsa_asn1.c | 103 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || 190 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || 213 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || 241 if (!CBS_get_asn1(&child, &other_prime_infos, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/crypto/digest/ |
digests.c | 357 if (!CBS_get_asn1(cbs, &algorithm, CBS_ASN1_SEQUENCE) || 358 !CBS_get_asn1(&algorithm, &oid, CBS_ASN1_OBJECT)) { 375 if (!CBS_get_asn1(&algorithm, ¶m, CBS_ASN1_NULL) ||
|
/external/boringssl/src/crypto/ecdsa/ |
ecdsa_asn1.c | 118 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/include/openssl/ |
bytestring.h | 174 /* CBS_get_asn1 sets |*out| to the contents of DER-encoded, ASN.1 element (not 180 OPENSSL_EXPORT int CBS_get_asn1(CBS *cbs, CBS *out, unsigned tag_value); 182 /* CBS_get_asn1_element acts like |CBS_get_asn1| but |out| will include the 189 * it returns one, CBS_get_asn1 may still fail if the rest of the 219 /* CBS_get_asn1_uint64 gets an ASN.1 INTEGER from |cbs| using |CBS_get_asn1|
|
/external/conscrypt/common/src/jni/main/cpp/ |
NativeCrypto.cpp | [all...] |