Commit 853e33b4 authored by Yann Garcia's avatar Yann Garcia
Browse files

Review TC_5GNAS_AMF_AUT_REQ_01

parent 82226827
Loading
Loading
Loading
Loading
−1.97 KiB (4.09 KiB)

File changed.

No diff preview for this file type.

+312 −0
Changes for etc/Ats_NG_NAS/Ats_NG_NAS_AMF_open5gs.cfg_: 312 added lines, 0 removed lines.
Original line number Diff line number Diff line
[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.

LibCommon_Time.PX_TDONE                 := 30.0;
LibCommon_Time.PX_TAC                   := 30.0;
LibCommon_Time.PX_TNOAC                 := 10.0;
LibCommon_Time.PX_TWAIT                 := 30.0;
LibCommon_Sync.PX_TSYNC_TIME_LIMIT      := 40.0;
LibCommon_Sync.PX_TSHUT_DOWN_TIME_LIMIT := 40.0;

NGAP_Pics.PICS_NGAP_AMF_IUT    := true
NGAP_Pics.PICS_NGAP_GNB_IUT    := false

NG_NAS_Pics.PICS_NGNAS         := true
NG_NAS_Pics.PICS_NAS_A4_1_2     := true  # 5G AKA based primary authentication and key agreement (TC_5GNAS_AMF_AUT_REQ_xx)

LibNGAP_Pics.PICS_OFFLINE_MODE := false # true to use offline mode with pcap files, false to use online mode with real network functions
LibNGAP_Pics.PICS_USE_OPEN5GS  := false # true to start open5gs, false to not start them

LibNGAP_Pixits.PX_NAS_MCC          := '999'H
LibNGAP_Pixits.PX_NAS_MNC          := '70'H
LibNGAP_Pixits.PX_RAN_NODE_NAME    := "gnb0012345"
LibNGAP_Pixits.PX_GNB_ID           := '00000000000000000000000000000001'B
LibNGAP_Pixits.PX_RAN_NODE_NAME    := "UERANSIM-gnb-999-70-1"
LibNGAP_Pixits.PX_TACode           := '000001'O
LibNGAP_Pixits.PX_SST              := '01'O
LibNGAP_Pixits.PX_SD               := '000009'O
LibNGAP_Pixits.PX_PAGING_DRX       := v128
LibNGAP_Pixits.PX_AMF_NAME         := "open5gs-amf0"
LibNGAP_Pixits.PX_AMF_REGION_ID    := '00000010'B
LibNGAP_Pixits.PX_AMF_SET_ID       := '0000000001'B
LibNGAP_Pixits.PX_AMF_POINTER      := '000000'B
LibNGAP_Pixits.PX_RAN_UE_NGAP_ID   := 1
LibNGAP_Pixits.PX_AMF_UE_NGAP_ID   := 2

LibNGAP_Pixits.PX_TIME_ZONE        := '80'O # 0x40 for GMT+1, 0x80 for GMT+2

LibNGAP_Pixits.PX_PDU_SESSION_ID   := 1

Lib_NG_NAS_Pixits.PX_CHECK_SECURITY                  := false
Lib_NG_NAS_Pixits.PX_SUPI_FORMAT                     := '0000'B # IMSI format
Lib_NG_NAS_Pixits.PX_TYPE_OF_ID                      := '001'B # SUCI type
Lib_NG_NAS_Pixits.PX_SUPI_DIGITS                     := '00f110214300014444330302'O
Lib_NG_NAS_Pixits.PX_MSIN                            := '0000000010'O;
Lib_NG_NAS_Pixits.PX_NETWORK_NAME                    := "Open5GS"

# OP
Lib_NG_NAS_Pixits.PX_OPERATOR_KEY                    := '00000000000000000000000000000000'O
# OPc
Lib_NG_NAS_Pixits.PX_OPERATOR_SECRET_KEY             := 'E8ED289DEBA952E4283B54E88E6183CA'O
Lib_NG_NAS_Pixits.PX_FORCE_USING_OPERATOR_SECRET_KEY := true

Lib_NG_NAS_Pixits.PX_SUBSCRIPTION_KEY                := '01000110010110110101110011101000101100011001100110110100100111111010101001011111000010100010111011100010001110001010011010111100'B
Lib_NG_NAS_Pixits.PX_BEARER_ID                       := '00001'B

Parameters.px_IMSI_Def                               := '393939373030303030303030303031'H # 999700000000001
Parameters.px_IMEISV_Def                             := '7380612185615101'H
NAS_5GC_Parameters.px_NAS_5GC_XRES_Length            := 8 # In ETSI TS 135 206 V16.0.0 (2020-08) Table Table 5. f2 output, RES length is 8 octets (64 bits)

# Upper tester parameters for UERANSIM integration
LibNGAP_Pixits.PX_OPEN5GS_BINARY_FILE := "/home/yann/dev/open5gs/build/tests/app/5gc"

# open5gs AMF: T3522 is 3 s (TS 24.501 default 6 s), TC_5GNAS_AMF_DRG_REQ_02
Lib_NG_NAS_Pixits.PX_T3522                           := 3.0
# HTTP upper tester (upper_tester_http, config/open5gs.toml): python3.13 -m upper_tester_http --config upper_tester_http/config/open5gs.toml
# The network-initiated de-registrations of TC_5GNAS_AMF_DRG_REQ_01/02/03 (the UDM notifies the AMF)
LibUpperTesterHttp_Pics.PICS_USE_UT_HTTP             := true
LibUpperTesterHttp_Pixits.PX_UT_HTTP_HOST            := "127.0.0.1:12200" # server:port of system.utHttpPort below

# ---- PICS and PIXITs of the open5gs AMF, from etc/AtsNGAP/AtsNGAP_AMF_open5gs.cfg_ (shared NGAP and NAS libraries) ----
# Procedures supported by the IUT (PICS proforma), for the test cases of this configuration and the control part
NGAP_Pics.PICS_A3_3_8            := true  # gnB - UE Mobility Management Procedures - HANDOVER SUCCESS
NGAP_Pics.PICS_A4_1_1            := true  # AMF - PDU session management procedure - PDU SESSION RESOURCE SETUP REQUEST
NGAP_Pics.PICS_A4_1_2            := true  # AMF - PDU session management procedure - PDU SESSION RESOURCE RELEASE COMMAND
NGAP_Pics.PICS_A4_1_3            := true  # AMF - PDU session management procedure - PDU SESSION RESOURCE MODIFY REQUEST
NGAP_Pics.PICS_A4_1_5            := true  # AMF - PDU session management procedure - PDU SESSION RESOURCE MODIFY INDICATION
NGAP_Pics.PICS_A4_2_1            := true  # AMF - UE Context Management Procedures - INITIAL CONTEXT SETUP REQUEST
NGAP_Pics.PICS_A4_2_3            := true  # AMF - UE Context Management Procedures - UE CONTEXT RELEASE COMMAND
NGAP_Pics.PICS_A4_3_1            := true  # AMF - UE Mobility Management Procedures - HANDOVER REQUIRED
NGAP_Pics.PICS_A4_3_2            := true  # AMF - UE Mobility Management Procedures - HANDOVER REQUEST
NGAP_Pics.PICS_A4_3_4            := true  # AMF - UE Mobility Management Procedures - PATH SWITCH REQUESTS
NGAP_Pics.PICS_A4_3_5            := true  # AMF - UE Mobility Management Procedures - HANDOVER CANCEL
NGAP_Pics.PICS_A4_3_6            := true  # AMF - UE Mobility Management Procedures - UPLINK RAN STATUS TRANSFER
NGAP_Pics.PICS_A4_3_9            := true  # AMF - UE Mobility Management Procedures - UPLINK RAN EARLY STATUS TRANSFER
NGAP_Pics.PICS_A4_4_1            := true  # AMF - Paging procedures - Paging
NGAP_Pics.PICS_A4_5_2            := true  # AMF - Transport of NAS Messages Procedures - DOWNLINK NAS TRANSPORT
NGAP_Pics.PICS_A4_6_1            := true  # AMF - Interface Management Procedures - NG SETUP REQUEST
NGAP_Pics.PICS_A4_6_1_2          := false # AMF - IAB: not supported by open5gs (no IAB Supported in its NG SETUP RESPONSE)
NGAP_Pics.PICS_A4_6_2            := true  # AMF - Interface Management Procedures - RAN CONFIGURATION UPDATE
NGAP_Pics.PICS_A4_6_3            := true  # AMF - Interface Management Procedures - AMF CONFIGURATION UPDATE
NGAP_Pics.PICS_A4_6_4            := true  # AMF - Interface Management Procedures - NG RESET
NGAP_Pics.PICS_A4_6_5            := true  # AMF - Interface Management Procedures - ERROR INDICATION
NGAP_Pics.PICS_A4_6_6            := true  # AMF - Interface Management Procedures - AMF STATUS INDICATION
NGAP_Pics.PICS_A4_6_7            := true  # AMF - Interface Management Procedures - OVERLOAD START
NGAP_Pics.PICS_A4_6_8            := true  # AMF - Interface Management Procedures - OVERLOAD STOP
NGAP_Pics.PICS_A4_8_1            := true  # AMF - Warning Message Transmission procedure - WRITE-REPLACE WARNING REQUEST
NGAP_Pics.PICS_A4_8_2            := true  # AMF - Warning Message Transmission procedure - PWS CANCEL REQUEST
NGAP_Pics.PICS_A4_9_1            := true  # AMF - NRPPa Transport procedure - DOWNLINK UE ASSOCIATED NRPPA TRANSPORT messages
NGAP_Pics.PICS_A4_9_3            := true  # AMF - NRPPa Transport procedure - DOWNLINK NON UE ASSOCIATED NRPPA TRANSPORT messages
NGAP_Pics.PICS_A4_11_1           := true  # AMF - Location Reporting Procedures - LOCATION REPORTING CONTROL
LibNGAP_Pixits.PX_SD_PRESENT       := false # open5gs sample.yaml: slice SST 1 without SD
# The new slice of TC_NGAP_AMF_IMP_05: the second slice of the open5gs AMF (build/configs/sample.yaml amf.plmn_support)
LibNGAP_Pixits.PX_SST_NEW          := '01'O
LibNGAP_Pixits.PX_SD_NEW           := '000001'O
LibNGAP_Pixits.PX_SD_NEW_PRESENT   := true
# N3 user plane: the test system (gNB) at 127.0.0.1:2152 (PX_TRANSPORT_LAYER_ADDRESS, DL tunnel), the UPF at 127.0.0.7:2152
LibNGAP_Pics.PICS_USE_GTPU          := true
LibNGAP_Pixits.PX_DN_PING_HOST      := "10.45.0.1" # ogstun of the open5gs host, reached through the UPF
# DL tunnel address announced to the UPF: must always match the src_ip of system.N3_gNB_1 below (here 127.0.0.1)
LibNGAP_Pixits.PX_TRANSPORT_LAYER_ADDRESS := '01111111000000000000000000000001'B # 127.0.0.1
LibNGAP_Pixits.PX_FIVE_QI          := 9     # 5QI of the default QoS flow (open5gs subscriber)
LibNGAP_Pixits.PX_2nd_5QI          := 1
LibUpperTesterHttp_Pixits.PX_UT_HTTP_MEDIA_TYPE := AUDIO
Lib_NG_NAS_Pixits.PX_SUCI_PROTECTION_SCHEME   := 0
Lib_NG_NAS_Pixits.PX_HOME_NETWORK_PKI         := 0

[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).

LogFile := "../logs/Ats_NG_NAS/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT | TESTCASE
#ConsoleMask := ERROR | WARNING | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | PORTEVENT | TESTCASE
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
#TimeStampFormat := DateTime

[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.

# Open5GS AMF IP and port as listener
system.NGAP_AMF.params := "NGAP/SCTP(server=127.0.0.5,port=38412,debug=1)"
# HTTP upper tester (PICS_USE_UT_HTTP): REST API over HTTP/1.1, see upper_tester_http/server.py
system.utHttpPort.params := "HTTP/TCP(server=127.0.0.1,port=12200,use_ssl=0,debug=1)"

# Open5GS pcap files
# Do not forget to set LibNGAP_Pics.PICS_OFFLINE_MODE to true
#system.NGAP_AMF.params := "NGAP/SCTP_FILE/IP_OFFLINE/PCAP_FILE(file=../captures/ttcn_5g_ngap.pcapng)" # Linux cooked capture v2, no Ethernet layer
#system.NGAP_AMF.params := "NGAP/SCTP_FILE/IP_OFFLINE/ETH(mac_src=8c554ac1eee0,mac_dst=8c554ac1eee1)/PCAP_FILE(file=../captures/TC_NGAP_AMF_PDU_01.pcap)" # regular pcap with Ethernet layer

[DEFINE]
# In this section you can create macro definitions,
# that can be used in other configuration file sections except [INCLUDE] and [ORDERED_INCLUDE].

[INCLUDE]
# To use configuration settings given in other configuration files,
# the configuration files just need to be listed in this section, with their full or relative pathnames.

[ORDERED_INCLUDE]
# To use configuration settings given in other configuration files,
# the configuration files just need to be listed in this section, with their full or relative pathnames.

[EXTERNAL_COMMANDS]
# This section can define external commands (shell scripts) to be executed by the ETS
# whenever a control part or test case is started or terminated.

#BeginTestCase := ""
#EndTestCase := ""
#BeginControlPart := ""
#EndControlPart := ""

[EXECUTE]
# In this section you can specify what parts of your test suite you want to execute.
#AtsImsIot_TestControl.control

# Verify that the IUT sends an AUTHENTICATION_REQUEST message upon receipt of an initial REGISTRATION_REQUEST containing a SUCI, when no active 5G NAS security context exists
NG_NAS_TestCases.TC_5GNAS_AMF_AUT_REQ_01
# Verify that the IUT sends an AUTHENTICATION_REJECT message upon receipt of an AUTHENTICATION_RESPONSE containing an invalid authentication response value, when the UE was identified with SUCI in the initial NAS message
#NG_NAS_TestCases.TC_5GNAS_AMF_AUT_REQ_02
# Verify that the IUT stops re-sending an AUTHENTICATION_REQUEST message if no AUTHENTICATION_RESPONSE message is received on the fifth expire of timer T3560
#NG_NAS_TestCases.TC_5GNAS_AMF_AUT_REQ_03
# 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
#NG_NAS_TestCases.TC_5GNAS_AMF_AUT_REQ_04
# 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
#NG_NAS_TestCases.TC_5GNAS_AMF_AUT_REQ_05
# Verify that the IUT sends an IDENTITY_REQUEST message to obtain the SUCI from the UE upon receipt of an AUTHENTICATION_FAILURE message indicating a 5GMM cause value #26 - non-5G authentication unacceptable
#NG_NAS_TestCases.TC_5GNAS_AMF_AUT_ABN_01
# Verify that the IUT sends a SECURITY MODE COMMAND message correctly to indicate NAS security mode procedure upon receipt of a NAS AUTHENTICATION RESPONSE
#NG_NAS_TestCases.TC_5GNAS_AMF_SEC_COM_01
# Verify that the IUT, upon receiving the NAS SECURITY MODE COMPLETE message after completing the NAS Authentication and Security procedure, successfully completes the registration process by accepting the registration
#NG_NAS_TestCases.TC_5GNAS_AMF_SEC_ACC_01
# Verify that the IUT, upon receiving the NAS SECURITY MODE REJECT Message after a failed NAS Authentication and security procedure, successfully aborts the registration process by rejecting the registration
#NG_NAS_TestCases.TC_5GNAS_AMF_SEC_REJ_01
#NG_NAS_TestCases.TC_5GNAS_AMF_DLN_ACC_01
#NG_NAS_TestCases.TC_5GNAS_AMF_REG_ACC_01
#NG_NAS_TestCases.TC_5GNAS_AMF_REG_ACC_02
#NG_NAS_TestCases.TC_5GNAS_AMF_REG_ACC_03
#NG_NAS_TestCases.TC_5GNAS_AMF_REG_ACC_04
#NG_NAS_TestCases.TC_5GNAS_AMF_REG_ACC_05
#NG_NAS_TestCases.TC_5GNAS_AMF_REG_REJ_01
#NG_NAS_TestCases.TC_5GNAS_AMF_REG_REJ_02
#NG_NAS_TestCases.TC_5GNAS_AMF_DRG_ACC_01
#NG_NAS_TestCases.TC_5GNAS_AMF_DRG_ACC_02
#NG_NAS_TestCases.TC_5GNAS_AMF_DRG_REQ_01
#NG_NAS_TestCases.TC_5GNAS_AMF_DRG_REQ_02
#NG_NAS_TestCases.TC_5GNAS_AMF_DRG_REQ_03

# Security function tests, out of scope of the Ats_NG_NAS test suite, but useful to verify the correctness of the test implementation and the security functions used in the test suite. These tests are based on the 5G AKA test vectors given in 3GPP TS 35.208 V16.0.0 (2020-09) Annex A, and on the security analysis of 5G authentication given in the Eurecom publication "Security Analysis of 5G Authentication" (https://eprint.iacr.org/2022/1623.pdf)
#NG_NAS_TestCases.TC_5G_AKA_RIJNDAEL_FUNCTIONS_TEST_01_01
#NG_NAS_TestCases.TC_5G_AKA_RIJNDAEL_FUNCTIONS_TEST_01_02
#NG_NAS_TestCases.TC_5G_AKA_RIJNDAEL_FUNCTIONS_TEST_01_03
#NG_NAS_TestCases.TC_5G_AKA_RIJNDAEL_FUNCTIONS_TEST_01_04
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_02_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_02_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_02_03
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_03
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_04_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_04_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_04_03
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_05_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_05_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_05_03
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_06_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_06_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_07_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_07_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_08_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_08_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_09_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_09_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_10_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_10_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_11
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_12_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_12_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_13
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_14_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_14_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_15_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_16_01
# Eurecom publiction "Security Analysis of 5G Authentication"
# https://eprint.iacr.org/2022/1623.pdf
# Verdict fail
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_17_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_17_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_17_03
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_17_04
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_17_04
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_18_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_19_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_20_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_21_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_22_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_23_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_24_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_25_01_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_25_01_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_25_02_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_25_03_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_26_01_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_26_01_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_26_01_03
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_26_02_02
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_26_03_01
#NG_NAS_TestCases.TC_5G_AKA_CRYPTO_FUNCTIONS_TEST_27_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_01_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_01_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_01_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_01_04
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_02_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_02_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_02_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_02_04
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_03_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_03_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_03_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_03_04
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_04_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_04_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_04_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_04_04
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_05_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_05_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_05_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_05_04
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_06_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_06_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_06_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_06_04
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_07_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_07_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_07_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_07_04
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_08_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_08_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_09_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_09_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_10_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_10_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_11_01
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_11_02
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_11_03
#NG_NAS_TestCases.TC_5G_SUCI_CRYPTO_FUNCTIONS_TEST_11_04


[GROUPS]
# In this section you can specify groups of hosts. These groups can be used inside the
# [COMPONENTS] section to restrict the creation of certain PTCs to a given set of hosts.

[COMPONENTS]
# This section consists of rules restricting the location of created PTCs.

[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
KillTimer := 10.0
LocalAddress := 127.0.0.1
TCPPort := 12000
NumHCs := 1
+7 −4
Changes for test_purposes/TP_AMF_NGNAS.tdltx: 7 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -48,14 +48,16 @@ Package TP_AMF_NGNAS {
                            message_type set to REGISTRATION_REQUEST,
                            5GS_registration_type containing {
                                5GS_registration_type_value set to INITIAL_REGISTRATION},
                            ngKSI containing {
                                nas_key_set_identifier set to "111"}, //!no key is available: no 5G NAS security context in the UE
                            5GS_mobile_identity containing {
                                SUPI_format set to IMSI,
                                Type_of_identity set to SUCI,
                                MCC set to PX_MCC,
                                MNC set to PX_MNC,
                                Routing_indicator set to PX_ROUTING_INDICATOR,
                                Protection_scheme_id set to '0000',
                                Home_network_public_key_identifier set to '00000000',
                                Protection_scheme_id set to PX_PROTECTION_SCHEME_ID,
                                Home_network_public_key_identifier set to PX_HOME_NETWORK_PUBLIC_KEY_IDENTIFIER,
                                MSIN set to PX_MSIN}}}                    
                    }
                    then {
@@ -65,9 +67,10 @@ Package TP_AMF_NGNAS {
                                security_header_type set to NOT_SECURITY_PROTECTED,
                                message_type set to AUTHENTICATION_REQUEST,
                                ngKSI containing {
                                    nas_key_set_identifier set to "111"},
                                    type_of_security_context set to NATIVE_SECURITY_CONTEXT,
                                    nas_key_set_identifier set to RV_NGKSI}, //!new ngKSI allocated by the AMF, any value other than "111" (reserved from network to UE, TS 124 501 clause 9.11.3.32)
                                ABBA containing {
                                    ABBA_contents set to " '0000'H "},
                                    ABBA_contents set to " '0000'O "}, //!2 octets (ETSI TS 133 501 Annex A.7.1)
                                Authentication_parameter_RAND set to RV_Authentication_parameter_RAND,
                                Authentication_parameter_AUTN set to RV_Authentication_parameter_AUTN}}
                        to the GNB entity
+6 −0
Changes for ttcn/Ats_NG_NAS/NG_NAS_Pics.ttcn: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -18,6 +18,12 @@ module NG_NAS_Pics {
         */
        modulepar boolean PICS_NGNAS := false;

        /**
         * @desc Does the IUT support the initiation and control of the 5G AKA based primary authentication and key agreement procedures?
         * @see  ETSI TS 103 921-1 Table A.4 item 1.2 (PICS_NAS_A4_1_2)
         */
        modulepar boolean PICS_NAS_A4_1_2 := true;
   
    } // End of group PICS_

} // End of module NG_NAS_Pics
 No newline at end of file
+29 −11

File changed.

Preview size limit exceeded, changes collapsed.

Loading