auth.c (line no 45 to 49)..the doubt is hw the looping
is done from
0 to 4 and 8 to 12...can u pls give me any link to clear this doubt...
This implements the so called "XOR" sim cards. I don't know of any
official specs, it's just how they work as tested on one of those SIMs
...
one
more thing there is a function [comp128(ainfo->a3a8_ki, atuple->rand,
atuple->sres, atuple->kc)] in line no 63..but it is not defined..
It's in libosmocore
http://git.osmocom.org/gitweb?p=libosmocore.git;a=blob;f=src/comp128.c;h=5d…
Sylvain