From 553006198a3881cf5b47b1a7af84108a8c1cc1c5 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 24 Apr 2018 12:47:26 +0100 Subject: [PATCH] Testing if OPc is causing auth problems with SYSMOCOM SIMs. --- lib/src/common/liblte_security.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/common/liblte_security.cc b/lib/src/common/liblte_security.cc index 1cf83e5b3..f6e312959 100644 --- a/lib/src/common/liblte_security.cc +++ b/lib/src/common/liblte_security.cc @@ -1293,7 +1293,8 @@ LIBLTE_ERROR_ENUM liblte_security_milenage_f2345(uint8 *k, rijndael_key_schedule(k, &round_keys); // Compute OPc - compute_OPc(&round_keys, op, op_c); + //compute_OPc(&round_keys, op, op_c); + memcpy(op_c,op,16); // Compute temp for(i=0; i<16; i++)