CDMA Authentication commands description
Initial card values are as follows (some of them will change during authentication process):
This command is used to produce an Authentication response. The GET RESPONSE command shall be used to get the response data. If the SAVE_REGISTER flag is set, some values of the cave algorithm are held in the card to be used by the GENERATE KEY VPM command. For the calculation of the AUTHR/AUTHU value, the card uses the "Auth_Signature" procedure:
This command generates "key bits" and a "VPM key bits". Part of the VPM key bit is given as response to the ME.
Base Station Challenge
This command is used to generate the RANDBS random value.
This command performs the calculation of a new Shared Secret Data (AUTHBS, SSD_A_NEW and SSD_B_NEW). These values are held until a successful CONFIRM SSD, otherwise they are lost. The card uses either ESN or UIMID (stored in EFUIMID) depending on the value stored in EF R-UIMID:
This command is used to validate the new Shared Secret Data (SSD_A_NEW and SSD_B_NEW) by comparing the AUTHBS value calculated by the UPDATE SSD command with the AUTHBS received from the system. If successful, SSD_A and SSD_B values are updated in EF SSD.
This command is used to store the ESN of the ME into the EF ESN_ME file and return a flag indicating if ESN_ME is different from the previous ESN which was stored in EFESN_ME. It modifies the value stored in the EF R-UIMID. No modification are involved if the file is invalidated. EF R-UIMID is always 0x00 (Usage Indicator Preference is RFU).