Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
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 …]
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 …]
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()
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 …]
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()
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()
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()
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()
Dasn1.h62 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_ocsp.c141 if (asn1_get_next(resp, len, &hdr) < 0 || in tls_process_ocsp_single_response()
165 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
192 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
216 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
244 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
259 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_single_response()
276 if (asn1_get_next(pos, end - pos, &hdr) < 0) in tls_process_ocsp_single_response()
281 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 || in tls_process_ocsp_single_response()
331 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in tls_process_ocsp_responses()
384 if (asn1_get_next(resp, len, &hdr) < 0 || in tls_process_basic_ocsp_response()
[all …]
Dpkcs8.c30 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs8_key_import()
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_key_import()
71 if (asn1_get_next(pos, len, &hdr) < 0 || in pkcs8_key_import()
106 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_key_import()
142 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs8_enc_key_import()
154 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_enc_key_import()
168 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_enc_key_import()
Dtlsv1_cred.c458 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs12_certbag()
485 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_certbag()
494 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 || in pkcs12_certbag()
536 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_parse_attr_friendly_name()
563 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_parse_attr_local_key_id()
599 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_parse_attr()
644 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_safebag()
659 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_safebag()
674 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs12_safebag()
708 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs12_safecontents()
[all …]
Dx509v3.c195 if (asn1_get_next(buf, len, &hdr) < 0 || in x509_parse_algorithm_identifier()
236 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_public_key()
255 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_public_key()
311 if (asn1_get_next(buf, len, &hdr) < 0 || in x509_parse_name()
329 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_name()
342 if (asn1_get_next(set_pos, set_end - set_pos, &hdr) < 0 || in x509_parse_name()
360 if (asn1_get_next(seq_pos, seq_end - seq_pos, &hdr) < 0 || in x509_parse_name()
711 if (asn1_get_next(buf, len, &hdr) < 0 || in x509_parse_validity()
727 if (asn1_get_next(pos, plen, &hdr) < 0 || in x509_parse_validity()
739 if (asn1_get_next(pos, plen, &hdr) < 0 || in x509_parse_validity()
[all …]
Dpkcs5.c109 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
120 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
163 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
176 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
191 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
224 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
260 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params_pbes2()
325 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params()
337 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params()
353 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params()
Dpkcs1.c234 if (asn1_get_next(decrypted, decrypted_len, &hdr) < 0 || in pkcs1_v15_sig_ver()
257 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()
309 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs1_v15_sig_ver()
Drsa.c39 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in crypto_rsa_parse_integer()
87 if (asn1_get_next(buf, len, &hdr) < 0 || in crypto_rsa_import_public_key()
194 if (asn1_get_next(buf, len, &hdr) < 0 || in crypto_rsa_import_private_key()
Dasn1.c55 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) in asn1_get_next() function
178 if (asn1_get_next(buf, len, &hdr) < 0 || hdr.length == 0) in asn1_get_oid()
Dasn1.h61 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
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 …]