deleting debug code

master
Pedro Alvarez 7 years ago
parent 473e252168
commit 5d4f0b3dfb

@ -145,72 +145,6 @@ hss::gen_auth_info_answer_milenage(uint64_t imsi, uint8_t *k_asme, uint8_t *autn
autn[8+i]=mac[i]; autn[8+i]=mac[i];
} }
std::cout<<"IMSI: "<< imsi << std::endl;
std::cout<<"MCC: "<<mcc<<std::endl;
std::cout<<"MNC "<<mnc<<std::endl;
//DEBUG code
std::cout<<"K: ";
for(int i=0;i<16;i++){
std::cout << std::hex <<(uint16_t) k[i];
}
std::cout<<std::endl;
std::cout<<"OP: ";
for(int i=0;i<16;i++){
std::cout << std::hex <<(uint16_t) op[i];
}
std::cout<<std::endl;
std::cout<<"AMF: ";
for(int i=0;i<2;i++){
std::cout << std::hex <<(uint16_t) amf[i];
}
std::cout<<std::endl;
std::cout<<"RAND: ";
for(int i=0;i<16;i++){
std::cout << std::hex <<(uint16_t) rand[i];
}
std::cout<<std::endl;
std::cout << std::endl;
std::cout<<"XRES: ";
for(int i=0;i<16;i++){
std::cout << std::hex <<(uint16_t) xres[i];
}
std::cout<<std::endl;
std::cout<<"CK: ";
for(int i=0;i<16;i++){
std::cout << std::hex <<(uint16_t) ck[i];
}
std::cout<<std::endl;
std::cout<<"IK: ";
for(int i=0;i<16;i++){
std::cout << std::hex <<(uint16_t) ik[i];
}
std::cout<<std::endl;
std::cout<<"AK: ";
for(int i=0;i<6;i++){
std::cout << std::hex <<(uint16_t) ak[i];
}
std::cout<<std::endl;
std::cout<<"Authn: ";
for(int i=0;i<6;i++){
std::cout << std::hex <<(uint16_t) autn[i];
}
std::cout<<std::endl;
std::cout<<"SQN: ";
for(int i=0;i<6;i++){
std::cout << std::hex <<(uint16_t) sqn[i];
}
std::cout<<std::endl;
return true; return true;
} }

Loading…
Cancel
Save