Section: 4.1.1.8 Handling of security related parameters at switch on and switch off
Content: At switch on, an ME supporting UTRAN Iu mode shall proceed as follows: - if a USIM is inserted, the ME shall read the STARTCS and STARTPS value from the USIM. If STARTCS and/or STARTPS read from the USIM are greater than or equal to the maximum value of STARTCS and STARTPS provided on the USIM (see 3GPP TS 31.102[ Characteristics of the Universal Subscriber Identity Module (USIM) application ]  [112]) or the CKSN or GPRS CKSN stored on the USIM indicates "no key available", the ME shall set the START value in the volatile memory of the ME for the corresponding core network domain(s) to zero. In addition if the read STARTCS and/or STARTPS are greater than or equal to the maximum value, the ME shall delete the corresponding CKSN or GPRS CKSN from the ME and the USIM. The ME shall set the STARTCS and STARTPS value on the USIM to the maximum value of STARTCS and STARTPS provided on the USIM (see 3GPP TS 31.102[ Characteristics of the Universal Subscriber Identity Module (USIM) application ]  [112]); and - if a SIM is inserted, the ME shall read the STARTCS and STARTPS value from the non-volatile memory. If STARTCS and/or STARTPS read from the non-volatile memory are greater than or equal to the default value specified in 3GPP TS 33.102[ 3G security; Security architecture ]  [5a], subclause 6.8.2.4 or the CKSN or GPRS CKSN stored on the SIM indicates "no key available", the ME shall set the START value in the volatile memory of the ME for the corresponding core network domain(s) to zero. In addition if the read STARTCS and/or STARTPS are greater than or equal to the default value, the ME shall delete the corresponding CKSN or GPRS CKSN from the ME. The ME shall set the STARTCS and STARTPS value in the non-volatile memory to the default value specified in 3GPP TS 33.102[ 3G security; Security architecture ]  [5a], subclause 6.8.2.4. NOTE: The lower layer handles the STARTCS and STARTPS value stored in the volatile memory of the ME as specified in 3GPP TS 25.331[ None ]  [23c]. Only at switch off, an ME supporting UTRAN Iu mode shall proceed for each of the two domains, CS and PS, as follows: - if since switch on the ME performed an authentication procedure for the respective domain and stored the new security context on the USIM or SIM, and the new security context was not taken into use, the ME shall set the START value for this domain on the USIM or, if a SIM is inserted, in the non-volatile memory to zero; and - otherwise, if a security context for the respective domain is stored on the USIM or SIM, i.e. the CKSN or GPRS CKSN stored on the USIM or SIM is different from "no key available", the ME shall store the current START value used by the lower layer for this domain on the USIM or, if a SIM is inserted, in the non-volatile memory.