Searched refs:num_suites (Results 1 – 3 of 3) sorted by relevance
30 int num_suites; in wpa_write_wpa_ie() local52 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 …]
127 u16 num_suites; in tls_process_client_hello() local219 num_suites = WPA_GET_BE16(pos); in tls_process_client_hello()221 if (end - pos < num_suites) in tls_process_client_hello()224 pos, num_suites); in tls_process_client_hello()225 if (num_suites & 1) in tls_process_client_hello()227 num_suites /= 2; in tls_process_client_hello()234 for (j = 0; j < num_suites; j++) { in tls_process_client_hello()243 pos += num_suites * 2; in tls_process_client_hello()264 num_suites = *pos++; in tls_process_client_hello()265 if (end - pos < num_suites) in tls_process_client_hello()[all …]
2540 int num_suites = 0; in wpa_cipher_to_cipher_suites() local2542 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP_256) in wpa_cipher_to_cipher_suites()2543 suites[num_suites++] = WLAN_CIPHER_SUITE_CCMP_256; in wpa_cipher_to_cipher_suites()2544 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP_256) in wpa_cipher_to_cipher_suites()2545 suites[num_suites++] = WLAN_CIPHER_SUITE_GCMP_256; in wpa_cipher_to_cipher_suites()2546 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP) in wpa_cipher_to_cipher_suites()2547 suites[num_suites++] = WLAN_CIPHER_SUITE_CCMP; in wpa_cipher_to_cipher_suites()2548 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP) in wpa_cipher_to_cipher_suites()2549 suites[num_suites++] = WLAN_CIPHER_SUITE_GCMP; in wpa_cipher_to_cipher_suites()2550 if (num_suites < max_suites && ciphers & WPA_CIPHER_TKIP) in wpa_cipher_to_cipher_suites()[all …]