- mkdir build
- cd build
- cmake .. -DLOG_LEVEL=INFO
- cd build
- cp ../pattern_cmodel/input.txt .
- ./SecCmodel
Specification of the 3GPP Confidentiality and Integrity Algorithms 128-EEA3 & 128-EIA3 Document 3: Implementor’s Test Data
input_EIA3_Test1.txt <----- 5.3 Test Set 1
input_EIA3_Test2.txt <----- 5.3 Test Set 2
input_EIA3_Test3.txt <----- 5.3 Test Set 3
output_EIA3_Test1.txt <----- 5.3 Test Set 1 MAC value
output_EIA3_Test2.txt <----- 5.3 Test Set 2 MAC value
output_EIA3_Test3.txt <----- 5.3 Test Set 3 MAC value
Value : Meaning
10 : EEA1
20 : EEA2
40 : EEA3
01 : EIA1
02 : EIA2
04 : EIA3
04 <--- Security Mode
561eb2dd <--- Count
00000014 <--- Bearer
0 <--- Direction
47054125 <--- Key
561eb2dd <--- Key
a94059da <--- Key
05097850 <--- Key
0000005A <--- Length 90 bits
00000000 <--- Message
00000000 <--- Message
00000000 <--- Message