sysmo_isim_sja2: reset SQN configuration to the current profile

The profile of sysmo_isim_sja2 has changed the content of the SQN
confugrantion file. Lets update the .out files of the tests and the
default values inside the program as well.
This commit is contained in:
Philipp Maier 2020-03-17 14:24:02 +01:00
parent 00241b4423
commit 77d68b84b3
2 changed files with 12 additions and 12 deletions

View File

@ -314,18 +314,18 @@ class SYSMO_ISIMSJA2_FILE_EF_USIM_SQN:
# Flag1: # Flag1:
ind_size_bits = 5 # speficy file length by 2^ind_len ind_size_bits = 5 # speficy file length by 2^ind_len
sqn_check_enabled = True # perform SQN checks below sqn_check_enabled = True # perform SQN checks below
sqn_age_limit_enabled = True # perform age limit check: (SQNms-SQN) <= AGE_LIMIT) sqn_age_limit_enabled = False # perform age limit check: (SQNms-SQN) <= AGE_LIMIT)
sqn_max_delta_enabled = True # perform delta max check: (SWN-SQNms) <= DELTA MAX) sqn_max_delta_enabled = True # perform delta max check: (SWN-SQNms) <= DELTA MAX)
sqn_check_skip_first = True # accept any SQN on the first authentication sqn_check_skip_first = True # accept any SQN on the first authentication
# Flag2: # Flag2:
conceal_autn = True # Conceal the value of AUTN conceal_autn = True # Conceal the value of AUTN
conceal_auts = True # Conceal the value of AUTS conceal_auts = True # Conceal the value of AUTS
no_amf_clear = True # Do not clear AMF when computing MAC-S no_amf_clear = False # Do not clear AMF when computing MAC-S
# Data: # Data:
max_delta = 281474976710655 max_delta = 2**28 << ind_size_bits
age_limit = 281474976710655 age_limit = 2**28 << ind_size_bits
freshness_data = [0x00] * (6*2**ind_size_bits) # initalize to zero freshness_data = [0x00] * (6*2**ind_size_bits) # initalize to zero
def __init__(self, content = None): def __init__(self, content = None):

View File

@ -21,14 +21,14 @@ Reading Milenage Sequence parameters...
* Current SQN Configuration for ADF_USIM: * Current SQN Configuration for ADF_USIM:
IND (bits): 5 IND (bits): 5
SQN Check enabled SQN Check enabled
SQN Age Limit enabled SQN Age Limit disabled
SQN Max Delta enabled SQN Max Delta enabled
SQN Skip first enabled SQN Skip first enabled
SQN Conceal AUTN enabled SQN Conceal AUTN enabled
SQN Conceal AUTS enabled SQN Conceal AUTS enabled
SQN No AMF clear enabled SQN No AMF clear disabled
Max Delta: 281474976710655 Max Delta: 8589934592
Age Limit: 281474976710655 Age Limit: 8589934592
Freshness Data: Freshness Data:
000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000
@ -39,14 +39,14 @@ Reading Milenage Sequence parameters...
* Current SQN Configuration for ADF_ISIM: * Current SQN Configuration for ADF_ISIM:
IND (bits): 5 IND (bits): 5
SQN Check enabled SQN Check enabled
SQN Age Limit enabled SQN Age Limit disabled
SQN Max Delta enabled SQN Max Delta enabled
SQN Skip first enabled SQN Skip first enabled
SQN Conceal AUTN enabled SQN Conceal AUTN enabled
SQN Conceal AUTS enabled SQN Conceal AUTS enabled
SQN No AMF clear enabled SQN No AMF clear disabled
Max Delta: 281474976710655 Max Delta: 8589934592
Age Limit: 281474976710655 Age Limit: 8589934592
Freshness Data: Freshness Data:
000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000