Changed f2345 and f1 in USIM to use OPc.

master
Pedro Alvarez 6 years ago
parent 50f497dcdc
commit 50f9f78852

@ -353,7 +353,7 @@ auth_result_t usim::gen_auth_res_milenage(uint8_t *rand,
// Use RAND and K to compute RES, CK, IK and AK // Use RAND and K to compute RES, CK, IK and AK
security_milenage_f2345( k, security_milenage_f2345( k,
op, opc,
rand, rand,
res, res,
ck, ck,
@ -375,7 +375,7 @@ auth_result_t usim::gen_auth_res_milenage(uint8_t *rand,
// Generate MAC // Generate MAC
security_milenage_f1( k, security_milenage_f1( k,
op, opc,
rand, rand,
sqn, sqn,
amf, amf,

Loading…
Cancel
Save