Home | History | Annotate | Download | only in hostapd

Lines Matching refs:_rand

76 	u8 _rand[16];
344 hexstr2bin(pos, g->_rand, 16)) {
617 u8 _rand[16], sres[4], kc[8];
619 if (random_get_bytes(_rand, 16) < 0)
621 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
627 rpos += wpa_snprintf_hex(rpos, rend - rpos, _rand, 16);
646 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->_rand, 16);
684 u8 _rand[16], sres[4], kc[8];
686 if (hexstr2bin(pos, _rand, 16) != 0)
688 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
738 u8 _rand[EAP_AKA_RAND_LEN];
750 if (random_get_bytes(_rand, EAP_AKA_RAND_LEN) < 0)
763 milenage_generate(m->opc, m->amf, m->ki, m->sqn, _rand,
773 memset(_rand, '0', EAP_AKA_RAND_LEN);
797 pos += wpa_snprintf_hex(pos, end - pos, _rand, EAP_AKA_RAND_LEN);
814 u8 _auts[EAP_AKA_AUTS_LEN], _rand[EAP_AKA_RAND_LEN], sqn[6];
836 hexstr2bin(__rand, _rand, EAP_AKA_RAND_LEN)) {
847 if (milenage_auts(m->opc, m->ki, _rand, _auts, sqn)) {