Searched refs:num_suites (Results 1 – 6 of 6) 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() local237 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 …]
3133 int num_suites = 0; in wpa_cipher_to_cipher_suites() local3135 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 …]
2920 int num_suites = 0; in wpa_cipher_to_cipher_suites() local2922 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 …]