Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching full:rand

39 	u8 rand[3][GSM_RAND_LEN];
112 if (scard_gsm_auth(sm->scard_ctx, data->rand[0],
114 scard_gsm_auth(sm->scard_ctx, data->rand[1],
117 scard_gsm_auth(sm->scard_ctx, data->rand[2],
124 /* These hardcoded Kc and SRES values are used for testing. RAND to
131 if (data->rand[i][0] == 0xaa) {
137 } else if (data->rand[i][0] == 0xbb) {
491 if (!attr->mac || !attr->rand) {
495 !attr->rand ? " AT_RAND" : "");
516 if (os_memcmp(attr->rand, attr->rand + GSM_RAND_LEN,
519 (os_memcmp(attr->rand, attr->rand + 2 * GSM_RAND_LEN,
521 os_memcmp(attr->rand + GSM_RAND_LEN,
522 attr->rand + 2 * GSM_RAND_LEN,
524 wpa_printf(MSG_INFO, "EAP-SIM: Same RAND used multiple times");
529 os_memcpy(data->rand, attr->rand, attr->num_chal * GSM_RAND_LEN);