Commit d85982fe authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Merge branch 'TTF_T041' of https://forge.etsi.org/rep/int/5g-core/nas into TTF_T041

parents 035252ab 8bca17f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -348,8 +348,8 @@ Package Ngnas_Common {
        Bitstring INTEGRITY_PROTECTED_WITH_NEW_5G_NAS_SECURITY_CONTEXT; // 0 0 1 1
        Bitstring INTEGRITY_PROTECTED_AND_CIPHERED_WITH_NEW_5G_NAS_SECURITY_CONTEXT; // 0 1 0 0

        //Section 9.3.1.2
        Cause Multiple_Location_Reporting_Reference_ID_instances; 
        //Section 9.11.3.2
        Cause MAC_failure; 

        
                
+56 −4
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ Package TP_AMF {
							registration_request_message_identity set to REGISTRATION_REQUEST
							;
						;					
						
					}
					then {
						the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
@@ -145,6 +144,59 @@ Package TP_AMF {
				}
			} // end TP_5GNAS_AMF_AUT_REQ_03

			Test Purpose {
			
			TP Id TP_5GNAS_AMF_AUT_REQ_04
			
			Test objective "Verify that the IUT sends an IDENTITY REQUEST message correctly upon receipt of an AUTHENTICATION FAILURE message indicating a 5GMM cause value #20."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1.3.7 c) and 8.2.4"
			
			Config Id CF_AMF_N2N1
			
			PICS Selection NONE
			
			Initial conditions with {
				the UE entity isNotRegisteredTo the AMF and
				the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						NAS_PDU containing
							security_header_type set to INTEGRITY_PROTECTED,
                            authentication_parameter_AUTN containing
								AUTN indicating value PX_WRONG_MAC_CODE
						;
				;
				to the UE entity
			}
			
			Expected behaviour
				ensure that {
					when {
						the IUT entity receives an UPLINK_NAS_TRANSFER containing
							NAS_PDU containing
								extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGE, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
								security_header_type set to INTEGRITY_PROTECTED,
								authentication_failure_message_identity set to AUTHENTICATION_FAILURE,
								5GMM_cause set to MAC_failure
								;
							;
						;
						from the UE entity 
					}
					then {
						the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
							NAS_PDU containing
								extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGE, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
								security_header_type set to INTEGRITY_PROTECTED,
								identity_request_message_identity set to IDENTITY_REQUEST,
								identity_type set to SUCI
							;
						;
						to the UE entity
					}
				}
			} // end TP_5GNAS_AMF_AUT_REQ_04

		} // end Group Primary authentication and key agreement procedure	

		Group "5.4.2 Security mode control procedure"
@@ -156,7 +208,7 @@ Package TP_AMF {
			
			TP Id TP_NGNAS_AMF_AUT_SEQ_01 
			
			Test objective "Verify that the IUT sends a SECURITY MODE CONTROL message with all mandatory IEs to indicate NAS security mode procedure upon receipt of a NAS AUTHENTICATION_RESPONSE"
			Test objective "Verify that the IUT sends a SECURITY MODE CONTROL message with all mandatory IEs to indicate NAS security mode procedure upon receipt of a NAS AUTHENTICATION_RESPONSE."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1.2"