| when a MS requests access to the network, the MSC/VLR will normally require the MS to authenticate. The MSC will forward the IMSI to the HLR and request authentication Triplets. | |
|
| When
the HLR receives the IMSI and the authentication request, it first
checks its database to make sure the IMSI is valid and belongs to the
network. Once it has accomplished this, it will forward the IMSI and
authentication request to the Authentication Center (AuC). | |
|
| The
AuC will use the IMSI to look up the Ki associated with that IMSI. The
Ki is the individual subscriber authentication key. It is a 128-bit
number that is paired with an IMSI when the SIM card is created. The Ki
is only stored on the SIM card and at the AuC. The Auc will also
generate a 128-bit random number called the RAND. | |
|
| The RAND and the Ki are inputted into the A3 encryption algorithm. The output is the 32-bit Signed Response (SRES). The SRES is essentially the "challenge" sent to the MS when authentication is requested. | |
|
| The
RAND and Ki are input into the A8 encryption algorithm. The output is
the 64-bit Kc. The Kc is the ciphering key that is used in the A5
encryption algorithm to encipher and decipher the data that is being
transmitted on the Um interface. | |
|
| The RAND, SRES, and Kc are collectively known as the Triplets.
The AuC may generate many sets of Triplets and send them to the
requesting MSC/VLR. This is in order to reduce the signalling overhead
that would result if the MSC/VLR requested one set of triplets every
time it wanted to authenticate the. It should be noted that a set of
triplets is unique to one IMSI, it can not be used with any other IMSI.
| |
|
| Once
the AuC has generated the triplets (or sets of triplets), it forwards
them to the HLR. The HLr subsequently sends them to the requesting
MSC/VLR. | |
|
| The MSC stores the Kc and the SRES but forwards the RAND to the MS and orders it to authenticate. | |
|
| The
MS has the Ki stored on the SIM card. The A3 and A8 algorithms also
reside on the SIM card. The RAND and Ki are inputted into the A3 and A8
encryption algorithms to generate the SRES and the Kc respectively. | |
|