Home
last modified time | relevance | path

Searched refs:os_strlen (Results 1 – 25 of 27) sorted by relevance

12

/external/wpa_supplicant/
Dwpa_passphrase.c56 if (os_strlen(passphrase) < 8 || os_strlen(passphrase) > 63) { in main()
61 pbkdf2_sha1(passphrase, ssid, os_strlen(ssid), 4096, psk, 32); in main()
Dwpa_cli.c195 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()
Dctrl_iface.c142 (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 …]
Dos.h282 size_t os_strlen(const char *s);
412 #ifndef os_strlen
413 #define os_strlen(s) strlen(s) macro
Dos_internal.c302 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()
Dctrl_iface_unix.c218 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()
Dsha1.c129 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()
Ddriver_test.c208 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()
Dos_none.c154 size_t os_strlen(const char *s) in os_strlen() function
Dconfig.c65 *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()
Deap_pax_common.c56 len[0] = os_strlen(identifier); in eap_pax_kdf()
Dpcsc_funcs.c925 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()
Deapol_test.c86 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()
Dtls_openssl.c327 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()
Dconfig_file.c74 end = pos + os_strlen(pos) - 1; in wpa_config_get_line()
207 len = os_strlen(pos); in wpa_config_read_blob()
Deap_sake_common.c221 size_t label_len = os_strlen(label) + 1; in eap_sake_kdf()
Ddriver_ndis.c1953 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()
Dctrl_iface_udp.c361 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
Dtls_gnutls.c484 len = os_strlen(field) + 1 +
837 return gnutls_prf(conn->session, os_strlen(label), label, in tls_connection_prf()
Deap_fast.c289 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()
Dtlsv1_client.c2421 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()
Dndis_events.c477 len = os_strlen(tmp); in ndis_events_use_desc()
Dctrl_iface_named_pipe.c497 llen = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
Dconfig_winreg.c453 (os_strlen(val) + 1) * sizeof(TCHAR)); in wpa_config_write_reg_string()
Dwpa_supplicant.c2175 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()

12