xref: /freebsd/crypto/openssl/test/recipes/30-test_evp_data/evpciph_bf.txt (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1#
2# Copyright 2019-2020 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
10Title = Self generated BF test vectors
11
12Availablein = legacy
13Cipher = BF-ECB
14Key = 000102030405060708090a0b0c0d0e0f
15Plaintext = 0f0e0c0d0b0a09080706050403020100
16Ciphertext = 079590e0010626685653b9b6c2a406e0
17
18#Bigger key
19Availablein = legacy
20Cipher = BF-ECB
21Key = 000102030405060708090a0b0c0d0e0f00000000
22Plaintext = 0f0e0c0d0b0a09080706050403020100
23Ciphertext = 7a0fe3734ad4785b49e59296b7861789
24
25Availablein = legacy
26Cipher = BF-CBC
27Key = 000102030405060708090a0b0c0d0e0f
28IV = 0101010101010101
29Plaintext = 0f0e0c0d0b0a09080706050403020100
30Ciphertext = 39c65006742b62a49f7a40ff69749c0a
31
32#Bigger key
33Availablein = legacy
34Cipher = BF-CBC
35Key = 000102030405060708090a0b0c0d0e0f00000000
36IV = 0101010101010101
37Plaintext = 0f0e0c0d0b0a09080706050403020100
38Ciphertext = 3a5cefdb91e56e7aab45e7ea562bd465
39
40Availablein = legacy
41Cipher = BF-OFB
42Key = 0001020304050607
43IV = 0101010101010101
44Plaintext = 0f0e0c0d0b0a09080706050403020100
45Ciphertext = 27be8331cdc52dc61724029d302b9358
46
47#Bigger key
48Availablein = legacy
49Cipher = BF-OFB
50Key = 000102030405060700000000
51IV = 0101010101010101
52Plaintext = 0f0e0c0d0b0a09080706050403020100
53Ciphertext = f108f229cc1cbe228aa3b2407979289a
54
55Availablein = legacy
56Cipher = BF-CFB
57Key = 0001020304050607
58IV = 0101010101010101
59Plaintext = 0f0e0c0d0b0a09080706050403020100
60Ciphertext = 27be8331cdc52dc675a93625f90f5db4
61
62#Bigger key
63Availablein = legacy
64Cipher = BF-CFB
65Key = 000102030405060700000000
66IV = 0101010101010101
67Plaintext = 0f0e0c0d0b0a09080706050403020100
68Ciphertext = f108f229cc1cbe2214f00c3a8611cb46
69