Home | History | Annotate | Download | only in hostapd

Lines Matching refs:_rand

68 	u8 _rand[16];
351 if (strlen(pos) != 32 || hexstr2bin(pos, g->_rand, 16)) {
643 u8 _rand[16], sres[4], kc[8];
645 if (random_get_bytes(_rand, 16) < 0)
647 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
653 rpos += wpa_snprintf_hex(rpos, rend - rpos, _rand, 16);
672 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->_rand, 16);
719 u8 _rand[EAP_AKA_RAND_LEN];
731 if (random_get_bytes(_rand, EAP_AKA_RAND_LEN) < 0)
742 milenage_generate(m->opc, m->amf, m->ki, m->sqn, _rand,
748 memset(_rand, '0', EAP_AKA_RAND_LEN);
772 pos += wpa_snprintf_hex(pos, end - pos, _rand, EAP_AKA_RAND_LEN);
795 u8 _auts[EAP_AKA_AUTS_LEN], _rand[EAP_AKA_RAND_LEN], sqn[6];
812 hexstr2bin(__rand, _rand, EAP_AKA_RAND_LEN)) {
823 if (milenage_auts(m->opc, m->ki, _rand, _auts, sqn)) {