/hostap-3.6.0/src/utils/ |
D | uuid.c | 15 int uuid_str2bin(const char *str, u8 *bin) in uuid_str2bin() argument 21 opos = bin; in uuid_str2bin() 50 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) in uuid_bin2str() argument 55 bin[0], bin[1], bin[2], bin[3], in uuid_bin2str() 56 bin[4], bin[5], bin[6], bin[7], in uuid_bin2str() 57 bin[8], bin[9], bin[10], bin[11], in uuid_bin2str() 58 bin[12], bin[13], bin[14], bin[15]); in uuid_bin2str()
|
D | utils_module_tests.c | 50 u8 bin[100]; in printf_encode_decode_tests() local 61 binlen = printf_decode(bin, sizeof(bin), buf); in printf_encode_decode_tests() 63 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests() 65 bin, binlen); in printf_encode_decode_tests() 69 binlen = printf_decode(bin, sizeof(bin), test->encoded); in printf_encode_decode_tests() 71 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests() 73 bin, binlen); in printf_encode_decode_tests() 95 if (printf_decode(bin, 3, "abcde") != 2) in printf_encode_decode_tests() 98 if (printf_decode(bin, 3, "\\xa") != 1 || bin[0] != 10) in printf_encode_decode_tests() 101 if (printf_decode(bin, 3, "\\xq") != 1 || bin[0] != 'q') in printf_encode_decode_tests() [all …]
|
D | uuid.h | 14 int uuid_str2bin(const char *str, u8 *bin); 15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
|
D | json.c | 69 u8 bin[2]; in json_parse_string() local 128 hexstr2bin(pos + 1, bin, 2) < 0 || in json_parse_string() 129 bin[1] == 0x00) { in json_parse_string() 134 if (bin[0] == 0x00) { in json_parse_string() 135 *spos++ = bin[1]; in json_parse_string() 137 *spos++ = bin[0]; in json_parse_string() 138 *spos++ = bin[1]; in json_parse_string()
|
D | common.c | 1003 void bin_clear_free(void *bin, size_t len) in bin_clear_free() argument 1005 if (bin) { in bin_clear_free() 1006 forced_memzero(bin, len); in bin_clear_free() 1007 os_free(bin); in bin_clear_free()
|
D | common.h | 588 void bin_clear_free(void *bin, size_t len);
|
/hostap-3.6.0/tests/ |
D | test-aes.c | 337 u8 bin[2000], k[32], p[1024], c[1024 + 8], result[1024 + 8]; in test_nist_key_wrap_ae() local 381 if (bin_len > sizeof(bin) * 2) { in test_nist_key_wrap_ae() 391 if (hexstr2bin(pos, bin, bin_len) < 0) { in test_nist_key_wrap_ae() 401 os_memcpy(k, bin, bin_len); in test_nist_key_wrap_ae() 411 os_memcpy(p, bin, bin_len); in test_nist_key_wrap_ae() 425 os_memcpy(c, bin, bin_len); in test_nist_key_wrap_ae() 465 u8 bin[2000], k[32], p[1024], c[1024 + 8], result[1024 + 8]; in test_nist_key_wrap_ad() local 516 if (bin_len > sizeof(bin) * 2) { in test_nist_key_wrap_ad() 526 if (hexstr2bin(pos, bin, bin_len) < 0) { in test_nist_key_wrap_ad() 536 os_memcpy(k, bin, bin_len); in test_nist_key_wrap_ad() [all …]
|
/hostap-3.6.0/tests/hwsim/vm/ |
D | inside.sh | 59 mkdir /tmp/bin 60 cat > /tmp/bin/sudo << EOF 65 chmod +x /tmp/bin/sudo 67 export PATH=/tmp/bin:$EPATH:$PATH 77 root:x:0:0:root:/tmp:/bin/bash 78 messagebus:x:102:106::/var/run/dbus:/bin/false 122 cat > /tmp/bin/login <<EOF 128 chmod +x /tmp/bin/login 135 in.telnetd -debug 23 -L /tmp/bin/login
|
D | uevent.sh | 4 PATH=/tmp/bin:$EPATH:$PATH
|
/hostap-3.6.0/tests/hwsim/ |
D | stop.sh | 3 if pidof wpa_supplicant hostapd valgrind.bin hlr_auc_gw > /dev/null; then 11 for i in `pidof valgrind.bin`; do 26 if ! pidof wpa_supplicant hostapd valgrind.bin hlr_auc_gw > /dev/null; then 53 for i in `pidof valgrind.bin`; do
|
D | wlantest.py | 252 bin = '../../wlantest/wlantest' 254 bin = 'wlantest' 256 args = [bin, '-e', '-i', ifname, '-w', output]
|
D | example-setup.txt | 95 sudo mv /lib/crda/regulatory.bin{,-distro} 96 sudo cp wireless-regdb-2014.10.07/regulatory.bin /lib/crda/regulatory.bin 99 regdbdump /lib/crda/regulatory.bin
|
/hostap-3.6.0/src/common/ |
D | common_module_tests.c | 459 u8 bin[SAE_MAX_ECC_PRIME_LEN * 2]; in sae_tests() local 467 if (crypto_ec_point_to_bin(pt->ec, pwe, bin, in sae_tests() 468 bin + prime_len) < 0 || in sae_tests() 469 os_memcmp(pwe_19_x, bin, prime_len) != 0 || in sae_tests() 470 os_memcmp(pwe_19_y, bin + prime_len, in sae_tests() 483 u8 bin[SAE_MAX_PRIME_LEN]; in sae_tests() local 491 if (crypto_bignum_to_bin(pwe, bin, sizeof(bin), in sae_tests() 493 os_memcmp(pwe_15, bin, prime_len) != 0) { in sae_tests()
|
D | sae.c | 613 u8 *bin; in debug_print_bignum() local 615 bin = os_malloc(prime_len); in debug_print_bignum() 616 if (bin && crypto_bignum_to_bin(a, bin, prime_len, prime_len) >= 0) in debug_print_bignum() 617 wpa_hexdump_key(MSG_DEBUG, title, bin, prime_len); in debug_print_bignum() 620 bin_clear_free(bin, prime_len); in debug_print_bignum() 634 u8 bin[SAE_MAX_ECC_PRIME_LEN]; in sswu() local 714 const_time_select_bin(m_is_zero, bin1, bin2, prime_len, bin); in sswu() 715 x1 = crypto_bignum_init_set(bin, prime_len); in sswu() 756 const_time_select_bin(is_qr, bin1, bin2, prime_len, bin); in sswu() 757 v = crypto_bignum_init_set(bin, prime_len); in sswu() [all …]
|
/hostap-3.6.0/wpadebug/ |
D | README | 45 adb install bin/wpadebug-debug.apk 58 adb shell cp /system/bin/mksh /system/bin/mksh-su 59 adb shell chmod 6755 /system/bin/mksh-su 76 adb shell rm /system/bin/mksh-su
|
D | .gitignore | 1 bin
|
/hostap-3.6.0/wpa_supplicant/examples/ |
D | 60_wpa_supplicant | 6 PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
/hostap-3.6.0/src/tls/ |
D | asn1.c | 506 u8 bin[4]; in asn1_put_integer() local 509 WPA_PUT_BE32(bin, val); in asn1_put_integer() 511 while (zeros < 3 && bin[zeros] == 0) in asn1_put_integer() 515 wpabuf_put_data(buf, &bin[zeros], 4 - zeros); in asn1_put_integer()
|
/hostap-3.6.0/hostapd/ |
D | hostapd.android.rc | 12 service hostapd /vendor/bin/hostapd \
|
D | Makefile | 28 export BINDIR ?= /usr/local/bin/
|
/hostap-3.6.0/doc/ |
D | doxygen.conf | 1344 PERL_PATH = /usr/bin/perl
|
/hostap-3.6.0/wpa_supplicant/doc/docbook/ |
D | wpa_supplicant.sgml | 712 if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then 713 /usr/local/bin/wpa_supplicant -B -c/etc/wpa_supplicant.conf -i$DEVICE 723 if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then
|
/hostap-3.6.0/wpa_supplicant/ |
D | README | 373 the binaries to a suitable system directory, e.g., /usr/local/bin. 380 cp wpa_cli wpa_supplicant /usr/local/bin 825 #!/bin/sh 860 if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then 861 /usr/local/bin/wpa_supplicant -B -c/etc/wpa_supplicant.conf \ 868 if [ "$WPA" = "y" -a -x /usr/local/bin/wpa_supplicant ]; then
|
D | nmake.mak | 11 # (http://www.winpcap.org/install/bin/WpdPack_3_1.zip)
|
/hostap-3.6.0/src/drivers/ |
D | driver_wext.c | 1405 u8 bin[8]; in wext_get_scan_custom() local 1413 if (hexstr2bin(spos, bin, bytes) < 0) { in wext_get_scan_custom() 1417 res->res.tsf += WPA_GET_BE64(bin); in wext_get_scan_custom()
|