Commit 4bc8d296 authored by kretzschmann's avatar kretzschmann
Browse files

add TP TP_5GNAS_AMF_AUT_REQ_05

parent fd5dd71e
Loading
Loading
Loading
Loading
+47 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ Package TP_AMF {
			
			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."
			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 - MAC failure."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1.3.7 c) and 8.2.4"
@@ -203,6 +203,52 @@ Package TP_AMF {
				}
			} // end TP_5GNAS_AMF_AUT_REQ_04

			Test Purpose {
			
			TP Id TP_5GNAS_AMF_AUT_REQ_05
			
			Test objective "Verify that the IUT sends a new AUTHENTICATION REQUEST message with new ngKSI value to re-initiate the 5G AKA based primary authentication upon receipt of an AUTHENTICATION FAILURE message indicating a 5GMM cause value #71 - ngKSI already in use."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1.3.7 e) and 8.2.4"
			
			Config Id CF_AMF_N2N1
			
			PICS Selection NONE
			
			Initial conditions with {
				the UE entity isNotRegisteredTo the AMF and
				event AUTHENTICATION_REQUEST occurs //value for nas_key_set_identifier was already used before
				to the UE entity
			}
			
			Expected behaviour
				ensure that {
					when {
						the IUT entity receives an UPLINK_NAS_TRANSPORT 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 ngKSI_already_in_use
								
							;
						;
						from the UE entity 
					}
					then {
						event AUTHENTICATION_REQUEST occurs with {
							argument replaced by the AUTHENTICATION_REQUEST containing
								ngKSI containing
									nas_key_set_identifier indicating value PX_NON_DEFAULT_NGKSI
								;
							;
						}
						to the UE entity
					}
				}
			} // end TP_5GNAS_AMF_AUT_REQ_05

		} // end Group Primary authentication and key agreement procedure	

		Group "5.4.2 Security mode control procedure"