Lines Matching refs:hexstr2bin
174 hexstr2bin(argv[i], m->ki, sizeof(m->ki))) { in get_milenage_cb()
180 hexstr2bin(argv[i], m->opc, sizeof(m->opc))) { in get_milenage_cb()
186 hexstr2bin(argv[i], m->amf, sizeof(m->amf))) { in get_milenage_cb()
192 hexstr2bin(argv[i], m->sqn, sizeof(m->sqn))) { in get_milenage_cb()
326 if (!pos || os_strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) { in read_gsm_triplets()
335 hexstr2bin(pos, g->sres, 4)) { in read_gsm_triplets()
344 hexstr2bin(pos, g->_rand, 16)) { in read_gsm_triplets()
439 hexstr2bin(pos, m->ki, 16)) { in read_milenage()
448 hexstr2bin(pos, m->opc, 16)) { in read_milenage()
456 if (!pos || os_strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) { in read_milenage()
465 hexstr2bin(pos, m->sqn, 6)) { in read_milenage()
686 if (hexstr2bin(pos, _rand, 16) != 0) in gsm_auth_req()
835 if (hexstr2bin(auts, _auts, EAP_AKA_AUTS_LEN) || in aka_auts()
836 hexstr2bin(__rand, _rand, EAP_AKA_RAND_LEN)) { in aka_auts()