Lines Matching defs:sres
37 * Kc/SRES/RAND/AUTN/IK/CK/RES/AUTS as hex strings.
40 * text file in IMSI:Kc:SRES:RAND format, IMSI in ASCII, other fields as hex
62 u8 sres[4];
134 /* Parse IMSI:Kc:SRES:RAND */
186 /* SRES */
189 printf("%s:%d - Invalid SRES (%s)\n", fname, line,
195 if (strlen(pos) != 8 || hexstr2bin(pos, g->sres, 4)) {
196 printf("%s:%d - Invalid SRES (%s)\n", fname, line,
420 u8 _rand[16], sres[4], kc[8];
424 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
428 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4);
446 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->sres, 4);