Neels Hofmeyr | 8cde662 | 2017-01-31 02:10:40 +0100 | [diff] [blame] | 1 | |
| 2 | ===== test_gen_vectors_2g_only |
| 3 | aud3g.u.umts.sqn == 0 |
| 4 | DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d |
| 5 | DAUC compute vector [0]/1: 2G only |
| 6 | rc == 1 |
| 7 | auth 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 | |
| 18 | aud3g.u.umts.sqn == 0 |
| 19 | DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d |
| 20 | DAUC compute vector [0]/1: 2G only |
| 21 | rc == 1 |
| 22 | auth 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 |
| 37 | aud3g.u.umts.sqn == 0 |
| 38 | DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d |
| 39 | DAUC compute vector [0]/1: separate 2G + 3G |
| 40 | rc == 1 |
| 41 | auth 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 | |
| 52 | aud3g.u.umts.sqn == 1 |
| 53 | aud3g.u.umts.sqn == 0 |
| 54 | DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d |
| 55 | DAUC compute vector [0]/1: separate 2G + 3G |
| 56 | rc == 1 |
| 57 | aud3g.u.umts.sqn == 1 |
| 58 | auth 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 Hofmeyr | 00c0697 | 2017-01-31 01:19:27 +0100 | [diff] [blame] | 72 | ===== test_gen_vectors_3g_only |
Neels Hofmeyr | 8cde662 | 2017-01-31 02:10:40 +0100 | [diff] [blame] | 73 | aud3g.u.umts.sqn == 0 |
| 74 | DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d |
| 75 | DAUC compute vector [0]/1: 3G only |
| 76 | rc == 1 |
| 77 | auth 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 | |
| 88 | aud3g.u.umts.sqn == 1 |
| 89 | aud3g.u.umts.sqn == 0 |
| 90 | DAUC rand 39fa2f4e3d523d8619a73b4f65c3e14d |
| 91 | DAUC compute vector [0]/1: 3G only |
| 92 | rc == 1 |
| 93 | aud3g.u.umts.sqn == 1 |
| 94 | auth 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 Hofmeyr | ec9036b | 2017-02-21 21:56:11 +0100 | [diff] [blame] | 105 | - test AUTS resync |
| 106 | aud3g.u.umts.sqn == 0 |
| 107 | DAUC rand 897210a0f7de278f0b8213098e098a3f |
| 108 | DAUC compute vector [0]/1: 3G only |
| 109 | rc == 1 |
| 110 | aud3g.u.umts.sqn == 25 |
| 111 | auth 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 Hofmeyr | 00c0697 | 2017-01-31 01:19:27 +0100 | [diff] [blame] | 122 | ===== test_gen_vectors_3g_only: SUCCESS |
| 123 | |
Neels Hofmeyr | 569d322 | 2017-02-21 22:57:11 +0100 | [diff] [blame] | 124 | |
| 125 | ===== test_gen_vectors_bad_args |
| 126 | |
| 127 | - no auth data (a) |
| 128 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 129 | rc == -1 |
| 130 | |
| 131 | - no auth data (b) |
| 132 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 133 | rc == -1 |
| 134 | |
| 135 | - no auth data (c) |
| 136 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 137 | rc == -1 |
| 138 | |
| 139 | - no auth data (d) |
| 140 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 141 | rc == -1 |
| 142 | |
| 143 | - no auth data (e) |
| 144 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 145 | rc == -1 |
| 146 | |
| 147 | - no auth data (f) |
| 148 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 149 | rc == -1 |
| 150 | |
| 151 | - no auth data (g) |
| 152 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 153 | rc == -1 |
| 154 | |
| 155 | - no auth data (h) |
| 156 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 157 | rc == -1 |
| 158 | |
| 159 | - no auth data (i) |
| 160 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 161 | rc == -1 |
| 162 | |
| 163 | - no auth data (j) |
| 164 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 165 | rc == -1 |
| 166 | |
| 167 | - no auth data (k) |
| 168 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 169 | rc == -1 |
| 170 | |
| 171 | - no auth data (l) |
| 172 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 173 | rc == -1 |
| 174 | |
| 175 | - no auth data (m) |
| 176 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 177 | rc == -1 |
| 178 | |
| 179 | - no auth data (n) |
| 180 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 181 | rc == -1 |
| 182 | |
| 183 | - no auth data (o) |
| 184 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 185 | rc == -1 |
| 186 | |
| 187 | - no auth data (p) |
| 188 | DAUC auc_compute_vectors() called with neither 2G nor 3G auth data available |
| 189 | rc == -1 |
| 190 | |
| 191 | - wrong auth data type (a) |
| 192 | DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg |
| 193 | rc == -1 |
| 194 | |
| 195 | - wrong auth data type (b) |
| 196 | DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg |
| 197 | rc == -1 |
| 198 | |
| 199 | - wrong auth data type (c) |
| 200 | DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg |
| 201 | rc == -1 |
| 202 | |
| 203 | - wrong auth data type (d) |
| 204 | DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg |
| 205 | rc == -1 |
| 206 | |
| 207 | - wrong auth data type (e) |
| 208 | DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg |
| 209 | rc == -1 |
| 210 | |
| 211 | - wrong auth data type (f) |
| 212 | DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg |
| 213 | rc == -1 |
| 214 | |
| 215 | - wrong auth data type (g) |
| 216 | DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg |
| 217 | rc == -1 |
| 218 | |
| 219 | - wrong auth data type (h) |
| 220 | DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg |
| 221 | rc == -1 |
| 222 | |
| 223 | - wrong auth data type (i) |
| 224 | DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg |
| 225 | rc == -1 |
| 226 | |
| 227 | - wrong auth data type (j) |
| 228 | DAUC auc_compute_vectors() called with non-2G auth data passed for aud2g arg |
| 229 | rc == -1 |
| 230 | |
| 231 | - wrong auth data type (k) |
| 232 | DAUC auc_compute_vectors() called with non-3G auth data passed for aud3g arg |
| 233 | rc == -1 |
| 234 | |
| 235 | - AUTS for 2G-only (a) |
| 236 | DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed |
| 237 | rc == -1 |
| 238 | |
| 239 | - AUTS for 2G-only (b) |
| 240 | DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed |
| 241 | rc == -1 |
| 242 | |
| 243 | - AUTS for 2G-only (c) |
| 244 | DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed |
| 245 | rc == -1 |
| 246 | |
| 247 | - AUTS for 2G-only (d) |
| 248 | DAUC auc_compute_vectors() with AUTS called but no 3G auth data passed |
| 249 | rc == -1 |
| 250 | |
| 251 | - incomplete AUTS (a) |
| 252 | DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither |
| 253 | rc == -1 |
| 254 | |
| 255 | - incomplete AUTS (b) |
| 256 | DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither |
| 257 | rc == -1 |
| 258 | |
| 259 | - incomplete AUTS (c) |
| 260 | DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither |
| 261 | rc == -1 |
| 262 | |
| 263 | - incomplete AUTS (d) |
| 264 | DAUC auc_compute_vectors() with only one of AUTS and AUTS_RAND given, need both or neither |
| 265 | rc == -1 |
| 266 | ===== test_gen_vectors_bad_args: SUCCESS |
| 267 | |