300201b7cb8bb3578b423332542cfde2b777c827
[openssl.git] / test / recipes / 30-test_evp_data / evpciph_rc5.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 #The following tests were generated using legacy code, to ensure that the
10 #provider ciphers have identical results.
11 Title = RC5 Tests
12
13 Cipher = RC5-ECB
14 Key = 00000000000000000000000000000000
15 Plaintext = 0000000000000000
16 Ciphertext = 21a5dbee154b8f6d
17
18 Cipher = RC5-ECB
19 Key = 00000000000000000000000000000000
20 Plaintext = 000102030405060708090A0B0C0D0E0F
21 Ciphertext = d9d37019aec1161b27d7ad56b21f0f42
22
23 Cipher = RC5-CBC
24 Key = 00000000000000000000000000000000
25 IV = 0000000000000000
26 Plaintext = 0000000000000000
27 Ciphertext = 21a5dbee154b8f6d
28
29 Cipher = RC5-CBC
30 Key = 0102030405060708090A0B0C0D0E0F10
31 IV = 0102030405060708
32 Plaintext = 000102030405060708090A0B0C0D0E0F
33 Ciphertext = eeebae12d768ac9e5b3d6072a9c76c65
34
35 Cipher = RC5-OFB
36 Key = 00000000000000000000000000000000
37 IV = 0000000000000000
38 Plaintext = 0000000000000000
39 Ciphertext = 21a5dbee154b8f6d
40
41 Cipher = RC5-OFB
42 Key = 0102030405060708090A0B0C0D0E0F10
43 IV = 0102030405060708
44 Plaintext = 000102030405060708090A0B0C0D0E0F
45 Ciphertext = c0ad101b40fc7ffdfc386ea5ecf458b7
46
47 Cipher = RC5-CFB
48 Key = 00000000000000000000000000000000
49 IV = 0000000000000000
50 Plaintext = 0000000000000000
51 Ciphertext = 21a5dbee154b8f6d
52
53 Cipher = RC5-CFB
54 Key = 0102030405060708090A0B0C0D0E0F10
55 IV = 0102030405060708
56 Plaintext = 000102030405060708090A0B0C0D0E0F
57 Ciphertext = c0ad101b40fc7ffdeb97c6173bf2987e
58
59 Cipher = RC5-CFB
60 Key = 0102030405060708090A0B0C0D0E0F10
61 IV = 0102030405060708
62 Rounds = 8
63 Plaintext = 000102030405060708090A0B0C0D0E0F
64 Ciphertext = 439945301dfa830885ac2f3cf5e61d0e
65
66 Cipher = RC5-CFB
67 Key = 0102030405060708090A0B0C0D0E0F10
68 IV = 0102030405060708
69 Rounds = 16
70 Plaintext = 000102030405060708090A0B0C0D0E0F
71 Ciphertext = 5ad80530f4a19e622d03cd4f2b165730
72
73 #Bad rounds
74 Cipher = RC5-CFB
75 Key = 0102030405060708090A0B0C0D0E0F10
76 IV = 0102030405060708
77 Rounds = 9
78 Plaintext = 000102030405060708090A0B0C0D0E0F
79 Result = INVALID_ROUNDS
80
81 #bigger key
82 Cipher = RC5-CFB
83 Key = 0102030405060708090A0B0C0D0E0F101213141516
84 IV = 0102030405060708
85 Plaintext = 000102030405060708090A0B0C0D0E0F
86 Ciphertext = b3724d2d9d1b9285e1338fd266c2277d