Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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 …]
/external/wpa_supplicant_8/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 …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c2924 int num_suites = 0; in wpa_cipher_to_cipher_suites() local
2926 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP_256) in wpa_cipher_to_cipher_suites()
2927 suites[num_suites++] = RSN_CIPHER_SUITE_CCMP_256; in wpa_cipher_to_cipher_suites()
2928 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP_256) in wpa_cipher_to_cipher_suites()
2929 suites[num_suites++] = RSN_CIPHER_SUITE_GCMP_256; in wpa_cipher_to_cipher_suites()
2930 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP) in wpa_cipher_to_cipher_suites()
2931 suites[num_suites++] = RSN_CIPHER_SUITE_CCMP; in wpa_cipher_to_cipher_suites()
2932 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP) in wpa_cipher_to_cipher_suites()
2933 suites[num_suites++] = RSN_CIPHER_SUITE_GCMP; in wpa_cipher_to_cipher_suites()
2934 if (num_suites < max_suites && ciphers & WPA_CIPHER_TKIP) in wpa_cipher_to_cipher_suites()
[all …]