Commit 1933ffbd authored by gauthier's avatar gauthier
Browse files

Inc SEQ2 (SQN=SEQ||IND, SEQ=SEQ1||SEQ2) in case of sync

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5619 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 37161bb0
...@@ -61,12 +61,12 @@ uint8_t *sqn_ms_derive(uint8_t *key, uint8_t *auts, uint8_t *rand_p) ...@@ -61,12 +61,12 @@ uint8_t *sqn_ms_derive(uint8_t *key, uint8_t *auts, uint8_t *rand_p)
sqn_ms[i] = ak[i] ^ conc_sqn_ms[i]; sqn_ms[i] = ak[i] ^ conc_sqn_ms[i];
} }
print_buffer("KEY : ", key, 16); print_buffer("sqn_ms_derive() KEY : ", key, 16);
print_buffer("RAND : ", rand_p, 16); print_buffer("sqn_ms_derive() RAND : ", rand_p, 16);
print_buffer("AUTS : ", auts, 14); print_buffer("sqn_ms_derive() AUTS : ", auts, 14);
print_buffer("AK : ", ak, 6); print_buffer("sqn_ms_derive() AK : ", ak, 6);
print_buffer("SQN_MS : ", sqn_ms, 6); print_buffer("sqn_ms_derive() SQN_MS : ", sqn_ms, 6);
print_buffer("MAC_S : ", mac_s, 8); print_buffer("sqn_ms_derive() MAC_S : ", mac_s, 8);
f1star(key, rand_p, sqn_ms, amf, mac_s_computed); f1star(key, rand_p, sqn_ms, amf, mac_s_computed);
......
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