Changes for test_purposes/TP_AMF_NGNAS.tdltx: 6 added lines, 3 removed lines.
Original line number
Diff line number
Diff line
@@ -341,7 +341,9 @@ Package TP_AMF_NGNAS {
NAS_PDU containing {
extended_protocol_discriminator set to 5GS_MOBILITY_MANAGEMENT_MESSAGES, //!reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values
security_header_type set to NOT_SECURITY_PROTECTED,
message_type set to AUTHENTICATION_RESPONSE}} //!reference ts_124007v180200p: Table 11.2.3.1.1A.1: EPD values
message_type set to AUTHENTICATION_RESPONSE,
authentication_response_parameter containing {
RES set to RV_RES_STAR}}} //!the valid RES* computed from RV_Authentication_parameter_RAND and RV_Authentication_parameter_AUTN
from the GNB entity
}
then {
@@ -354,8 +356,9 @@ Package TP_AMF_NGNAS {
type_of_ciphering_algorithm set to PX_SELECTED_NAS_CIPHERING_ALGORITHM,
type_of_integrity_algorithm set to PX_SELECTED_NAS_INTEGRITY_ALGORITHM},
ngKSI containing {
nas_key_set_identifier set to "111"},
replayed_UE_security_capabilities set to PX_UE_SECURITY_CAPABILITIES}} //! UE security capability 9.11.3.54
type_of_security_context set to NATIVE_SECURITY_CONTEXT,
nas_key_set_identifier set to RV_NGKSI}, //!the ngKSI of the AUTHENTICATION_REQUEST
replayed_UE_security_capabilities set to PX_UE_SECURITY_CAPABILITIES}} //!UE security capability 9.11.3.54: the value of the initial REGISTRATION_REQUEST
setverdict(fail,"*** "&__SCOPE__&": FAIL: security header type "&int2str(v_sht)&", 3 (integrity protected with new 5G NAS security context) expected ***");