Home
last modified time | relevance | path

Searched refs:asn1_get_next (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_client_ocsp.c141 if (asn1_get_next(resp, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in tls_process_ocsp_single_response()
161 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
186 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
208 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
241 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
254 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
270 if (asn1_get_next(pos, end - pos, &hdr) < 0) in tls_process_ocsp_single_response()
275 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 || in tls_process_ocsp_single_response()
324 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_responses()
375 if (asn1_get_next(resp, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in tls_process_basic_ocsp_response()
[all …]
H A Dtlsv1_cred.c458 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in pkcs12_certbag()
481 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || in pkcs12_certbag()
488 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 || in pkcs12_certbag()
528 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_parse_attr_friendly_name()
553 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_parse_attr_local_key_id()
587 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_set(&hdr)) { in pkcs12_parse_attr()
628 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || in pkcs12_safebag()
641 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_safebag()
654 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_safebag()
686 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in pkcs12_safecontents()
[all …]
H A Dpkcs8.c30 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in pkcs8_key_import()
39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_integer(&hdr)) { in pkcs8_key_import()
66 if (asn1_get_next(pos, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in pkcs8_key_import()
97 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_key_import()
131 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in pkcs8_enc_key_import()
140 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_enc_key_import()
151 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_enc_key_import()
H A Dx509v3.c195 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()
[all …]
H A Dpkcs5.c109 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
118 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
159 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
170 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
183 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_integer(&hdr)) { in pkcs5_get_params_pbes2()
213 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
247 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
309 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params()
319 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params()
332 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params()
H A Dpkcs1.c238 if (asn1_get_next(decrypted, decrypted_len, &hdr) < 0 || in pkcs1_v15_sig_ver()
259 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs1_v15_sig_ver()
285 (asn1_get_next(next, da_end - next, &hdr) < 0 || in pkcs1_v15_sig_ver()
308 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs1_v15_sig_ver()
H A Drsa.c39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in crypto_rsa_parse_integer()
86 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in crypto_rsa_import_public_key()
189 if (asn1_get_next(buf, len, &hdr) < 0 || !asn1_is_sequence(&hdr)) { in crypto_rsa_import_private_key()
H A Dasn1.c171 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) in asn1_get_next() function
339 if (asn1_get_next(buf, len, &hdr) < 0 || hdr.length == 0 || in asn1_get_oid()
440 if (asn1_get_next(buf, len, &hdr) < 0 || hdr.length == 0 || in asn1_get_integer()
469 if (asn1_get_next(buf, len, hdr) < 0 || !asn1_is_sequence(hdr)) { in asn1_get_sequence()
H A Dasn1.h62 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr);
/freebsd/contrib/wpa/src/common/
H A Ddpp_backup.c559 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || in dpp_parse_recipient_infos()
594 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || in dpp_parse_recipient_infos()
635 if (asn1_get_next(pos, e_end - pos, &hdr) < 0 || in dpp_parse_recipient_infos()
713 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in dpp_parse_recipient_infos()
785 if (asn1_get_next(pos, end - pos, &hdr) < 0 || hdr.constructed || in dpp_parse_encrypted_content_info()
843 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_set(&hdr)) { in dpp_parse_enveloped_data()
932 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in dpp_parse_one_asymmetric_key()
952 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !hdr.constructed || in dpp_parse_one_asymmetric_key()
968 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_set(&hdr)) { in dpp_parse_one_asymmetric_key()
1015 if (asn1_get_next(pos, end - pos, &hdr) < 0 || !asn1_is_set(&hdr)) { in dpp_parse_one_asymmetric_key()
[all …]