Section: 9.12.1 Serving network name (SNN)
Content: The serving network name (SNN) is used: - in the Network name field of the AT_KDF_INPUT attribute defined in IETF RFC 5448 [40]; - in KAUSF derivation function as specified in 3GPP TS 33.501[ Security architecture and procedures for 5G System ]  [24] annex A; and - in RES* and XRES* derivation function as specified in 3GPP TS 33.501[ Security architecture and procedures for 5G System ]  [24] annex A. SNN shall contain a UTF-8 string without terminating null characters. SNN is of maximum length of 1020 octets. SNN consists of SNN-service-code and SNN-network-identifier, delimited by a colon. SNN-network-identifier identifies the serving PLMN or the serving SNPN. MCC and MNC in the SNN-PLMN-ID are MCC and MNC of the serving PLMN. If the MNC of the serving PLMN has two digits, then a zero is added at the beginning. MCC and MNC in the SNN-SNPN-ID are MCC and MNC of the serving SNPN. If the MNC of the serving SNPN has two digits, then a zero is added at the beginning. SNN-NID contains an NID in hexadecimal digits. ABNF syntax of SNN is specified in table 9.12.1.1 Table 9.12.1.1: ABNF syntax of SNN SNN = SNN-service-code ":" SNN-network-identifier SNN-service-code = %x35.47 ; "5G" SNN-network-identifier = SNN-PLMN-ID / SNN-SNPN-ID SNN-PLMN-ID = SNN-mnc-string SNN-mnc-digits "." SNN-mcc-string SNN-mcc-digits "." SNN-3gppnetwork-string "." SNN-org-string ; applicable when not operating in SNPN access operation mode. SNN-SNPN-ID = SNN-mnc-string SNN-mnc-digits "." SNN-mcc-string SNN-mcc-digits "." SNN-3gppnetwork-string "." SNN-org-string ":" SNN-NID ; applicable when operating in SNPN access operation mode. SNN-mnc-digits = DIGIT DIGIT DIGIT ; MNC of the PLMN ID SNN-mcc-digits = DIGIT DIGIT DIGIT ; MCC of the PLMN ID SNN-mnc-string = %x6d.6e.63 ; "mnc" in lower case SNN-mcc-string = %x6d.63.63 ; "mcc" in lower case SNN-3gppnetwork-string = %x33.67.70.70.6e.65.74.77.6f.72.6b ; "3gppnetwork" in lower case SNN-org-string = %x6f.72.67 ; "org" in lower case SNN-NID = 11SNN-hexadecimal-digit ; NID in hexadecimal digits SNN-hexadecimal-digit = DIGIT / %x41 / %x42 / %x43 / %x44 / %x45 / %x46 NOTE: SNN-service-code allows for distinguishing of ANID specified in 3GPP TS 24.302[ Access to the 3GPP Evolved Packet Core (EPC) via non-3GPP access networks; Stage 3 ]  [16] and SNN as either of SNN or ANID can be carried in the AT_KDF_INPUT attribute. EXAMPLE 1: In case of a PLMN, if PLMN ID contains MCC = 234 and MNC = 15, SNN is 5G:mnc015.mcc234.3gppnetwork.org. EXAMPLE 2: In case of an SNPN, if SNPN ID contains a PLMN ID of MCC = 234 and MNC = 15 and an NID of 123456ABCDEH, SNN is 5G:mnc015.mcc234.3gppnetwork.org:123456ABCDE.