INSTALL.md: Restore $ as command prompt indicator
[oweals/openssl.git] / test / recipes / 30-test_evp_data / evpciph_rc2.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 # A valid set of RC2 test vectors could not be found for all RC2 modes - the
10 # following values were generated using the deprecated cipher code, in order to
11 # confirm that the new provider code is equivalent.
12 Title = RC2 Test vectors
13
14 Cipher = RC2-ECB
15 Key = 0000000000000000
16 Plaintext = 000102030405060708090A0B0C0D0E0F
17 Ciphertext = a4085a9f3e710563ae3b1e8c4339122b
18
19 Cipher = RC2-ECB
20 Key = 0000000000000000
21 KeyBits = 63
22 Plaintext = 000102030405060708090A0B0C0D0E0F
23 Ciphertext = b406b9037baf2d86982af542e6d70b13
24
25 Cipher = RC2-CBC
26 Key = 0000000000000000
27 IV = 0000000000000000
28 Plaintext = 000102030405060708090A0B0C0D0E0F
29 Ciphertext = a4085a9f3e710563d1091a1552ba8962
30
31 Cipher = RC2-CBC
32 Key = 0000000000000000
33 KeyBits = 63
34 IV = 0000000000000000
35 Plaintext = 000102030405060708090A0B0C0D0E0F
36 Ciphertext = b406b9037baf2d866614ef5e55e95b8d
37
38 Cipher = RC2-40-CBC
39 Key = 0000000000
40 IV = 0000000000000000
41 Plaintext = 0102030405060708
42 Ciphertext = 61ae28bcf59d1f6f
43
44 Cipher = RC2-40-CBC
45 Key = 0000000000
46 KeyBits = 63
47 IV = 0000000000000000
48 Plaintext = 0102030405060708
49 Ciphertext = c1d8e65290b2f06d
50
51 Cipher = RC2-40-CBC
52 Key = 000000000001
53 IV = 0000000000000000
54 Plaintext = 0102030405060708
55 Ciphertext = b3ddf36b5c81b0db
56
57 Cipher = RC2-64-CBC
58 Key = 0000000000000000
59 IV = 0000000000000000
60 Plaintext = 0102030405060708
61 Ciphertext = 191d1abf767bfbe7
62
63 Cipher = RC2-64-CBC
64 Key = 0000000000000000
65 KeyBits = 63
66 IV = 0000000000000000
67 Plaintext = 0102030405060708
68 Ciphertext = 191d1abf767bfbe7
69
70 Cipher = RC2-CFB
71 Key = 0000000000000000
72 IV = 0000000000000000
73 Plaintext = 000102030405060708090A0B0C0D0E0F
74 Ciphertext = 81b5cc4d43119e987a2b526ea152f3fe
75
76 Cipher = RC2-CFB
77 Key = 0000000000000000
78 KeyBits = 63
79 IV = 0000000000000000
80 Plaintext = 000102030405060708090A0B0C0D0E0F
81 Ciphertext = ebb671fa972288f87cb1810b91f2ae39
82
83 Cipher = RC2-OFB
84 Key = 0000000000000000
85 IV = 0000000000000000
86 Plaintext = 000102030405060708090A0B0C0D0E0F
87 Ciphertext = 81b5cc4d43119e9849bdb7ef7fb35eb7
88
89 Cipher = RC2-OFB
90 Key = 0000000000000000
91 IV = 0000000000000000
92 KeyBits = 63
93 Plaintext = 000102030405060708090A0B0C0D0E0F
94 Ciphertext = ebb671fa972288f8f8587d8069d61d58
95
96 Cipher = RC2-OFB
97 Key = 0000000000000000
98 IV = 000000000000000000
99 Plaintext = 000102030405060708090A0B0C0D0E0F
100 Result = INVALID_IV_LENGTH
101
102 #Variable key length is allowed for RC2
103 Cipher = RC2-OFB
104 Key = 0000000000000000000000000000000000
105 IV = 0000000000000000
106 Plaintext = 000102030405060708090A0B0C0D0E0F
107 Ciphertext = 1df8d70bb9c66ffc37869d8ed80d796b