Commit a86bbb9f authored by liuxu's avatar liuxu

tinker 230915

parent 30e2cf7f
...@@ -1551,7 +1551,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in ...@@ -1551,7 +1551,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in
_security_knas_enc(kasme, knas_enc, NAS_SECURITY_ALGORITHMS_EEA0); _security_knas_enc(kasme, knas_enc, NAS_SECURITY_ALGORITHMS_EEA0);
printf("knas_enc:\n"); printf("knas_enc:\n");
for(int i = 0; i < 32; i++){ for(int i = 0; i < 16; i++){
printf("%02x ", knas_enc[i]); printf("%02x ", knas_enc[i]);
} }
printf("\n"); printf("\n");
...@@ -1559,7 +1559,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in ...@@ -1559,7 +1559,7 @@ int authenticate(u8 *rand, u8 *autn, u8 *opc, u8 *res, u8 *knas_enc, u8 *knas_in
_security_knas_int(kasme, knas_int, NAS_SECURITY_ALGORITHMS_EIA2); _security_knas_int(kasme, knas_int, NAS_SECURITY_ALGORITHMS_EIA2);
printf("knas_int:\n"); printf("knas_int:\n");
for(int i = 0; i < 32; i++){ for(int i = 0; i < 16; i++){
printf("%02x ", knas_int[i]); printf("%02x ", knas_int[i]);
} }
printf("\n"); printf("\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment