/external/wpa_supplicant/ |
D | wpa_passphrase.c | 56 if (os_strlen(passphrase) < 8 || os_strlen(passphrase) > 63) { in main() 61 pbkdf2_sha1(passphrase, ssid, os_strlen(ssid), 4096, psk, 32); in main()
|
D | wpa_cli.c | 195 flen = os_strlen(ctrl_iface_dir) + os_strlen(ifname) + 2; in wpa_cli_open_connection() 253 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 1117 if (os_strncasecmp(cmd->cmd, argv[0], os_strlen(argv[0])) == 0) in wpa_request() 1135 os_strlen(argv[0])) == 0) { in wpa_request() 1146 if( os_strncasecmp( "level", argv[0], os_strlen(argv[0]) ) == 0 ) { in wpa_request() 1158 return os_strncmp(a, b, os_strlen(b)) == 0; in str_match() 1168 len = os_strlen(program) + os_strlen(arg1) + os_strlen(arg2) + 3; in wpa_cli_exec() 1313 len = os_strlen(text); in wpa_cli_cmd_gen() 1356 int hfile_len = os_strlen(home) + 1 + os_strlen(fname) + 1; in wpa_cli_interactive()
|
D | ctrl_iface.c | 142 (u8 *) pos, os_strlen(pos)); in wpa_supplicant_ctrl_iface_ctrl_rsp() 154 ssid->identity_len = os_strlen(pos); in wpa_supplicant_ctrl_iface_ctrl_rsp() 161 ssid->password_len = os_strlen(pos); in wpa_supplicant_ctrl_iface_ctrl_rsp() 168 ssid->new_password_len = os_strlen(pos); in wpa_supplicant_ctrl_iface_ctrl_rsp() 181 ssid->otp_len = os_strlen(pos); in wpa_supplicant_ctrl_iface_ctrl_rsp() 781 (u8 *) value, os_strlen(value)); in wpa_supplicant_ctrl_iface_set_network() 849 return os_strlen(buf); in wpa_supplicant_ctrl_iface_get_network() 1150 if (os_strncmp(buf, WPA_CTRL_RSP, os_strlen(WPA_CTRL_RSP)) == 0 || in wpa_supplicant_ctrl_iface_process() 1153 (const u8 *) buf, os_strlen(buf)); in wpa_supplicant_ctrl_iface_process() 1157 (const u8 *) buf, os_strlen(buf)); in wpa_supplicant_ctrl_iface_process() [all …]
|
D | os.h | 282 size_t os_strlen(const char *s); 412 #ifndef os_strlen 413 #define os_strlen(s) strlen(s) macro
|
D | os_internal.c | 302 len = os_strlen(s); in os_strdup() 310 size_t os_strlen(const char *s) in os_strlen() function 415 size_t len = os_strlen(needle); in os_strstr()
|
D | ctrl_iface_unix.c | 218 len = os_strlen(dir) + os_strlen(wpa_s->ifname) + 2; in wpa_supplicant_ctrl_iface_path() 333 if (os_strlen(dir) + 1 + os_strlen(wpa_s->ifname) >= in wpa_supplicant_ctrl_iface_init() 501 io[0].iov_len = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
|
D | sha1.c | 129 size_t label_len = os_strlen(label); in sha1_prf() 180 size_t label_len = os_strlen(label); in sha1_t_prf() 248 MD5_len[1] = os_strlen(label); in tls_prf() 255 SHA1_len[1] = os_strlen(label); in tls_prf() 310 size_t passphrase_len = os_strlen(passphrase); in pbkdf2_sha1_f()
|
D | driver_test.c | 208 if (sendto(drv->test_socket, cmd, os_strlen(cmd), 0, in wpa_driver_test_associate() 324 len = os_strlen(pos) / 2; in wpa_driver_test_scanresp() 488 sha1_prf((const u8 *) ifname, os_strlen(ifname), in wpa_driver_test_init() 531 len = os_strlen(dir) + 30; in wpa_driver_test_attach() 592 len = os_strlen(pos); in wpa_driver_test_set_param()
|
D | os_none.c | 154 size_t os_strlen(const char *s) in os_strlen() function
|
D | config.c | 65 *len = os_strlen(value); in wpa_config_parse_string() 69 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() 203 len = os_strlen(*src); in wpa_config_write_str() 301 len = os_strlen(value); in wpa_config_parse_psk() 310 if (ssid->passphrase && os_strlen(ssid->passphrase) == len && in wpa_config_parse_psk() 345 os_strlen(ssid->passphrase)); in wpa_config_write_psk()
|
D | eap_pax_common.c | 56 len[0] = os_strlen(identifier); in eap_pax_kdf()
|
D | pcsc_funcs.c | 925 if (pin == NULL || os_strlen(pin) > 8) in scard_verify_pin() 930 os_memcpy(cmd + 5, pin, os_strlen(pin)); in scard_verify_pin() 931 os_memset(cmd + 5 + os_strlen(pin), 0xff, 8 - os_strlen(pin)); in scard_verify_pin()
|
D | eapol_test.c | 86 maxlen = os_strlen(fmt) + 100; in hostapd_logger() 190 (u8 *) buf, os_strlen(buf))) { in ieee802_1x_encapsulate_radius() 211 (u8 *) buf, os_strlen(buf))) { in ieee802_1x_encapsulate_radius() 698 as->shared_secret_len = os_strlen(secret); in wpa_init_conf()
|
D | tls_openssl.c | 327 len = os_strlen(hash) / 2; in cryptoapi_find_cert() 469 wstore = os_malloc((os_strlen(store) + 1) * sizeof(WCHAR)); in tls_cryptoapi_ca_cert() 966 if (os_strlen((char *) gen->d.ia5->data) == len && in tls_match_altsubject_component() 1008 len = os_strlen(pos); in tls_match_altsubject() 1360 return os_strlen(buf); in tls_passwd_cb()
|
D | config_file.c | 74 end = pos + os_strlen(pos) - 1; in wpa_config_get_line() 207 len = os_strlen(pos); in wpa_config_read_blob()
|
D | eap_sake_common.c | 221 size_t label_len = os_strlen(label) + 1; in eap_sake_kdf()
|
D | driver_ndis.c | 1953 if (os_strncmp(desc, drv->ifname, os_strlen(drv->ifname)) == 0) in wpa_driver_ndis_get_names() 1986 dlen = os_strlen(desc); in wpa_driver_ndis_get_names() 2128 os_strncmp(desc[i], drv->ifname, os_strlen(drv->ifname)) == in wpa_driver_ndis_get_names() 2159 dlen = os_strlen(desc[i]); in wpa_driver_ndis_get_names() 2622 len = pos + os_strlen(drv->ifname); in wpa_driver_ndis_adapter_open()
|
D | ctrl_iface_udp.c | 361 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
|
D | tls_gnutls.c | 484 len = os_strlen(field) + 1 + 837 return gnutls_prf(conn->session, os_strlen(label), label, in tls_connection_prf()
|
D | eap_fast.c | 289 hlen = os_strlen(value); in eap_fast_parse_hex() 477 need = os_strlen(field) + len * 2 + 30; in eap_fast_write() 479 need += os_strlen(field) + len + 20; in eap_fast_write()
|
D | tlsv1_client.c | 2421 plen = os_strlen(tag); in search_tag() 2452 pos += os_strlen(pem_cert_begin); in tlsv1_client_add_cert() 2476 end += os_strlen(pem_cert_end); in tlsv1_client_add_cert()
|
D | ndis_events.c | 477 len = os_strlen(tmp); in ndis_events_use_desc()
|
D | ctrl_iface_named_pipe.c | 497 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
|
D | config_winreg.c | 453 (os_strlen(val) + 1) * sizeof(TCHAR)); in wpa_config_write_reg_string()
|
D | wpa_supplicant.c | 2175 if (os_strlen(iface->ifname) >= sizeof(wpa_s->ifname)) { in wpa_supplicant_init_iface() 2183 if (os_strlen(iface->bridge_ifname) >= in wpa_supplicant_init_iface()
|