3GPP51.010-1Mobile Station (MS) conformance specificationPart 1: Conformance specificationTS
This clause defines the GSM related default parameters for programming the elementary files of the test SIM or test USIM. The requirements of this annex do not apply to the SIM/ME tests of clause 27.
"Test SIM card":
A SIM card supporting the test algorithm for authentication, programmed with the parameters defined in this subclause. The electrical, mechanical and environmental requirements of the test SIM card are specified in 3GPP TS 11.11 / 3GPP TS 51.011.
Either a test SIM card or the SIM simulator programmed with the parameters defined in this subclause.
A4.1.2 Definition of the test algorithm for authentication
The following procedure employs bit wise modulo 2 addition ("XOR").
The following convention applies:
In all data transfer the most significant byte is the first byte to be sent; data is represented so that the left most bit is the most significant bit of the most significant byte.
XOR to the challenge RAND, a predefined number Ki, having the same bit length (128 bits) as RAND. The result RES1 of this is
RES1 = RAND XOR Ki
The most significant 32 bits of RES1 form SRES. The next 64 bits of RES1 form Kc. The remaining 32 bits are not used.