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