Searched refs:EAP_GPSK_RAND_LEN (Results 1 - 19 of 19) sorted by relevance

/external/wpa_supplicant/
H A Deap_gpsk.c24 u8 rand_server[EAP_GPSK_RAND_LEN];
25 u8 rand_peer[EAP_GPSK_RAND_LEN];
172 if (end - pos < EAP_GPSK_RAND_LEN) {
176 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN);
178 data->rand_server, EAP_GPSK_RAND_LEN);
179 pos += EAP_GPSK_RAND_LEN;
313 2 * EAP_GPSK_RAND_LEN + 2 + csuite_list_len +
338 if (os_get_random(data->rand_peer, EAP_GPSK_RAND_LEN)) {
346 data->rand_peer, EAP_GPSK_RAND_LEN);
347 os_memcpy(rpos, data->rand_peer, EAP_GPSK_RAND_LEN);
[all...]
H A Deap_gpsk_common.h30 #define EAP_GPSK_RAND_LEN 32 macro
H A Deap_gpsk_common.c307 seed_len = 2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len;
316 os_memcpy(pos, rand_peer, EAP_GPSK_RAND_LEN);
317 pos += EAP_GPSK_RAND_LEN;
320 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN);
321 pos += EAP_GPSK_RAND_LEN;
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_gpsk.c23 u8 rand_server[EAP_GPSK_RAND_LEN];
24 u8 rand_peer[EAP_GPSK_RAND_LEN];
170 if (end - pos < EAP_GPSK_RAND_LEN) {
174 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN);
176 data->rand_server, EAP_GPSK_RAND_LEN);
177 pos += EAP_GPSK_RAND_LEN;
310 2 * EAP_GPSK_RAND_LEN + 2 + csuite_list_len +
329 if (os_get_random(data->rand_peer, EAP_GPSK_RAND_LEN)) {
337 data->rand_peer, EAP_GPSK_RAND_LEN);
338 wpabuf_put_data(resp, data->rand_peer, EAP_GPSK_RAND_LEN);
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_gpsk.c24 u8 rand_server[EAP_GPSK_RAND_LEN];
25 u8 rand_peer[EAP_GPSK_RAND_LEN];
171 if (end - pos < EAP_GPSK_RAND_LEN) {
175 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN);
177 data->rand_server, EAP_GPSK_RAND_LEN);
178 pos += EAP_GPSK_RAND_LEN;
311 2 * EAP_GPSK_RAND_LEN + 2 + csuite_list_len +
330 if (random_get_bytes(data->rand_peer, EAP_GPSK_RAND_LEN)) {
338 data->rand_peer, EAP_GPSK_RAND_LEN);
339 wpabuf_put_data(resp, data->rand_peer, EAP_GPSK_RAND_LEN);
[all...]
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_gpsk.c24 u8 rand_server[EAP_GPSK_RAND_LEN];
25 u8 rand_peer[EAP_GPSK_RAND_LEN];
171 if (end - pos < EAP_GPSK_RAND_LEN) {
175 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN);
177 data->rand_server, EAP_GPSK_RAND_LEN);
178 pos += EAP_GPSK_RAND_LEN;
311 2 * EAP_GPSK_RAND_LEN + 2 + csuite_list_len +
330 if (random_get_bytes(data->rand_peer, EAP_GPSK_RAND_LEN)) {
338 data->rand_peer, EAP_GPSK_RAND_LEN);
339 wpabuf_put_data(resp, data->rand_peer, EAP_GPSK_RAND_LEN);
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_gpsk.c24 u8 rand_server[EAP_GPSK_RAND_LEN];
25 u8 rand_peer[EAP_GPSK_RAND_LEN];
171 if (end - pos < EAP_GPSK_RAND_LEN) {
175 os_memcpy(data->rand_server, pos, EAP_GPSK_RAND_LEN);
177 data->rand_server, EAP_GPSK_RAND_LEN);
178 pos += EAP_GPSK_RAND_LEN;
311 2 * EAP_GPSK_RAND_LEN + 2 + csuite_list_len +
330 if (random_get_bytes(data->rand_peer, EAP_GPSK_RAND_LEN)) {
338 data->rand_peer, EAP_GPSK_RAND_LEN);
339 wpabuf_put_data(resp, data->rand_peer, EAP_GPSK_RAND_LEN);
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
H A Deap_gpsk.c24 u8 rand_server[EAP_GPSK_RAND_LEN];
25 u8 rand_peer[EAP_GPSK_RAND_LEN];
123 if (os_get_random(data->rand_server, EAP_GPSK_RAND_LEN)) {
129 data->rand_server, EAP_GPSK_RAND_LEN);
131 len = 1 + 2 + data->id_server_len + EAP_GPSK_RAND_LEN + 2 +
145 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
166 len = 1 + 2 * EAP_GPSK_RAND_LEN + 2 + data->id_server_len +
180 wpabuf_put_data(req, data->rand_peer, EAP_GPSK_RAND_LEN);
181 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
318 if (end - pos < EAP_GPSK_RAND_LEN) {
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_gpsk.c25 u8 rand_server[EAP_GPSK_RAND_LEN];
26 u8 rand_peer[EAP_GPSK_RAND_LEN];
124 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) {
130 data->rand_server, EAP_GPSK_RAND_LEN);
132 len = 1 + 2 + data->id_server_len + EAP_GPSK_RAND_LEN + 2 +
146 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
167 len = 1 + 2 * EAP_GPSK_RAND_LEN + 2 + data->id_server_len +
181 wpabuf_put_data(req, data->rand_peer, EAP_GPSK_RAND_LEN);
182 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
319 if (end - pos < EAP_GPSK_RAND_LEN) {
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_gpsk.c25 u8 rand_server[EAP_GPSK_RAND_LEN];
26 u8 rand_peer[EAP_GPSK_RAND_LEN];
124 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) {
130 data->rand_server, EAP_GPSK_RAND_LEN);
132 len = 1 + 2 + data->id_server_len + EAP_GPSK_RAND_LEN + 2 +
146 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
167 len = 1 + 2 * EAP_GPSK_RAND_LEN + 2 + data->id_server_len +
181 wpabuf_put_data(req, data->rand_peer, EAP_GPSK_RAND_LEN);
182 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
319 if (end - pos < EAP_GPSK_RAND_LEN) {
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_gpsk.c25 u8 rand_server[EAP_GPSK_RAND_LEN];
26 u8 rand_peer[EAP_GPSK_RAND_LEN];
124 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) {
130 data->rand_server, EAP_GPSK_RAND_LEN);
132 len = 1 + 2 + data->id_server_len + EAP_GPSK_RAND_LEN + 2 +
146 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
167 len = 1 + 2 * EAP_GPSK_RAND_LEN + 2 + data->id_server_len +
181 wpabuf_put_data(req, data->rand_peer, EAP_GPSK_RAND_LEN);
182 wpabuf_put_data(req, data->rand_server, EAP_GPSK_RAND_LEN);
319 if (end - pos < EAP_GPSK_RAND_LEN) {
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Deap_gpsk_common.h30 #define EAP_GPSK_RAND_LEN 32 macro
H A Deap_gpsk_common.c308 seed_len = 2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len;
317 os_memcpy(pos, rand_peer, EAP_GPSK_RAND_LEN);
318 pos += EAP_GPSK_RAND_LEN;
321 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN);
322 pos += EAP_GPSK_RAND_LEN;
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_gpsk_common.h30 #define EAP_GPSK_RAND_LEN 32 macro
H A Deap_gpsk_common.c305 seed_len = 2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len;
314 os_memcpy(pos, rand_peer, EAP_GPSK_RAND_LEN);
315 pos += EAP_GPSK_RAND_LEN;
318 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN);
319 pos += EAP_GPSK_RAND_LEN;
/external/wpa_supplicant_8/src/eap_common/
H A Deap_gpsk_common.h30 #define EAP_GPSK_RAND_LEN 32 macro
H A Deap_gpsk_common.c305 seed_len = 2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len;
314 os_memcpy(pos, rand_peer, EAP_GPSK_RAND_LEN);
315 pos += EAP_GPSK_RAND_LEN;
318 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN);
319 pos += EAP_GPSK_RAND_LEN;
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_gpsk_common.h30 #define EAP_GPSK_RAND_LEN 32 macro
H A Deap_gpsk_common.c305 seed_len = 2 * EAP_GPSK_RAND_LEN + id_server_len + id_peer_len;
314 os_memcpy(pos, rand_peer, EAP_GPSK_RAND_LEN);
315 pos += EAP_GPSK_RAND_LEN;
318 os_memcpy(pos, rand_server, EAP_GPSK_RAND_LEN);
319 pos += EAP_GPSK_RAND_LEN;

Completed in 1039 milliseconds