HomeSort by relevance Sort by last modified time
    Searched defs:_rand (Results 1 - 9 of 9) sorted by null

  /external/wpa_supplicant/
eap_sake_common.c 328 u8 _rand[2 * EAP_SAKE_RAND_LEN]; local
349 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN);
350 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_p,
364 os_memcpy(_rand, rand_p, EAP_SAKE_RAND_LEN);
365 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_s,
374 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen,
eapol_test.c 717 unsigned char _rand[16]; local
758 os_memset(_rand, 0, sizeof(_rand));
759 if (scard_gsm_auth(scard, _rand, sres, kc))
762 os_memset(_rand, 0xff, sizeof(_rand));
763 if (scard_gsm_auth(scard, _rand, sres, kc))
823 unsigned char _rand[16]; local
858 os_memset(_rand, i, sizeof(_rand));
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
eap_sake_common.c 329 u8 _rand[2 * EAP_SAKE_RAND_LEN]; local
350 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN);
351 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_p,
365 os_memcpy(_rand, rand_p, EAP_SAKE_RAND_LEN);
366 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_s,
375 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen,
  /external/wpa_supplicant_8/src/eap_common/
eap_sake_common.c 329 u8 _rand[2 * EAP_SAKE_RAND_LEN]; local
350 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN);
351 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_p,
365 os_memcpy(_rand, rand_p, EAP_SAKE_RAND_LEN);
366 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_s,
375 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen,
  /external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/
milenage.c 35 * @_rand: RAND = 128-bit random challenge
42 static int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand,
50 tmp1[i] = _rand[i] ^ opc[i];
86 * @_rand: RAND = 128-bit random challenge
94 static int milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand,
102 tmp1[i] = _rand[i] ^ opc[i];
172 * @_rand: RAND = 128-bit random challenge
180 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik,
190 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) ||
191 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL))
1026 u8 auts[14], sqn[6], _rand[16]; local
    [all...]
hlr_auc_gw.c 62 u8 _rand[16]; member in struct:gsm_triplet
206 if (strlen(pos) != 32 || hexstr2bin(pos, g->_rand, 16)) {
419 u8 _rand[16], sres[4], kc[8]; local
421 if (os_get_random(_rand, 16) < 0)
423 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
429 rpos += wpa_snprintf_hex(rpos, rend - rpos, _rand, 16);
448 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->_rand, 16);
473 u8 _rand[EAP_AKA_RAND_LEN]; local
484 if (os_get_random(_rand, EAP_AKA_RAND_LEN) < 0)
491 milenage_generate(m->opc, m->amf, m->ki, m->sqn, _rand,
536 u8 _auts[EAP_AKA_AUTS_LEN], _rand[EAP_AKA_RAND_LEN], sqn[6]; local
    [all...]
  /external/wpa_supplicant_8/hostapd/
hlr_auc_gw.c 63 u8 _rand[16]; member in struct:gsm_triplet
207 if (strlen(pos) != 32 || hexstr2bin(pos, g->_rand, 16)) {
420 u8 _rand[16], sres[4], kc[8]; local
422 if (random_get_bytes(_rand, 16) < 0)
424 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
430 rpos += wpa_snprintf_hex(rpos, rend - rpos, _rand, 16);
449 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->_rand, 16);
474 u8 _rand[EAP_AKA_RAND_LEN]; local
485 if (random_get_bytes(_rand, EAP_AKA_RAND_LEN) < 0)
492 milenage_generate(m->opc, m->amf, m->ki, m->sqn, _rand,
537 u8 _auts[EAP_AKA_AUTS_LEN], _rand[EAP_AKA_RAND_LEN], sqn[6]; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/
eapol_test.c 793 unsigned char _rand[16]; local
834 os_memset(_rand, 0, sizeof(_rand));
835 if (scard_gsm_auth(scard, _rand, sres, kc))
838 os_memset(_rand, 0xff, sizeof(_rand));
839 if (scard_gsm_auth(scard, _rand, sres, kc))
899 unsigned char _rand[16]; local
934 os_memset(_rand, i, sizeof(_rand));
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
eapol_test.c 818 unsigned char _rand[16]; local
859 os_memset(_rand, 0, sizeof(_rand));
860 if (scard_gsm_auth(scard, _rand, sres, kc))
863 os_memset(_rand, 0xff, sizeof(_rand));
864 if (scard_gsm_auth(scard, _rand, sres, kc))
924 unsigned char _rand[16]; local
959 os_memset(_rand, i, sizeof(_rand));
    [all...]

Completed in 301 milliseconds