Paul Bakker | 8123e9d | 2011-01-06 15:37:30 +0000 | [diff] [blame] | 1 | Cipher Selftest |
Paul Bakker | 335db3f | 2011-04-25 15:28:35 +0000 | [diff] [blame^] | 2 | depends_on:POLARSSL_SELF_TEST |
Paul Bakker | 8123e9d | 2011-01-06 15:37:30 +0000 | [diff] [blame] | 3 | cipher_selftest: |
| 4 | |
| 5 | Decrypt empty buffer |
| 6 | dec_empty_buf: |
| 7 | |
| 8 | Encrypt and decrypt 0 bytes |
| 9 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:0 |
| 10 | |
| 11 | Encrypt and decrypt 1 byte |
| 12 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:1 |
| 13 | |
| 14 | Encrypt and decrypt 2 bytes |
| 15 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:2 |
| 16 | |
| 17 | Encrypt and decrypt 7 bytes |
| 18 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:7 |
| 19 | |
| 20 | Encrypt and decrypt 8 bytes |
| 21 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:8 |
| 22 | |
| 23 | Encrypt and decrypt 9 bytes |
| 24 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:9 |
| 25 | |
| 26 | Encrypt and decrypt 15 bytes |
| 27 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:15 |
| 28 | |
| 29 | Encrypt and decrypt 16 bytes |
| 30 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:16 |
| 31 | |
| 32 | Encrypt and decrypt 17 bytes |
| 33 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:17 |
| 34 | |
| 35 | Encrypt and decrypt 31 bytes |
| 36 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:31 |
| 37 | |
| 38 | Encrypt and decrypt 32 bytes |
| 39 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:32 |
| 40 | |
| 41 | Encrypt and decrypt 32 bytes |
| 42 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:33 |
| 43 | |
| 44 | Encrypt and decrypt 47 bytes |
| 45 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:47 |
| 46 | |
| 47 | Encrypt and decrypt 48 bytes |
| 48 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:48 |
| 49 | |
| 50 | Encrypt and decrypt 49 bytes |
| 51 | enc_dec_buf:POLARSSL_CIPHER_AES_128_CBC:AES-128-CBC:128:49 |
| 52 | |
| 53 | Encrypt and decrypt 0 bytes in multiple parts |
| 54 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:0:0: |
| 55 | |
| 56 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 57 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:1:0: |
| 58 | |
| 59 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 60 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:0:1: |
| 61 | |
| 62 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 63 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:16:0: |
| 64 | |
| 65 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 66 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:0:16: |
| 67 | |
| 68 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 69 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:1:15: |
| 70 | |
| 71 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 72 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:15:1: |
| 73 | |
| 74 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 75 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:15:7: |
| 76 | |
| 77 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 78 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:16:6: |
| 79 | |
| 80 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 81 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:17:6: |
| 82 | |
| 83 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 84 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_128_CBC:128:16:16: |
| 85 | |
| 86 | Encrypt and decrypt 0 bytes |
| 87 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:0 |
| 88 | |
| 89 | Encrypt and decrypt 1 byte |
| 90 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:1 |
| 91 | |
| 92 | Encrypt and decrypt 2 bytes |
| 93 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:2 |
| 94 | |
| 95 | Encrypt and decrypt 7 bytes |
| 96 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:7 |
| 97 | |
| 98 | Encrypt and decrypt 8 bytes |
| 99 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:8 |
| 100 | |
| 101 | Encrypt and decrypt 9 bytes |
| 102 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:9 |
| 103 | |
| 104 | Encrypt and decrypt 15 bytes |
| 105 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:15 |
| 106 | |
| 107 | Encrypt and decrypt 16 bytes |
| 108 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:16 |
| 109 | |
| 110 | Encrypt and decrypt 17 bytes |
| 111 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:17 |
| 112 | |
| 113 | Encrypt and decrypt 31 bytes |
| 114 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:31 |
| 115 | |
| 116 | Encrypt and decrypt 32 bytes |
| 117 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:32 |
| 118 | |
| 119 | Encrypt and decrypt 32 bytes |
| 120 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:33 |
| 121 | |
| 122 | Encrypt and decrypt 47 bytes |
| 123 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:47 |
| 124 | |
| 125 | Encrypt and decrypt 48 bytes |
| 126 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:48 |
| 127 | |
| 128 | Encrypt and decrypt 49 bytes |
| 129 | enc_dec_buf:POLARSSL_CIPHER_AES_192_CBC:AES-192-CBC:192:49 |
| 130 | |
| 131 | Encrypt and decrypt 0 bytes in multiple parts |
| 132 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:0:0: |
| 133 | |
| 134 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 135 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:1:0: |
| 136 | |
| 137 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 138 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:0:1: |
| 139 | |
| 140 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 141 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:16:0: |
| 142 | |
| 143 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 144 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:0:16: |
| 145 | |
| 146 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 147 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:1:15: |
| 148 | |
| 149 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 150 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:15:1: |
| 151 | |
| 152 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 153 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:15:7: |
| 154 | |
| 155 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 156 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:16:6: |
| 157 | |
| 158 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 159 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:17:6: |
| 160 | |
| 161 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 162 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_192_CBC:192:16:16: |
| 163 | |
| 164 | Encrypt and decrypt 0 bytes |
| 165 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:0 |
| 166 | |
| 167 | Encrypt and decrypt 1 byte |
| 168 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:1 |
| 169 | |
| 170 | Encrypt and decrypt 2 bytes |
| 171 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:2 |
| 172 | |
| 173 | Encrypt and decrypt 7 bytes |
| 174 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:7 |
| 175 | |
| 176 | Encrypt and decrypt 8 bytes |
| 177 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:8 |
| 178 | |
| 179 | Encrypt and decrypt 9 bytes |
| 180 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:9 |
| 181 | |
| 182 | Encrypt and decrypt 15 bytes |
| 183 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:15 |
| 184 | |
| 185 | Encrypt and decrypt 16 bytes |
| 186 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:16 |
| 187 | |
| 188 | Encrypt and decrypt 17 bytes |
| 189 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:17 |
| 190 | |
| 191 | Encrypt and decrypt 31 bytes |
| 192 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:31 |
| 193 | |
| 194 | Encrypt and decrypt 32 bytes |
| 195 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:32 |
| 196 | |
| 197 | Encrypt and decrypt 32 bytes |
| 198 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:33 |
| 199 | |
| 200 | Encrypt and decrypt 47 bytes |
| 201 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:47 |
| 202 | |
| 203 | Encrypt and decrypt 48 bytes |
| 204 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:48 |
| 205 | |
| 206 | Encrypt and decrypt 49 bytes |
| 207 | enc_dec_buf:POLARSSL_CIPHER_AES_256_CBC:AES-256-CBC:256:49 |
| 208 | |
| 209 | Encrypt and decrypt 0 bytes in multiple parts |
| 210 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:0:0: |
| 211 | |
| 212 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 213 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:1:0: |
| 214 | |
| 215 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 216 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:0:1: |
| 217 | |
| 218 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 219 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:16:0: |
| 220 | |
| 221 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 222 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:0:16: |
| 223 | |
| 224 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 225 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:1:15: |
| 226 | |
| 227 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 228 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:15:1: |
| 229 | |
| 230 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 231 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:15:7: |
| 232 | |
| 233 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 234 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:16:6: |
| 235 | |
| 236 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 237 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:17:6: |
| 238 | |
| 239 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 240 | enc_dec_buf_multipart:POLARSSL_CIPHER_AES_256_CBC:256:16:16: |
| 241 | |
| 242 | Encrypt and decrypt 0 bytes |
| 243 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:0 |
| 244 | |
| 245 | Encrypt and decrypt 1 byte |
| 246 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:1 |
| 247 | |
| 248 | Encrypt and decrypt 2 bytes |
| 249 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:2 |
| 250 | |
| 251 | Encrypt and decrypt 7 bytes |
| 252 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:7 |
| 253 | |
| 254 | Encrypt and decrypt 8 bytes |
| 255 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:8 |
| 256 | |
| 257 | Encrypt and decrypt 9 bytes |
| 258 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:9 |
| 259 | |
| 260 | Encrypt and decrypt 15 bytes |
| 261 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:15 |
| 262 | |
| 263 | Encrypt and decrypt 16 bytes |
| 264 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:16 |
| 265 | |
| 266 | Encrypt and decrypt 17 bytes |
| 267 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:17 |
| 268 | |
| 269 | Encrypt and decrypt 31 bytes |
| 270 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:31 |
| 271 | |
| 272 | Encrypt and decrypt 32 bytes |
| 273 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:32 |
| 274 | |
| 275 | Encrypt and decrypt 32 bytes |
| 276 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:33 |
| 277 | |
| 278 | Encrypt and decrypt 47 bytes |
| 279 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:47 |
| 280 | |
| 281 | Encrypt and decrypt 48 bytes |
| 282 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:48 |
| 283 | |
| 284 | Encrypt and decrypt 49 bytes |
| 285 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_128_CBC:CAMELLIA-128-CBC:128:49 |
| 286 | |
| 287 | Encrypt and decrypt 0 bytes in multiple parts |
| 288 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:0:0: |
| 289 | |
| 290 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 291 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:1:0: |
| 292 | |
| 293 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 294 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:0:1: |
| 295 | |
| 296 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 297 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:16:0: |
| 298 | |
| 299 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 300 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:0:16: |
| 301 | |
| 302 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 303 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:1:15: |
| 304 | |
| 305 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 306 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:15:1: |
| 307 | |
| 308 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 309 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:15:7: |
| 310 | |
| 311 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 312 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:16:6: |
| 313 | |
| 314 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 315 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:17:6: |
| 316 | |
| 317 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 318 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_128_CBC:128:16:16: |
| 319 | |
| 320 | Encrypt and decrypt 0 bytes |
| 321 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:0 |
| 322 | |
| 323 | Encrypt and decrypt 1 byte |
| 324 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:1 |
| 325 | |
| 326 | Encrypt and decrypt 2 bytes |
| 327 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:2 |
| 328 | |
| 329 | Encrypt and decrypt 7 bytes |
| 330 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:7 |
| 331 | |
| 332 | Encrypt and decrypt 8 bytes |
| 333 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:8 |
| 334 | |
| 335 | Encrypt and decrypt 9 bytes |
| 336 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:9 |
| 337 | |
| 338 | Encrypt and decrypt 15 bytes |
| 339 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:15 |
| 340 | |
| 341 | Encrypt and decrypt 16 bytes |
| 342 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:16 |
| 343 | |
| 344 | Encrypt and decrypt 17 bytes |
| 345 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:17 |
| 346 | |
| 347 | Encrypt and decrypt 31 bytes |
| 348 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:31 |
| 349 | |
| 350 | Encrypt and decrypt 32 bytes |
| 351 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:32 |
| 352 | |
| 353 | Encrypt and decrypt 32 bytes |
| 354 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:33 |
| 355 | |
| 356 | Encrypt and decrypt 47 bytes |
| 357 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:47 |
| 358 | |
| 359 | Encrypt and decrypt 48 bytes |
| 360 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:48 |
| 361 | |
| 362 | Encrypt and decrypt 49 bytes |
| 363 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_192_CBC:CAMELLIA-192-CBC:192:49 |
| 364 | |
| 365 | Encrypt and decrypt 0 bytes in multiple parts |
| 366 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:0:0: |
| 367 | |
| 368 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 369 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:1:0: |
| 370 | |
| 371 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 372 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:0:1: |
| 373 | |
| 374 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 375 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:16:0: |
| 376 | |
| 377 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 378 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:0:16: |
| 379 | |
| 380 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 381 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:1:15: |
| 382 | |
| 383 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 384 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:15:1: |
| 385 | |
| 386 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 387 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:15:7: |
| 388 | |
| 389 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 390 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:16:6: |
| 391 | |
| 392 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 393 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:17:6: |
| 394 | |
| 395 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 396 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_192_CBC:192:16:16: |
| 397 | |
| 398 | Encrypt and decrypt 0 bytes |
| 399 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:0 |
| 400 | |
| 401 | Encrypt and decrypt 1 byte |
| 402 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:1 |
| 403 | |
| 404 | Encrypt and decrypt 2 bytes |
| 405 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:2 |
| 406 | |
| 407 | Encrypt and decrypt 7 bytes |
| 408 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:7 |
| 409 | |
| 410 | Encrypt and decrypt 8 bytes |
| 411 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:8 |
| 412 | |
| 413 | Encrypt and decrypt 9 bytes |
| 414 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:9 |
| 415 | |
| 416 | Encrypt and decrypt 15 bytes |
| 417 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:15 |
| 418 | |
| 419 | Encrypt and decrypt 16 bytes |
| 420 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:16 |
| 421 | |
| 422 | Encrypt and decrypt 17 bytes |
| 423 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:17 |
| 424 | |
| 425 | Encrypt and decrypt 31 bytes |
| 426 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:31 |
| 427 | |
| 428 | Encrypt and decrypt 32 bytes |
| 429 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:32 |
| 430 | |
| 431 | Encrypt and decrypt 32 bytes |
| 432 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:33 |
| 433 | |
| 434 | Encrypt and decrypt 47 bytes |
| 435 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:47 |
| 436 | |
| 437 | Encrypt and decrypt 48 bytes |
| 438 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:48 |
| 439 | |
| 440 | Encrypt and decrypt 49 bytes |
| 441 | enc_dec_buf:POLARSSL_CIPHER_CAMELLIA_256_CBC:CAMELLIA-256-CBC:256:49 |
| 442 | |
| 443 | Encrypt and decrypt 0 bytes in multiple parts |
| 444 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:0:0: |
| 445 | |
| 446 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 447 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:1:0: |
| 448 | |
| 449 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 450 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:0:1: |
| 451 | |
| 452 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 453 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:16:0: |
| 454 | |
| 455 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 456 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:0:16: |
| 457 | |
| 458 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 459 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:1:15: |
| 460 | |
| 461 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 462 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:15:1: |
| 463 | |
| 464 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 465 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:15:7: |
| 466 | |
| 467 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 468 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:16:6: |
| 469 | |
| 470 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 471 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:17:6: |
| 472 | |
| 473 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 474 | enc_dec_buf_multipart:POLARSSL_CIPHER_CAMELLIA_256_CBC:256:16:16: |
| 475 | |
| 476 | Encrypt and decrypt 0 bytes |
| 477 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:0 |
| 478 | |
| 479 | Encrypt and decrypt 1 byte |
| 480 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:1 |
| 481 | |
| 482 | Encrypt and decrypt 2 bytes |
| 483 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:2 |
| 484 | |
| 485 | Encrypt and decrypt 7 bytes |
| 486 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:7 |
| 487 | |
| 488 | Encrypt and decrypt 8 bytes |
| 489 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:8 |
| 490 | |
| 491 | Encrypt and decrypt 9 bytes |
| 492 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:9 |
| 493 | |
| 494 | Encrypt and decrypt 15 bytes |
| 495 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:15 |
| 496 | |
| 497 | Encrypt and decrypt 16 bytes |
| 498 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:16 |
| 499 | |
| 500 | Encrypt and decrypt 17 bytes |
| 501 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:17 |
| 502 | |
| 503 | Encrypt and decrypt 31 bytes |
| 504 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:31 |
| 505 | |
| 506 | Encrypt and decrypt 32 bytes |
| 507 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:32 |
| 508 | |
| 509 | Encrypt and decrypt 32 bytes |
| 510 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:33 |
| 511 | |
| 512 | Encrypt and decrypt 47 bytes |
| 513 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:47 |
| 514 | |
| 515 | Encrypt and decrypt 48 bytes |
| 516 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:48 |
| 517 | |
| 518 | Encrypt and decrypt 49 bytes |
| 519 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:49 |
| 520 | |
| 521 | Encrypt and decrypt 0 bytes in multiple parts |
| 522 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:0: |
| 523 | |
| 524 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 525 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:0: |
| 526 | |
| 527 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 528 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:1: |
| 529 | |
| 530 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 531 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:0: |
| 532 | |
| 533 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 534 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:16: |
| 535 | |
| 536 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 537 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:15: |
| 538 | |
| 539 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 540 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:1: |
| 541 | |
| 542 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 543 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:7: |
| 544 | |
| 545 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 546 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:6: |
| 547 | |
| 548 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 549 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:17:6: |
| 550 | |
| 551 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 552 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:16: |
| 553 | |
| 554 | Encrypt and decrypt 0 bytes |
| 555 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:0 |
| 556 | |
| 557 | Encrypt and decrypt 1 byte |
| 558 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:1 |
| 559 | |
| 560 | Encrypt and decrypt 2 bytes |
| 561 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:2 |
| 562 | |
| 563 | Encrypt and decrypt 7 bytes |
| 564 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:7 |
| 565 | |
| 566 | Encrypt and decrypt 8 bytes |
| 567 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:8 |
| 568 | |
| 569 | Encrypt and decrypt 9 bytes |
| 570 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:9 |
| 571 | |
| 572 | Encrypt and decrypt 15 bytes |
| 573 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:15 |
| 574 | |
| 575 | Encrypt and decrypt 16 bytes |
| 576 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:16 |
| 577 | |
| 578 | Encrypt and decrypt 17 bytes |
| 579 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:17 |
| 580 | |
| 581 | Encrypt and decrypt 31 bytes |
| 582 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:31 |
| 583 | |
| 584 | Encrypt and decrypt 32 bytes |
| 585 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:32 |
| 586 | |
| 587 | Encrypt and decrypt 32 bytes |
| 588 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:33 |
| 589 | |
| 590 | Encrypt and decrypt 47 bytes |
| 591 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:47 |
| 592 | |
| 593 | Encrypt and decrypt 48 bytes |
| 594 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:48 |
| 595 | |
| 596 | Encrypt and decrypt 49 bytes |
| 597 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:49 |
| 598 | |
| 599 | Encrypt and decrypt 0 bytes in multiple parts |
| 600 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:0: |
| 601 | |
| 602 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 603 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:0: |
| 604 | |
| 605 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 606 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:1: |
| 607 | |
| 608 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 609 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:0: |
| 610 | |
| 611 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 612 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:16: |
| 613 | |
| 614 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 615 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:15: |
| 616 | |
| 617 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 618 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:1: |
| 619 | |
| 620 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 621 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:7: |
| 622 | |
| 623 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 624 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:6: |
| 625 | |
| 626 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 627 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:17:6: |
| 628 | |
| 629 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 630 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:16: |
| 631 | |
| 632 | Encrypt and decrypt 0 bytes |
| 633 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:0 |
| 634 | |
| 635 | Encrypt and decrypt 1 byte |
| 636 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:1 |
| 637 | |
| 638 | Encrypt and decrypt 2 bytes |
| 639 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:2 |
| 640 | |
| 641 | Encrypt and decrypt 7 bytes |
| 642 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:7 |
| 643 | |
| 644 | Encrypt and decrypt 8 bytes |
| 645 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:8 |
| 646 | |
| 647 | Encrypt and decrypt 9 bytes |
| 648 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:9 |
| 649 | |
| 650 | Encrypt and decrypt 15 bytes |
| 651 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:15 |
| 652 | |
| 653 | Encrypt and decrypt 16 bytes |
| 654 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:16 |
| 655 | |
| 656 | Encrypt and decrypt 17 bytes |
| 657 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:17 |
| 658 | |
| 659 | Encrypt and decrypt 31 bytes |
| 660 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:31 |
| 661 | |
| 662 | Encrypt and decrypt 32 bytes |
| 663 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:32 |
| 664 | |
| 665 | Encrypt and decrypt 32 bytes |
| 666 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:33 |
| 667 | |
| 668 | Encrypt and decrypt 47 bytes |
| 669 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:47 |
| 670 | |
| 671 | Encrypt and decrypt 48 bytes |
| 672 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:48 |
| 673 | |
| 674 | Encrypt and decrypt 49 bytes |
| 675 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:49 |
| 676 | |
| 677 | Encrypt and decrypt 0 bytes in multiple parts |
| 678 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:0: |
| 679 | |
| 680 | Encrypt and decrypt 1 bytes in multiple parts 1 |
| 681 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:0: |
| 682 | |
| 683 | Encrypt and decrypt 1 bytes in multiple parts 2 |
| 684 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:1: |
| 685 | |
| 686 | Encrypt and decrypt 16 bytes in multiple parts 1 |
| 687 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:0: |
| 688 | |
| 689 | Encrypt and decrypt 16 bytes in multiple parts 2 |
| 690 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:16: |
| 691 | |
| 692 | Encrypt and decrypt 16 bytes in multiple parts 3 |
| 693 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:15: |
| 694 | |
| 695 | Encrypt and decrypt 16 bytes in multiple parts 4 |
| 696 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:1: |
| 697 | |
| 698 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 699 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:7: |
| 700 | |
| 701 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 702 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:6: |
| 703 | |
| 704 | Encrypt and decrypt 22 bytes in multiple parts 1 |
| 705 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:17:6: |
| 706 | |
| 707 | Encrypt and decrypt 32 bytes in multiple parts 1 |
| 708 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:16: |