Home | History | Annotate | Download | only in hostapd

Lines Matching defs:amf

73 /* OPc and AMF parameters for Milenage (Example algorithms for AKA). */
79 u8 amf[2];
118 " amf CHAR(4) NOT NULL,"
174 if (os_strcmp(col[i], "amf") == 0 && argv[i] &&
175 hexstr2bin(argv[i], m->amf, sizeof(m->amf))) {
176 printf("Invalid amf value in database\n");
201 "SELECT ki,opc,amf,sqn FROM milenage WHERE imsi=%llu;",
416 /* Parse IMSI Ki OPc AMF SQN */
483 /* AMF */
486 printf("%s:%d - Invalid AMF (%s)\n", fname, line, pos);
491 if (strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) {
492 printf("%s:%d - Invalid AMF (%s)\n", fname, line, pos);
544 /* IMSI Ki OPc AMF SQN */
568 pos += wpa_snprintf_hex(pos, end - pos, m->amf, 2);
742 milenage_generate(m->opc, m->amf, m->ki, m->sqn, _rand,