Home
last modified time | relevance | path

Searched refs:num_suites (Results 1 – 7 of 7) 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.c55 u16 num_suites; in tls_process_client_hello() local
147 num_suites = WPA_GET_BE16(pos); in tls_process_client_hello()
149 if (end - pos < num_suites) in tls_process_client_hello()
152 pos, num_suites); in tls_process_client_hello()
153 if (num_suites & 1) in tls_process_client_hello()
155 num_suites /= 2; in tls_process_client_hello()
162 for (j = 0; j < num_suites; j++) { in tls_process_client_hello()
171 pos += num_suites * 2; in tls_process_client_hello()
192 num_suites = *pos++; in tls_process_client_hello()
193 if (end - pos < num_suites) in tls_process_client_hello()
[all …]
/external/chromium_org/net/third_party/nss/patches/
Dfallbackscsv.patch15 int num_suites;
39 - ++num_suites; /* make room for SCSV */
40 + ++num_suites;
43 + ++num_suites;
Dnssrwlock.patch24 num_suites = count_cipher_suites(ss, ss->ssl3.policy, PR_TRUE);
25 if (!num_suites) {
84 rv = ssl3_AppendHandshakeNumber(ss, num_suites*sizeof(ssl3CipherSuite), 2);
112 if (actual_count > num_suites) {
129 if (actual_count != num_suites) {
Daesgcmchromium.patch106 num_suites = count_cipher_suites(ss, ss->ssl3.policy, PR_TRUE);
107 if (!num_suites) {
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c5851 int num_suites = 0; in wpa_cipher_to_cipher_suites() local
5853 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP_256) in wpa_cipher_to_cipher_suites()
5854 suites[num_suites++] = WLAN_CIPHER_SUITE_CCMP_256; in wpa_cipher_to_cipher_suites()
5855 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP_256) in wpa_cipher_to_cipher_suites()
5856 suites[num_suites++] = WLAN_CIPHER_SUITE_GCMP_256; in wpa_cipher_to_cipher_suites()
5857 if (num_suites < max_suites && ciphers & WPA_CIPHER_CCMP) in wpa_cipher_to_cipher_suites()
5858 suites[num_suites++] = WLAN_CIPHER_SUITE_CCMP; in wpa_cipher_to_cipher_suites()
5859 if (num_suites < max_suites && ciphers & WPA_CIPHER_GCMP) in wpa_cipher_to_cipher_suites()
5860 suites[num_suites++] = WLAN_CIPHER_SUITE_GCMP; in wpa_cipher_to_cipher_suites()
5861 if (num_suites < max_suites && ciphers & WPA_CIPHER_TKIP) in wpa_cipher_to_cipher_suites()
[all …]
/external/chromium_org/net/third_party/nss/ssl/
Dssl3con.c4997 int num_suites; in ssl3_SendClientHello() local
5200 num_suites = ssl3_config_match_init(ss); in ssl3_SendClientHello()
5201 if (!num_suites) in ssl3_SendClientHello()
5257 num_suites = count_cipher_suites(ss, ss->ssl3.policy, PR_TRUE); in ssl3_SendClientHello()
5258 if (!num_suites) { in ssl3_SendClientHello()
5267 ++num_suites; in ssl3_SendClientHello()
5270 ++num_suites; in ssl3_SendClientHello()
5282 2 + num_suites*sizeof(ssl3CipherSuite) + in ssl3_SendClientHello()
5360 rv = ssl3_AppendHandshakeNumber(ss, num_suites*sizeof(ssl3CipherSuite), 2); in ssl3_SendClientHello()
5389 if (actual_count > num_suites) { in ssl3_SendClientHello()
[all …]