Commit 1033204b authored by kretzschmann's avatar kretzschmann
Browse files

add TP TP_5GNAS_AMF_AUT_REQ_02

parent 1f4f3ba5
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -205,6 +205,28 @@ Package Ngnas_Common {
            - completedHandover
            - isInOverloadedState
        ;
        event template:
        /* This template can be used as default AUTHENTICATION REQUEST message within a DOWNLINK NAS TRANSFER message. */
            - AUTHENTICATION_REQUEST {
                the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						AMF_UE_NGAP_ID,
						RAN_UE_NGAP_ID,
						NAS_PDU containing
							extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
							security_header_type indicating value 0000, //not security protected
							spare_half_octet indicating value 0000,
							authentication_request_message_identity indicating value Authentication_request, //01010110
							ngKSI, //TODO: see [1] Table 9.11.3.32.1
							spare_half_octet indicating value 0000,
							ABBA containing
								ABBA_IEI indicating value 0x38,
								Length_of_ABBA_contents indicating value 2,
								ABBA_contents indicating value 0000000000000000
								;
							;
						;
					to the UE entity
                }
    } // End of Domain section


+56 −3
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ Package TP_AMF {
    	 
			Test Purpose {
			
			TP Id TP_NGNAS_AMF_AUT_REQ_01 
			TP Id TP_5GNAS_AMF_AUT_REQ_01 
			
			Test objective "Verify that the IUT sends an AUTHENTICATION REQUEST message correctly upon receipt of a NAS Registration without an active security context."
			
@@ -57,7 +57,7 @@ Package TP_AMF {
							ngKSI, //TODO: see [1] Table 9.11.3.32.1
							spare_half_octet indicating value 0000,
							ABBA containing
								ABBA_IEI indicating value 0001, //TODO
								ABBA_IEI indicating value 0x38,
								Length_of_ABBA_contents indicating value 2,
								ABBA_contents indicating value 0000000000000000
								;
@@ -66,7 +66,60 @@ Package TP_AMF {
					to the UE entity
					}
				}
			} // end TP_NGNAS_AMF_AUT_REQ_01
			} // end TP_5GNAS_AMF_AUT_REQ_01

			Test Purpose {
			
			TP Id TP_5GNAS_AMF_AUT_REQ_02
			
			Test objective "Verify that the IUT sends an AUTHENTICATION REJECT message correctly upon receipt of an AUTHENTICATION RESPONSE message indicating wrong ARP IEI."
			
			Reference 
				"ETSI TS 124 501 [1], Clause 5.4.1"
			
			Config Id CF_AMF_N2
			
			PICS Selection NONE
			
			Initial conditions with {
				the UE entity isNotRegisteredTo the AMF and
				event AUTHENTICATION_REQUEST occurs
			}
			
			Expected behaviour
				ensure that {
					when {
					the IUT entity receives an UPLINK_NAS_TRANSFER containing
						AMF_UE_NGAP_ID,
						RAN_UE_NGAP_ID,
						NAS_PDU containing
							extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
							security_header_type indicating value 0000,
							spare_half_octet indicating value 0000,
							authentication_response_message_identity indicating value Authentication_response,
							authentication_response_parameter containing
								Authentication_response_parameter_IEI indicating value 0x20, //wrong IEI
								Length_of_Authentication_response_parameter_contents indicating value 2,
							;
						;
					;
					from the UE entity 
					}
					then {
					the IUT entity sends an DOWNLINK_NAS_TRANSFER containing
						AMF_UE_NGAP_ID,
						RAN_UE_NGAP_ID,
						NAS_PDU containing
							extended_protocol_discriminator indicating value 01111110, //reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values 
							security_header_type indicating value 0000, //not security protected
							spare_half_octet indicating value 0000,
							authentication_reject_message_identity indicating value Authentication_reject,
							;
						;
					to the UE entity
					}
				}
			} // end TP_5GNAS_AMF_AUT_REQ_02

		} // end Group Primary authentication and key agreement procedure