blob: 5c3dd14e305ade80f90a9f4b36cb0a8c1a7b14a3 [file] [log] [blame]
Neels Hofmeyr8cde6622017-01-31 02:10:40 +01001
2===== test_gen_vectors_2g_only
3aud3g.u.umts.sqn == 0
4DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
5DAUC compute vector [0]/1: 2G only
6rc == 1
7auth vector ==
8 rand: 39fa2f4e3d523d8619a73b4f65c3e14d
9 autn: 00000000000000000000000000000000
10 ck: 00000000000000000000000000000000
11 ik: 00000000000000000000000000000000
12 res: 00000000000000000000000000000000
13 res_len: 00
14 kc: 241a5b16aeb8e400
15 sres: 429d5b27
16 auth_types: 01000000
17
18aud3g.u.umts.sqn == 0
19DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
20DAUC compute vector [0]/1: 2G only
21rc == 1
22auth vector ==
23 rand: 39fa2f4e3d523d8619a73b4f65c3e14d
24 autn: 00000000000000000000000000000000
25 ck: 00000000000000000000000000000000
26 ik: 00000000000000000000000000000000
27 res: 00000000000000000000000000000000
28 res_len: 00
29 kc: 241a5b16aeb8e400
30 sres: 429d5b27
31 auth_types: 01000000
32
33===== test_gen_vectors_2g_only: SUCCESS
34
35
36===== test_gen_vectors_2g_plus_3g
37aud3g.u.umts.sqn == 0
38DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
39DAUC compute vector [0]/1: separate 2G + 3G
40rc == 1
41auth vector ==
42 rand: 39fa2f4e3d523d8619a73b4f65c3e14d
43 autn: 8704f5ba55f30000d2ee44b22c8ea919
44 ck: f64735036e5871319c679f4742a75ea1
45 ik: 27497388b6cb044648f396aa155b95ef
46 res: e229c19e791f2e410000000000000000
47 res_len: 08
48 kc: 241a5b16aeb8e400
49 sres: 429d5b27
50 auth_types: 03000000
51
52aud3g.u.umts.sqn == 1
53aud3g.u.umts.sqn == 0
54DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
55DAUC compute vector [0]/1: separate 2G + 3G
56rc == 1
57aud3g.u.umts.sqn == 1
58auth vector ==
59 rand: 39fa2f4e3d523d8619a73b4f65c3e14d
60 autn: 8704f5ba55f30000d2ee44b22c8ea919
61 ck: f64735036e5871319c679f4742a75ea1
62 ik: 27497388b6cb044648f396aa155b95ef
63 res: e229c19e791f2e410000000000000000
64 res_len: 08
65 kc: 241a5b16aeb8e400
66 sres: 429d5b27
67 auth_types: 03000000
68
69===== test_gen_vectors_2g_plus_3g: SUCCESS
70
71
Neels Hofmeyr00c06972017-01-31 01:19:27 +010072===== test_gen_vectors_3g_only
Neels Hofmeyr8cde6622017-01-31 02:10:40 +010073aud3g.u.umts.sqn == 0
74DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
75DAUC compute vector [0]/1: 3G only
76rc == 1
77auth vector ==
78 rand: 39fa2f4e3d523d8619a73b4f65c3e14d
79 autn: 8704f5ba55f30000d2ee44b22c8ea919
80 ck: f64735036e5871319c679f4742a75ea1
81 ik: 27497388b6cb044648f396aa155b95ef
82 res: e229c19e791f2e410000000000000000
83 res_len: 08
84 kc: 059a4f668f6fbe39
85 sres: 9b36efdf
86 auth_types: 03000000
87
88aud3g.u.umts.sqn == 1
89aud3g.u.umts.sqn == 0
90DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
91DAUC compute vector [0]/1: 3G only
92rc == 1
93aud3g.u.umts.sqn == 1
94auth vector ==
95 rand: 39fa2f4e3d523d8619a73b4f65c3e14d
96 autn: 8704f5ba55f30000d2ee44b22c8ea919
97 ck: f64735036e5871319c679f4742a75ea1
98 ik: 27497388b6cb044648f396aa155b95ef
99 res: e229c19e791f2e410000000000000000
100 res_len: 08
101 kc: 059a4f668f6fbe39
102 sres: 9b36efdf
103 auth_types: 03000000
104
Neels Hofmeyrec9036b2017-02-21 21:56:11 +0100105- test AUTS resync
106aud3g.u.umts.sqn == 0
107DAUC rand 897210a0f7de278f0b8213098e098a3f
108DAUC compute vector [0]/1: 3G only
109rc == 1
110aud3g.u.umts.sqn == 25
111auth vector ==
112 rand: 897210a0f7de278f0b8213098e098a3f
113 autn: c6b9790dad4b00000cf322869ea6a481
114 ck: e9922bd036718ed9e40bd1d02c3b81a5
115 ik: f19c20ca863137f8892326d959ec5e01
116 res: 9af5a557902d2db80000000000000000
117 res_len: 08
118 kc: 7526fc13c5976685
119 sres: 0ad888ef
120 auth_types: 03000000
121
Neels Hofmeyr00c06972017-01-31 01:19:27 +0100122===== test_gen_vectors_3g_only: SUCCESS
123
Neels Hofmeyr569d3222017-02-21 22:57:11 +0100124
125===== test_gen_vectors_bad_args
126
127- no auth data (a)
128DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
129rc == -1
130
131- no auth data (b)
132DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
133rc == -1
134
135- no auth data (c)
136DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
137rc == -1
138
139- no auth data (d)
140DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
141rc == -1
142
143- no auth data (e)
144DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
145rc == -1
146
147- no auth data (f)
148DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
149rc == -1
150
151- no auth data (g)
152DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
153rc == -1
154
155- no auth data (h)
156DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
157rc == -1
158
159- no auth data (i)
160DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
161rc == -1
162
163- no auth data (j)
164DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
165rc == -1
166
167- no auth data (k)
168DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
169rc == -1
170
171- no auth data (l)
172DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
173rc == -1
174
175- no auth data (m)
176DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
177rc == -1
178
179- no auth data (n)
180DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
181rc == -1
182
183- no auth data (o)
184DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
185rc == -1
186
187- no auth data (p)
188DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
189rc == -1
190
191- wrong auth data type (a)
192DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
193rc == -1
194
195- wrong auth data type (b)
196DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
197rc == -1
198
199- wrong auth data type (c)
200DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
201rc == -1
202
203- wrong auth data type (d)
204DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
205rc == -1
206
207- wrong auth data type (e)
208DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
209rc == -1
210
211- wrong auth data type (f)
212DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
213rc == -1
214
215- wrong auth data type (g)
216DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
217rc == -1
218
219- wrong auth data type (h)
220DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
221rc == -1
222
223- wrong auth data type (i)
224DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
225rc == -1
226
227- wrong auth data type (j)
228DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
229rc == -1
230
231- wrong auth data type (k)
232DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
233rc == -1
234
235- AUTS for 2G-only (a)
236DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
237rc == -1
238
239- AUTS for 2G-only (b)
240DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
241rc == -1
242
243- AUTS for 2G-only (c)
244DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
245rc == -1
246
247- AUTS for 2G-only (d)
248DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
249rc == -1
250
251- incomplete AUTS (a)
252DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
253rc == -1
254
255- incomplete AUTS (b)
256DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
257rc == -1
258
259- incomplete AUTS (c)
260DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
261rc == -1
262
263- incomplete AUTS (d)
264DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
265rc == -1
266===== test_gen_vectors_bad_args: SUCCESS
267