Searched refs:num_suites (Results 1 – 2 of 2) 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 …]