Home
last modified time | relevance | path

Searched defs:pos (Results 1 – 25 of 87) sorted by relevance

1234

/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dx509v3.c186 const u8 *pos, *end; in x509_parse_algorithm_identifier() local
221 const u8 *pos, *end; in x509_parse_public_key() local
289 const u8 *pos, *end, *set_pos, *set_end, *seq_pos, *seq_end; in x509_parse_name() local
494 char *pos, *end; in x509_name_string() local
535 static int parse_uint2(const char *pos, size_t len) in parse_uint2()
554 static int parse_uint4(const char *pos, size_t len) in parse_uint4()
575 const char *pos, *end; in x509_parse_time() local
694 const u8 *pos; in x509_parse_validity() local
770 const u8 *pos, size_t len) in x509_parse_ext_key_usage()
803 const u8 *pos, size_t len) in x509_parse_ext_basic_constraints()
[all …]
Dtlsv1_client_write.c47 u8 *hello, *end, *pos, *hs_length, *hs_start, *rhdr; in tls_send_client_hello() local
265 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; in tls_write_client_certificate() local
346 static int tlsv1_key_x_dh(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_dh()
469 static int tlsv1_key_x_rsa(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_rsa()
519 u8 *pos, *rhdr, *hs_start, *hs_length; in tls_write_client_key_exchange() local
577 u8 *pos, *rhdr, *hs_start, *hs_length, *signed_start; in tls_write_client_certificate_verify() local
782 u8 *pos, *hs_start; in tls_write_client_finished() local
873 u8 *msg, *end, *pos; in tls_send_client_key_exchange() local
916 u8 *msg, *end, *pos; in tls_send_change_cipher_spec() local
974 u8 *alert, *pos, *length; in tlsv1_client_send_alert() local
Dtlsv1_server_write.c45 u8 *pos, *rhdr, *hs_start, *hs_length, *ext_start; in tls_write_server_hello() local
192 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; in tls_write_server_certificate() local
287 u8 *pos, *rhdr, *hs_start, *hs_length; in tls_write_server_certificate_status() local
373 u8 *pos, *rhdr, *hs_start, *hs_length, *server_params; in tls_write_server_key_exchange() local
698 u8 *pos, *rhdr, *hs_start, *hs_length; in tls_write_server_certificate_request() local
764 u8 *pos; in tls_write_server_hello_done() local
834 u8 *pos, *hs_start; in tls_write_server_finished() local
932 u8 *msg, *end, *pos; in tls_send_server_hello() local
1012 u8 *msg, *end, *pos; in tls_send_change_cipher_spec() local
1060 u8 *alert, *pos, *length; in tlsv1_server_send_alert() local
Dtlsv1_cred.c110 const u8 *pos, *end; in tlsv1_add_cert() local
199 const char *pos = cert + 7; in tlsv1_set_ca_cert() local
268 const u8 *pos, *end; in tlsv1_set_key_pem() local
309 const u8 *pos, *end; in tlsv1_set_key_enc_pem() local
449 const u8 *pos, *end; in pkcs12_certbag() local
515 static int pkcs12_parse_attr_friendly_name(const u8 *pos, const u8 *end) in pkcs12_parse_attr_friendly_name()
540 static int pkcs12_parse_attr_local_key_id(const u8 *pos, const u8 *end) in pkcs12_parse_attr_local_key_id()
565 static int pkcs12_parse_attr(const u8 *pos, size_t len) in pkcs12_parse_attr()
612 const u8 *pos = buf, *end = buf + len; in pkcs12_safebag() local
683 const u8 *pos, *end; in pkcs12_safecontents() local
[all …]
Dtlsv1_server_read.c52 const u8 *pos, *end; in tls_process_status_request_item() local
93 const u8 *pos, *end; in tls_process_status_request_v2() local
124 const u8 *pos, *end, *c; in tls_process_client_hello() local
399 const u8 *pos, *end; in tls_process_certificate() local
599 struct tlsv1_server *conn, const u8 *pos, const u8 *end) in tls_process_client_key_exchange_rsa()
702 struct tlsv1_server *conn, const u8 *pos, const u8 *end) in tls_process_client_key_exchange_dh()
810 const u8 *pos, *end; in tls_process_client_key_exchange() local
887 const u8 *pos, *end; in tls_process_certificate_verify() local
1049 const u8 *pos; in tls_process_change_cipher_spec() local
1098 const u8 *pos, *end; in tls_process_client_finished() local
Dtlsv1_client_read.c42 const u8 *pos, size_t len) in tls_process_server_hello_extensions()
84 const u8 *pos, *end; in tls_process_server_hello() local
362 const u8 *pos, *end; in tls_process_certificate() local
673 const u8 *pos, *end, *server_params, *server_params_end; in tlsv1_process_diffie_hellman() local
805 const u8 *pos, size_t len) in tls_process_certificate_status_ocsp_response()
831 const u8 *pos, *end; in tls_process_certificate_status() local
1029 const u8 *pos, *end; in tls_process_server_key_exchange() local
1126 const u8 *pos, *end; in tls_process_certificate_request() local
1190 const u8 *pos, *end; in tls_process_server_hello_done() local
1257 const u8 *pos; in tls_process_server_change_cipher_spec() local
[all …]
Dpkcs1.c23 u8 *pos; in pkcs1_generate_encryption_block() local
102 u8 *pos, *end; in pkcs1_v15_private_key_decrypt() local
139 u8 *pos; in pkcs1_decrypt_public_key() local
208 const u8 *pos, *end, *next, *da_end; in pkcs1_v15_sig_ver() local
Dasn1.c173 const u8 *pos, *end; in asn1_get_next() local
292 const u8 *pos, *end; in asn1_parse_oid() local
353 char *pos = buf; in asn1_oid_to_str() local
394 const u8 *pos = buf; in asn1_bit_string_to_long() local
437 const u8 *pos; in asn1_get_integer() local
483 const u8 *pos = buf, *end = buf + len; in asn1_get_alg_id() local
Dtlsv1_client.c80 u8 *pos; in tls_derive_keys() local
168 const u8 *pos, *end; in tlsv1_client_handshake() local
334 const u8 *in_end, *pos; in tlsv1_client_decrypt() local
563 u8 *seed, *pos; in tlsv1_client_prf() local
743 u8 *pos; in tlsv1_client_hello_ext() local
Dpkcs8.c22 const u8 *pos, *end; in pkcs8_key_import() local
114 const u8 *pos, *end, *enc_alg; in pkcs8_enc_key_import() local
Dtlsv1_client_ocsp.c117 const u8 *pos, *end; in tls_process_ocsp_single_response() local
317 const u8 *pos, *end; in tls_process_ocsp_responses() local
349 const u8 *pos, *end; in tls_process_basic_ocsp_response() local
652 const u8 *pos, *end; in tls_process_ocsp_response() local
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_fast_pac.c182 const char *pos; member
191 char *pos; in eap_fast_read_line() local
331 char *pos) in eap_fast_parse_pac_type()
345 static const char * eap_fast_parse_pac_key(struct eap_fast_pac *pac, char *pos) in eap_fast_parse_pac_key()
364 char *pos) in eap_fast_parse_pac_opaque()
374 static const char * eap_fast_parse_a_id(struct eap_fast_pac *pac, char *pos) in eap_fast_parse_a_id()
384 static const char * eap_fast_parse_i_id(struct eap_fast_pac *pac, char *pos) in eap_fast_parse_i_id()
395 char *pos) in eap_fast_parse_a_id_info()
418 char *pos; in eap_fast_load_pac() local
480 static void eap_fast_write(char **buf, char **pos, size_t *buf_len, in eap_fast_write()
[all …]
Deap_fast.c118 const char *pos; in eap_fast_parse_phase1() local
420 u8 *pos; in eap_fast_phase2_request() local
728 static u8 * eap_fast_write_pac_request(u8 *pos, u16 pac_type) in eap_fast_write_pac_request()
758 u8 *pos; in eap_fast_process_crypto_binding() local
831 u8 *pos, size_t len, int *pac_key_found) in eap_fast_parse_pac_tlv()
866 u8 *pos; in eap_fast_process_pac_tlv() local
904 u8 *pos, size_t len) in eap_fast_parse_pac_info()
972 u8 *pos; in eap_fast_process_pac_info() local
1077 u8 *pos, *end; in eap_fast_parse_decrypted() local
1147 u8 *pos, *pos2; in eap_fast_pac_request() local
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_attr_parse.c21 u8 id, u8 len, const u8 *pos) in wps_set_vendor_ext_wfa_subelem()
91 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext_wfa()
111 static int wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext()
153 const u8 *pos, u16 len) in wps_set_attr()
598 const u8 *pos, *end; in wps_parse_msg() local
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwpa_auth_ie.c28 u8 *pos, *count; in wpa_write_wpa_ie() local
93 u8 *pos, *count; in wpa_write_rsn_ie() local
304 u8 *pos = buf; in wpa_write_rsnxe() local
331 u8 *pos, buf[128]; in wpa_auth_gen_wpa_ie() local
375 u8 * wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len, in wpa_add_kde()
665 static int wpa_parse_generic(const u8 *pos, const u8 *end, in wpa_parse_generic()
723 const u8 *pos, *end; in wpa_parse_kde_ies() local
Dpmksa_cache_auth.c51 struct rsn_pmksa_cache_entry *pos, *prev; in pmksa_cache_free_entry() local
149 struct rsn_pmksa_cache_entry *pos, *prev; in pmksa_cache_link_entry() local
292 struct rsn_pmksa_cache_entry *pos; in pmksa_cache_auth_add_entry() local
412 char *pos = buf; in pmksa_cache_auth_list() local
/hal_espressif-latest/components/wpa_supplicant/include/utils/
Dwpabuf.h110 u8 *pos = wpabuf_put(buf, 1); in wpabuf_put_u8() local
116 u8 *pos = wpabuf_put(buf, 2); in wpabuf_put_le16() local
122 u8 *pos = wpabuf_put(buf, 4); in wpabuf_put_le32() local
128 u8 *pos = wpabuf_put(buf, 2); in wpabuf_put_be16() local
134 u8 *pos = wpabuf_put(buf, 3); in wpabuf_put_be24() local
140 u8 *pos = wpabuf_put(buf, 4); in wpabuf_put_be32() local
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dwpa_ie.c52 u8 *pos; in wpa_gen_wpa_ie_wpa() local
118 u8 *pos; in wpa_gen_wpa_ie_rsn() local
293 u8 *pos = rsnxe; in wpa_gen_rsnxe() local
332 static int wpa_parse_generic(const u8 *pos, const u8 *end, in wpa_parse_generic()
408 const u8 *pos, *end; in wpa_supplicant_parse_ies() local
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dsae_pk.c153 int pos; in sae_pk_valid_password() local
206 static char *add_char(const char *start, char *pos, u8 idx, size_t *bits) in add_char()
228 char *out, *pos; in sae_pk_base32_encode() local
267 u8 dtable[256], *out, *pos, tmp; in sae_pk_base32_decode() local
385 u8 *pw, *pos; in sae_pk_set_password() local
487 u8 *pos; in sae_pk_hash_sig_data() local
545 u8 *hash_data, *pos; in sae_pk_valid_fingerprint() local
Dieee802_11_common.c93 int ieee802_11_parse_candidate_list(const char *pos, u8 *nei_rep, in ieee802_11_parse_candidate_list()
195 …2_11_parse_vendor_specific(struct wpa_supplicant *wpa_s, const struct element *elem, const u8* pos) in ieee802_11_parse_vendor_specific()
226 …eee802_11_parse_extension(struct wpa_supplicant *wpa_s, const struct element *elem, const u8* pos){ in ieee802_11_parse_extension()
276 const u8 *pos = elem->data; in ieee802_11_parse_elems() local
Dwpa_common.c33 u8 *buf, *pos; in wpa_ft_mic() local
92 const u8 *end, *pos; in wpa_ft_parse_ftie() local
141 const u8 *end, *pos; in wpa_ft_parse_ies() local
410 const u8 *pos; in wpa_parse_wpa_ie_rsn() local
550 const u8 *pos; in wpa_parse_wpa_ie_wpa() local
669 u8 *pos, r0_key_data[48], hash[32]; in wpa_derive_pmk_r0() local
752 u8 *pos; in wpa_derive_pmk_r1() local
778 u8 *pos, hash[32]; in wpa_pmk_r1_to_ptk() local
1459 int rsn_cipher_put_suites(u8 *pos, int ciphers) in rsn_cipher_put_suites()
1494 int wpa_cipher_put_suites(u8 *pos, int ciphers) in wpa_cipher_put_suites()
Drrm.c311 static int wpas_rrm_beacon_rep_update_last_frame(u8 *pos, size_t len) in wpas_rrm_beacon_rep_update_last_frame()
361 u8 *pos = wpabuf_mhead_u8(buf), *next = pos; in wpas_rrm_send_msr_report() local
418 u8 *pos = buf; in wpas_beacon_rep_add_frame_body() local
501 u8 *buf, *pos; in wpas_add_beacon_rep_elem() local
566 u8 *pos = ies; in wpas_add_beacon_rep() local
946 wpas_rrm_process_msr_req_elems(struct wpa_supplicant *wpa_s, const u8 *pos, in wpas_rrm_process_msr_req_elems()
/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dccmp.c24 u8 *pos; in ccmp_aad_nonce() local
86 u8 *pos; in ccmp_aad_nonce_pv1() local
196 u8 *crypt, *pos; in ccmp_encrypt() local
247 u8 *crypt, *pos; in ccmp_encrypt_pv1() local
322 u8 *crypt, *pos; in ccmp_256_encrypt() local
Daes-cbc.c28 u8 *pos = data; in aes_128_cbc_encrypt() local
64 u8 *pos = data; in aes_128_cbc_decrypt() local
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dcommon.c53 const char *pos = txt; in hwaddr_aton2() local
111 int pos = len - 1; in inc_byte_array() local
198 const char *pos = str; in printf_decode() local
315 const char *pos; in wpa_config_parse_string() local
327 const char *pos; in wpa_config_parse_string() local
563 const char *pos, *end; in get_param() local

1234