sysmo-usim-tool/tests/sja2
Philipp Maier de8db1c189 sysmo_isim_sja2: improve class model
In the current form we assume that the files that store the key material
and the related configuration parameters have the same layout for all
algorithms. This assumption makes sense since for the currently
supported algorithms (not TUAK) this is indeed true.

(With the exception that there may be RFU bits still set to 1, even
though the spec clearly state those bits should be 0. However, this does
not matter in practice)

With the advent of TUAK longer keys were introduced. This made a new file
layout necessary. Unfortunately this also means that we can not rely on
the coincidence described above. This means we have to be more specific
when reading and writing the files.

This patch adds classes to model the file layout for each algorithm.

We also print the key (and OP/OPc) for each location individually
(2g,3g,4g5g). Even though the programmed key should be the same in all
locations, this allows better diagnosis. Also with the advent of TUAK we
may have different key material in 4g5g location.

Related: SYS#6473
2023-06-23 12:36:43 +02:00
..
01_auth.out test: update copyright statement after recent change 2023-05-26 16:43:14 +02:00
01_auth.sh sja2: Add support for new simcard model 2020-01-06 11:09:21 +01:00
02_algo.out sysmo-isim-tool: allow selection of 4g5g auth algo individually 2023-06-23 11:28:43 +02:00
02_algo.sh sysmo-isim-tool: allow selection of 4g5g auth algo individually 2023-06-23 11:28:43 +02:00
03_milenage_par.out test: update copyright statement after recent change 2023-05-26 16:43:14 +02:00
03_milenage_par.sh sja2: Add support for new simcard model 2020-01-06 11:09:21 +01:00
04_op_opc.out sysmo_isim_sja2: improve class model 2023-06-23 12:36:43 +02:00
04_op_opc.sh sysmo_isim_sja2: improve class model 2023-06-23 12:36:43 +02:00
05_key.out sysmo_isim_sja2: improve class model 2023-06-23 12:36:43 +02:00
05_key.sh cosmetic: rename Ki to Key 2023-06-22 21:46:24 +02:00
06_seq.out test: update copyright statement after recent change 2023-05-26 16:43:14 +02:00
06_seq.sh sja2: Add support for new simcard model 2020-01-06 11:09:21 +01:00
07_mnclen.out test: update copyright statement after recent change 2023-05-26 16:43:14 +02:00
07_mnclen.sh sja2: Add support for new simcard model 2020-01-06 11:09:21 +01:00
prepare prepare: also reset SQN parameters 2020-02-18 15:30:09 +01:00
regen sja2: Add support for new simcard model 2020-01-06 11:09:21 +01:00
run-tests cosmetic: rename Ki to Key 2023-06-22 21:46:24 +02:00
test-data tests: restore incorrect ADM PIN 2023-06-22 21:53:32 +02:00