Browse Source

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.
master
Philipp Maier 2 years ago
parent
commit
77d68b84b3
  1. 8
      sysmo_isim_sja2.py
  2. 16
      tests/sja2/06_seq.out

8
sysmo_isim_sja2.py

@ -314,18 +314,18 @@ class SYSMO_ISIMSJA2_FILE_EF_USIM_SQN:
# Flag1:
ind_size_bits = 5 # speficy file length by 2^ind_len
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_check_skip_first = True # accept any SQN on the first authentication
# Flag2:
conceal_autn = True # Conceal the value of AUTN
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:
max_delta = 281474976710655
age_limit = 281474976710655
max_delta = 2**28 << ind_size_bits
age_limit = 2**28 << ind_size_bits
freshness_data = [0x00] * (6*2**ind_size_bits) # initalize to zero
def __init__(self, content = None):

16
tests/sja2/06_seq.out

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

Loading…
Cancel
Save