Lines Matching defs:kc
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
61 u8 kc[8];
134 /* Parse IMSI:Kc:SRES:RAND */
171 /* Kc */
174 printf("%s:%d - Invalid Kc (%s)\n", fname, line, pos);
179 if (strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) {
180 printf("%s:%d - Invalid Kc (%s)\n", fname, line, pos);
420 u8 _rand[16], sres[4], kc[8];
424 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
426 rpos += wpa_snprintf_hex(rpos, rend - rpos, kc, 8);
443 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->kc, 8);