aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auc/auc_3g_test.err
blob: 5c3dd14e305ade80f90a9f4b36cb0a8c1a7b14a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
===== test_gen_vectors_2g_only
aud3g.u.umts.sqn == 0
DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
DAUC compute vector [0]/1: 2G only
rc == 1
auth vector ==
  rand: 39fa2f4e3d523d8619a73b4f65c3e14d
  autn: 00000000000000000000000000000000
  ck: 00000000000000000000000000000000
  ik: 00000000000000000000000000000000
  res: 00000000000000000000000000000000
  res_len: 00
  kc: 241a5b16aeb8e400
  sres: 429d5b27
  auth_types: 01000000

aud3g.u.umts.sqn == 0
DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
DAUC compute vector [0]/1: 2G only
rc == 1
auth vector ==
  rand: 39fa2f4e3d523d8619a73b4f65c3e14d
  autn: 00000000000000000000000000000000
  ck: 00000000000000000000000000000000
  ik: 00000000000000000000000000000000
  res: 00000000000000000000000000000000
  res_len: 00
  kc: 241a5b16aeb8e400
  sres: 429d5b27
  auth_types: 01000000

===== test_gen_vectors_2g_only: SUCCESS


===== test_gen_vectors_2g_plus_3g
aud3g.u.umts.sqn == 0
DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
DAUC compute vector [0]/1: separate 2G + 3G
rc == 1
auth vector ==
  rand: 39fa2f4e3d523d8619a73b4f65c3e14d
  autn: 8704f5ba55f30000d2ee44b22c8ea919
  ck: f64735036e5871319c679f4742a75ea1
  ik: 27497388b6cb044648f396aa155b95ef
  res: e229c19e791f2e410000000000000000
  res_len: 08
  kc: 241a5b16aeb8e400
  sres: 429d5b27
  auth_types: 03000000

aud3g.u.umts.sqn == 1
aud3g.u.umts.sqn == 0
DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
DAUC compute vector [0]/1: separate 2G + 3G
rc == 1
aud3g.u.umts.sqn == 1
auth vector ==
  rand: 39fa2f4e3d523d8619a73b4f65c3e14d
  autn: 8704f5ba55f30000d2ee44b22c8ea919
  ck: f64735036e5871319c679f4742a75ea1
  ik: 27497388b6cb044648f396aa155b95ef
  res: e229c19e791f2e410000000000000000
  res_len: 08
  kc: 241a5b16aeb8e400
  sres: 429d5b27
  auth_types: 03000000

===== test_gen_vectors_2g_plus_3g: SUCCESS


===== test_gen_vectors_3g_only
aud3g.u.umts.sqn == 0
DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
DAUC compute vector [0]/1: 3G only
rc == 1
auth vector ==
  rand: 39fa2f4e3d523d8619a73b4f65c3e14d
  autn: 8704f5ba55f30000d2ee44b22c8ea919
  ck: f64735036e5871319c679f4742a75ea1
  ik: 27497388b6cb044648f396aa155b95ef
  res: e229c19e791f2e410000000000000000
  res_len: 08
  kc: 059a4f668f6fbe39
  sres: 9b36efdf
  auth_types: 03000000

aud3g.u.umts.sqn == 1
aud3g.u.umts.sqn == 0
DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d
DAUC compute vector [0]/1: 3G only
rc == 1
aud3g.u.umts.sqn == 1
auth vector ==
  rand: 39fa2f4e3d523d8619a73b4f65c3e14d
  autn: 8704f5ba55f30000d2ee44b22c8ea919
  ck: f64735036e5871319c679f4742a75ea1
  ik: 27497388b6cb044648f396aa155b95ef
  res: e229c19e791f2e410000000000000000
  res_len: 08
  kc: 059a4f668f6fbe39
  sres: 9b36efdf
  auth_types: 03000000

- test AUTS resync
aud3g.u.umts.sqn == 0
DAUC rand 897210a0f7de278f0b8213098e098a3f
DAUC compute vector [0]/1: 3G only
rc == 1
aud3g.u.umts.sqn == 25
auth vector ==
  rand: 897210a0f7de278f0b8213098e098a3f
  autn: c6b9790dad4b00000cf322869ea6a481
  ck: e9922bd036718ed9e40bd1d02c3b81a5
  ik: f19c20ca863137f8892326d959ec5e01
  res: 9af5a557902d2db80000000000000000
  res_len: 08
  kc: 7526fc13c5976685
  sres: 0ad888ef
  auth_types: 03000000

===== test_gen_vectors_3g_only: SUCCESS


===== test_gen_vectors_bad_args

- no auth data (a)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (b)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (c)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (d)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (e)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (f)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (g)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (h)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (i)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (j)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (k)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (l)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (m)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (n)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (o)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- no auth data (p)
DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available
rc == -1

- wrong auth data type (a)
DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
rc == -1

- wrong auth data type (b)
DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
rc == -1

- wrong auth data type (c)
DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
rc == -1

- wrong auth data type (d)
DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
rc == -1

- wrong auth data type (e)
DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
rc == -1

- wrong auth data type (f)
DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
rc == -1

- wrong auth data type (g)
DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
rc == -1

- wrong auth data type (h)
DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
rc == -1

- wrong auth data type (i)
DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
rc == -1

- wrong auth data type (j)
DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg
rc == -1

- wrong auth data type (k)
DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg
rc == -1

- AUTS for 2G-only (a)
DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
rc == -1

- AUTS for 2G-only (b)
DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
rc == -1

- AUTS for 2G-only (c)
DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
rc == -1

- AUTS for 2G-only (d)
DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed
rc == -1

- incomplete AUTS (a)
DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
rc == -1

- incomplete AUTS (b)
DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
rc == -1

- incomplete AUTS (c)
DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
rc == -1

- incomplete AUTS (d)
DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither
rc == -1
===== test_gen_vectors_bad_args: SUCCESS