Home
last modified time | relevance | path

Searched refs:num_suites (Results 1 – 6 of 6) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ie.c30 int num_suites; in wpa_write_wpa_ie() local
52 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise); in wpa_write_wpa_ie()
53 if (num_suites == 0) { in wpa_write_wpa_ie()
58 pos += num_suites * WPA_SELECTOR_LEN; in wpa_write_wpa_ie()
59 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
61 num_suites = 0; in wpa_write_wpa_ie()
68 num_suites++; in wpa_write_wpa_ie()
73 num_suites++; in wpa_write_wpa_ie()
76 if (num_suites == 0) { in wpa_write_wpa_ie()
81 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dwpa_auth_ie.c30 int num_suites; in wpa_write_wpa_ie() local
52 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise); in wpa_write_wpa_ie()
53 if (num_suites == 0) { in wpa_write_wpa_ie()
58 pos += num_suites * WPA_SELECTOR_LEN; in wpa_write_wpa_ie()
59 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
61 num_suites = 0; in wpa_write_wpa_ie()
68 num_suites++; in wpa_write_wpa_ie()
73 num_suites++; in wpa_write_wpa_ie()
76 if (num_suites == 0) { in wpa_write_wpa_ie()
81 WPA_PUT_LE16(count, num_suites); in wpa_write_wpa_ie()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_server_read.c127 u16 num_suites; in tls_process_client_hello() local
237 num_suites = WPA_GET_BE16(pos); in tls_process_client_hello()
239 if (end - pos < num_suites) { in tls_process_client_hello()
244 pos, num_suites); in tls_process_client_hello()
245 if (num_suites & 1) { in tls_process_client_hello()
249 num_suites /= 2; in tls_process_client_hello()
256 for (j = 0; j < num_suites; j++) { in tls_process_client_hello()
265 pos += num_suites * 2; in tls_process_client_hello()
289 num_suites = *pos++; in tls_process_client_hello()
290 if (end - pos < num_suites) { in tls_process_client_hello()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_server_read.c127 u16 num_suites; in tls_process_client_hello() local
237 num_suites = WPA_GET_BE16(pos); in tls_process_client_hello()
239 if (end - pos < num_suites) { in tls_process_client_hello()
244 pos, num_suites); in tls_process_client_hello()
245 if (num_suites & 1) { in tls_process_client_hello()
249 num_suites /= 2; in tls_process_client_hello()
256 for (j = 0; j < num_suites; j++) { in tls_process_client_hello()
265 pos += num_suites * 2; in tls_process_client_hello()
289 num_suites = *pos++; in tls_process_client_hello()
290 if (end - pos < num_suites) { in tls_process_client_hello()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211.c3133 int num_suites = 0; in wpa_cipher_to_cipher_suites() local
3135 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP_256) in wpa_cipher_to_cipher_suites()
3136 suites[num_suites++] = RSN_CIPHER_SUITE_CCMP_256; in wpa_cipher_to_cipher_suites()
3137 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP_256) in wpa_cipher_to_cipher_suites()
3138 suites[num_suites++] = RSN_CIPHER_SUITE_GCMP_256; in wpa_cipher_to_cipher_suites()
3139 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP) in wpa_cipher_to_cipher_suites()
3140 suites[num_suites++] = RSN_CIPHER_SUITE_CCMP; in wpa_cipher_to_cipher_suites()
3141 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP) in wpa_cipher_to_cipher_suites()
3142 suites[num_suites++] = RSN_CIPHER_SUITE_GCMP; in wpa_cipher_to_cipher_suites()
3143 if (num_suites < max_suites && ciphers & WPA_CIPHER_TKIP) in wpa_cipher_to_cipher_suites()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211.c2920 int num_suites = 0; in wpa_cipher_to_cipher_suites() local
2922 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP_256) in wpa_cipher_to_cipher_suites()
2923 suites[num_suites++] = RSN_CIPHER_SUITE_CCMP_256; in wpa_cipher_to_cipher_suites()
2924 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP_256) in wpa_cipher_to_cipher_suites()
2925 suites[num_suites++] = RSN_CIPHER_SUITE_GCMP_256; in wpa_cipher_to_cipher_suites()
2926 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP) in wpa_cipher_to_cipher_suites()
2927 suites[num_suites++] = RSN_CIPHER_SUITE_CCMP; in wpa_cipher_to_cipher_suites()
2928 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP) in wpa_cipher_to_cipher_suites()
2929 suites[num_suites++] = RSN_CIPHER_SUITE_GCMP; in wpa_cipher_to_cipher_suites()
2930 if (num_suites < max_suites && ciphers & WPA_CIPHER_TKIP) in wpa_cipher_to_cipher_suites()
[all …]