Lines Matching refs:asn1_get_next
195 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_algorithm_identifier()
233 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_public_key()
250 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_public_key()
305 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_name()
320 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_name()
331 if (asn1_get_next(set_pos, set_end - set_pos, &hdr) < 0 || in x509_parse_name()
347 if (asn1_get_next(seq_pos, seq_end - seq_pos, &hdr) < 0 || in x509_parse_name()
705 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_validity()
717 if (asn1_get_next(pos, plen, &hdr) < 0 || in x509_parse_validity()
729 if (asn1_get_next(pos, plen, &hdr) < 0 || in x509_parse_validity()
783 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_bitstring(&hdr) || in x509_parse_ext_key_usage()
812 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_ext_basic_constraints()
824 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0) { in x509_parse_ext_basic_constraints()
840 if (asn1_get_next(pos, end_seq - pos, &hdr) < 0) { in x509_parse_ext_basic_constraints()
1003 if (asn1_get_next(p, end - p, &hdr) < 0) { in x509_parse_ext_alt_name()
1056 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_ext_subject_alt_name()
1080 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_ext_issuer_alt_name()
1163 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_ext_certificate_policies()
1180 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_ext_certificate_policies()
1283 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_ext_ext_key_usage()
1372 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_extension()
1385 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_extension()
1401 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_extension()
1437 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_extensions()
1467 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_parse_tbs_certificate()
1479 if (asn1_get_next(pos, end - pos, &hdr) < 0) in x509_parse_tbs_certificate()
1484 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_tbs_certificate()
1513 if (asn1_get_next(pos, end - pos, &hdr) < 0) in x509_parse_tbs_certificate()
1574 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_tbs_certificate()
1590 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_tbs_certificate()
1607 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_tbs_certificate()
1746 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in x509_certificate_parse()
1782 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_certificate_parse()
1898 if (asn1_get_next(data, data_len, &hdr) < 0 || in x509_check_signature()
1917 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_check_signature()
1942 (asn1_get_next(next, da_end - next, &hdr) < 0 || in x509_check_signature()
2029 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_check_signature()