Add test for non-default sized keys in variable key size ciphers
[oweals/openssl.git] / test / recipes / 30-test_evp_data / evpciph_bf.txt
1 #
2 # Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the Apache License 2.0 (the "License").  You may not use
5 # this file except in compliance with the License.  You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9
10 Title = Self generated BF test vectors
11
12 Cipher = BF-ECB
13 Availablein = default
14 Key = 000102030405060708090a0b0c0d0e0f
15 Plaintext = 0f0e0c0d0b0a09080706050403020100
16 Ciphertext = 079590e0010626685653b9b6c2a406e0
17
18 #Bigger key
19 Cipher = BF-ECB
20 Availablein = default
21 Key = 000102030405060708090a0b0c0d0e0f00000000
22 Plaintext = 0f0e0c0d0b0a09080706050403020100
23 Ciphertext = 7a0fe3734ad4785b49e59296b7861789
24
25 Cipher = BF-CBC
26 Availablein = default
27 Key = 000102030405060708090a0b0c0d0e0f
28 IV = 0101010101010101
29 Plaintext = 0f0e0c0d0b0a09080706050403020100
30 Ciphertext = 39c65006742b62a49f7a40ff69749c0a
31
32 #Bigger key
33 Cipher = BF-CBC
34 Availablein = default
35 Key = 000102030405060708090a0b0c0d0e0f00000000
36 IV = 0101010101010101
37 Plaintext = 0f0e0c0d0b0a09080706050403020100
38 Ciphertext = 3a5cefdb91e56e7aab45e7ea562bd465
39
40 Cipher = BF-OFB
41 Availablein = default
42 Key = 0001020304050607
43 IV = 0101010101010101
44 Plaintext = 0f0e0c0d0b0a09080706050403020100
45 Ciphertext = 27be8331cdc52dc61724029d302b9358
46
47 #Bigger key
48 Cipher = BF-OFB
49 Availablein = default
50 Key = 000102030405060700000000
51 IV = 0101010101010101
52 Plaintext = 0f0e0c0d0b0a09080706050403020100
53 Ciphertext = f108f229cc1cbe228aa3b2407979289a
54
55 Cipher = BF-CFB
56 Availablein = default
57 Key = 0001020304050607
58 IV = 0101010101010101
59 Plaintext = 0f0e0c0d0b0a09080706050403020100
60 Ciphertext = 27be8331cdc52dc675a93625f90f5db4
61
62 #Bigger key
63 Cipher = BF-CFB
64 Availablein = default
65 Key = 000102030405060700000000
66 IV = 0101010101010101
67 Plaintext = 0f0e0c0d0b0a09080706050403020100
68 Ciphertext = f108f229cc1cbe2214f00c3a8611cb46