Paul Bakker | 46c1794 | 2011-07-13 14:54:54 +0000 | [diff] [blame] | 1 | Cipher Selftest |
| 2 | depends_on:POLARSSL_SELF_TEST |
| 3 | cipher_selftest: |
| 4 | |
| 5 | Decrypt empty buffer |
| 6 | dec_empty_buf: |
| 7 | |
| 8 | DES Encrypt and decrypt 0 bytes |
| 9 | depends_on:POLARSSL_DES_C |
| 10 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:0 |
| 11 | |
| 12 | DES Encrypt and decrypt 1 byte |
| 13 | depends_on:POLARSSL_DES_C |
| 14 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:1 |
| 15 | |
| 16 | DES Encrypt and decrypt 2 bytes |
| 17 | depends_on:POLARSSL_DES_C |
| 18 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:2 |
| 19 | |
| 20 | DES Encrypt and decrypt 7 bytes |
| 21 | depends_on:POLARSSL_DES_C |
| 22 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:7 |
| 23 | |
| 24 | DES Encrypt and decrypt 8 bytes |
| 25 | depends_on:POLARSSL_DES_C |
| 26 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:8 |
| 27 | |
| 28 | DES Encrypt and decrypt 9 bytes |
| 29 | depends_on:POLARSSL_DES_C |
| 30 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:9 |
| 31 | |
| 32 | DES Encrypt and decrypt 15 bytes |
| 33 | depends_on:POLARSSL_DES_C |
| 34 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:15 |
| 35 | |
| 36 | DES Encrypt and decrypt 16 bytes |
| 37 | depends_on:POLARSSL_DES_C |
| 38 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:16 |
| 39 | |
| 40 | DES Encrypt and decrypt 17 bytes |
| 41 | depends_on:POLARSSL_DES_C |
| 42 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:17 |
| 43 | |
| 44 | DES Encrypt and decrypt 31 bytes |
| 45 | depends_on:POLARSSL_DES_C |
| 46 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:31 |
| 47 | |
| 48 | DES Encrypt and decrypt 32 bytes |
| 49 | depends_on:POLARSSL_DES_C |
| 50 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:32 |
| 51 | |
| 52 | DES Encrypt and decrypt 32 bytes |
| 53 | depends_on:POLARSSL_DES_C |
| 54 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:33 |
| 55 | |
| 56 | DES Encrypt and decrypt 47 bytes |
| 57 | depends_on:POLARSSL_DES_C |
| 58 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:47 |
| 59 | |
| 60 | DES Encrypt and decrypt 48 bytes |
| 61 | depends_on:POLARSSL_DES_C |
| 62 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:48 |
| 63 | |
| 64 | DES Encrypt and decrypt 49 bytes |
| 65 | depends_on:POLARSSL_DES_C |
| 66 | enc_dec_buf:POLARSSL_CIPHER_DES_CBC:DES-CBC:56:49 |
| 67 | |
| 68 | DES Encrypt and decrypt 0 bytes in multiple parts |
| 69 | depends_on:POLARSSL_DES_C |
| 70 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:0: |
| 71 | |
| 72 | DES Encrypt and decrypt 1 bytes in multiple parts 1 |
| 73 | depends_on:POLARSSL_DES_C |
| 74 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:0: |
| 75 | |
| 76 | DES Encrypt and decrypt 1 bytes in multiple parts 2 |
| 77 | depends_on:POLARSSL_DES_C |
| 78 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:1: |
| 79 | |
| 80 | DES Encrypt and decrypt 16 bytes in multiple parts 1 |
| 81 | depends_on:POLARSSL_DES_C |
| 82 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:0: |
| 83 | |
| 84 | DES Encrypt and decrypt 16 bytes in multiple parts 2 |
| 85 | depends_on:POLARSSL_DES_C |
| 86 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:0:16: |
| 87 | |
| 88 | DES Encrypt and decrypt 16 bytes in multiple parts 3 |
| 89 | depends_on:POLARSSL_DES_C |
| 90 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:1:15: |
| 91 | |
| 92 | DES Encrypt and decrypt 16 bytes in multiple parts 4 |
| 93 | depends_on:POLARSSL_DES_C |
| 94 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:1: |
| 95 | |
| 96 | DES Encrypt and decrypt 22 bytes in multiple parts 1 |
| 97 | depends_on:POLARSSL_DES_C |
| 98 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:15:7: |
| 99 | |
| 100 | DES Encrypt and decrypt 22 bytes in multiple parts 1 |
| 101 | depends_on:POLARSSL_DES_C |
| 102 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:6: |
| 103 | |
| 104 | DES Encrypt and decrypt 22 bytes in multiple parts 1 |
| 105 | depends_on:POLARSSL_DES_C |
| 106 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:17:6: |
| 107 | |
| 108 | DES Encrypt and decrypt 32 bytes in multiple parts 1 |
| 109 | depends_on:POLARSSL_DES_C |
| 110 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_CBC:56:16:16: |
| 111 | |
| 112 | DES Encrypt and decrypt 0 bytes |
| 113 | depends_on:POLARSSL_DES_C |
| 114 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:0 |
| 115 | |
| 116 | DES3 Encrypt and decrypt 1 byte |
| 117 | depends_on:POLARSSL_DES_C |
| 118 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:1 |
| 119 | |
| 120 | DES3 Encrypt and decrypt 2 bytes |
| 121 | depends_on:POLARSSL_DES_C |
| 122 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:2 |
| 123 | |
| 124 | DES3 Encrypt and decrypt 7 bytes |
| 125 | depends_on:POLARSSL_DES_C |
| 126 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:7 |
| 127 | |
| 128 | DES3 Encrypt and decrypt 8 bytes |
| 129 | depends_on:POLARSSL_DES_C |
| 130 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:8 |
| 131 | |
| 132 | DES3 Encrypt and decrypt 9 bytes |
| 133 | depends_on:POLARSSL_DES_C |
| 134 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:9 |
| 135 | |
| 136 | DES3 Encrypt and decrypt 15 bytes |
| 137 | depends_on:POLARSSL_DES_C |
| 138 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:15 |
| 139 | |
| 140 | DES3 Encrypt and decrypt 16 bytes |
| 141 | depends_on:POLARSSL_DES_C |
| 142 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:16 |
| 143 | |
| 144 | DES3 Encrypt and decrypt 17 bytes |
| 145 | depends_on:POLARSSL_DES_C |
| 146 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:17 |
| 147 | |
| 148 | DES3 Encrypt and decrypt 31 bytes |
| 149 | depends_on:POLARSSL_DES_C |
| 150 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:31 |
| 151 | |
| 152 | DES3 Encrypt and decrypt 32 bytes |
| 153 | depends_on:POLARSSL_DES_C |
| 154 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:32 |
| 155 | |
| 156 | DES3 Encrypt and decrypt 32 bytes |
| 157 | depends_on:POLARSSL_DES_C |
| 158 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:33 |
| 159 | |
| 160 | DES3 Encrypt and decrypt 47 bytes |
| 161 | depends_on:POLARSSL_DES_C |
| 162 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:47 |
| 163 | |
| 164 | DES3 Encrypt and decrypt 48 bytes |
| 165 | depends_on:POLARSSL_DES_C |
| 166 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:48 |
| 167 | |
| 168 | DES3 Encrypt and decrypt 49 bytes |
| 169 | depends_on:POLARSSL_DES_C |
| 170 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE_CBC:DES-EDE-CBC:112:49 |
| 171 | |
| 172 | DES3 Encrypt and decrypt 0 bytes in multiple parts |
| 173 | depends_on:POLARSSL_DES_C |
| 174 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:0: |
| 175 | |
| 176 | DES3 Encrypt and decrypt 1 bytes in multiple parts 1 |
| 177 | depends_on:POLARSSL_DES_C |
| 178 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:0: |
| 179 | |
| 180 | DES3 Encrypt and decrypt 1 bytes in multiple parts 2 |
| 181 | depends_on:POLARSSL_DES_C |
| 182 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:1: |
| 183 | |
| 184 | DES3 Encrypt and decrypt 16 bytes in multiple parts 1 |
| 185 | depends_on:POLARSSL_DES_C |
| 186 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:0: |
| 187 | |
| 188 | DES3 Encrypt and decrypt 16 bytes in multiple parts 2 |
| 189 | depends_on:POLARSSL_DES_C |
| 190 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:0:16: |
| 191 | |
| 192 | DES3 Encrypt and decrypt 16 bytes in multiple parts 3 |
| 193 | depends_on:POLARSSL_DES_C |
| 194 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:1:15: |
| 195 | |
| 196 | DES3 Encrypt and decrypt 16 bytes in multiple parts 4 |
| 197 | depends_on:POLARSSL_DES_C |
| 198 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:1: |
| 199 | |
| 200 | DES3 Encrypt and decrypt 22 bytes in multiple parts 1 |
| 201 | depends_on:POLARSSL_DES_C |
| 202 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:15:7: |
| 203 | |
| 204 | DES3 Encrypt and decrypt 22 bytes in multiple parts 1 |
| 205 | depends_on:POLARSSL_DES_C |
| 206 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:6: |
| 207 | |
| 208 | DES3 Encrypt and decrypt 22 bytes in multiple parts 1 |
| 209 | depends_on:POLARSSL_DES_C |
| 210 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:17:6: |
| 211 | |
| 212 | DES3 Encrypt and decrypt 32 bytes in multiple parts 1 |
| 213 | depends_on:POLARSSL_DES_C |
| 214 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE_CBC:112:16:16: |
| 215 | |
| 216 | DES3 Encrypt and decrypt 0 bytes |
| 217 | depends_on:POLARSSL_DES_C |
| 218 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:0 |
| 219 | |
| 220 | DES3 Encrypt and decrypt 1 byte |
| 221 | depends_on:POLARSSL_DES_C |
| 222 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:1 |
| 223 | |
| 224 | DES3 Encrypt and decrypt 2 bytes |
| 225 | depends_on:POLARSSL_DES_C |
| 226 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:2 |
| 227 | |
| 228 | DES3 Encrypt and decrypt 7 bytes |
| 229 | depends_on:POLARSSL_DES_C |
| 230 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:7 |
| 231 | |
| 232 | DES3 Encrypt and decrypt 8 bytes |
| 233 | depends_on:POLARSSL_DES_C |
| 234 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:8 |
| 235 | |
| 236 | DES3 Encrypt and decrypt 9 bytes |
| 237 | depends_on:POLARSSL_DES_C |
| 238 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:9 |
| 239 | |
| 240 | DES3 Encrypt and decrypt 15 bytes |
| 241 | depends_on:POLARSSL_DES_C |
| 242 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:15 |
| 243 | |
| 244 | DES3 Encrypt and decrypt 16 bytes |
| 245 | depends_on:POLARSSL_DES_C |
| 246 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:16 |
| 247 | |
| 248 | DES3 Encrypt and decrypt 17 bytes |
| 249 | depends_on:POLARSSL_DES_C |
| 250 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:17 |
| 251 | |
| 252 | DES3 Encrypt and decrypt 31 bytes |
| 253 | depends_on:POLARSSL_DES_C |
| 254 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:31 |
| 255 | |
| 256 | DES3 Encrypt and decrypt 32 bytes |
| 257 | depends_on:POLARSSL_DES_C |
| 258 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:32 |
| 259 | |
| 260 | DES3 Encrypt and decrypt 32 bytes |
| 261 | depends_on:POLARSSL_DES_C |
| 262 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:33 |
| 263 | |
| 264 | DES3 Encrypt and decrypt 47 bytes |
| 265 | depends_on:POLARSSL_DES_C |
| 266 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:47 |
| 267 | |
| 268 | DES3 Encrypt and decrypt 48 bytes |
| 269 | depends_on:POLARSSL_DES_C |
| 270 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:48 |
| 271 | |
| 272 | DES3 Encrypt and decrypt 49 bytes |
| 273 | depends_on:POLARSSL_DES_C |
| 274 | enc_dec_buf:POLARSSL_CIPHER_DES_EDE3_CBC:DES-EDE3-CBC:168:49 |
| 275 | |
| 276 | DES3 Encrypt and decrypt 0 bytes in multiple parts |
| 277 | depends_on:POLARSSL_DES_C |
| 278 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:0: |
| 279 | |
| 280 | DES3 Encrypt and decrypt 1 bytes in multiple parts 1 |
| 281 | depends_on:POLARSSL_DES_C |
| 282 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:0: |
| 283 | |
| 284 | DES3 Encrypt and decrypt 1 bytes in multiple parts 2 |
| 285 | depends_on:POLARSSL_DES_C |
| 286 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:1: |
| 287 | |
| 288 | DES3 Encrypt and decrypt 16 bytes in multiple parts 1 |
| 289 | depends_on:POLARSSL_DES_C |
| 290 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:0: |
| 291 | |
| 292 | DES3 Encrypt and decrypt 16 bytes in multiple parts 2 |
| 293 | depends_on:POLARSSL_DES_C |
| 294 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:0:16: |
| 295 | |
| 296 | DES3 Encrypt and decrypt 16 bytes in multiple parts 3 |
| 297 | depends_on:POLARSSL_DES_C |
| 298 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:1:15: |
| 299 | |
| 300 | DES3 Encrypt and decrypt 16 bytes in multiple parts 4 |
| 301 | depends_on:POLARSSL_DES_C |
| 302 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:1: |
| 303 | |
| 304 | DES3 Encrypt and decrypt 22 bytes in multiple parts 1 |
| 305 | depends_on:POLARSSL_DES_C |
| 306 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:15:7: |
| 307 | |
| 308 | DES3 Encrypt and decrypt 22 bytes in multiple parts 1 |
| 309 | depends_on:POLARSSL_DES_C |
| 310 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:6: |
| 311 | |
| 312 | DES3 Encrypt and decrypt 22 bytes in multiple parts 1 |
| 313 | depends_on:POLARSSL_DES_C |
| 314 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:17:6: |
| 315 | |
| 316 | DES3 Encrypt and decrypt 32 bytes in multiple parts 1 |
| 317 | depends_on:POLARSSL_DES_C |
| 318 | enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:168:16:16: |