xref: /freebsd/crypto/openssl/test/recipes/30-test_evp_data/evpciph_des.txt (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1#
2# Copyright 2019-2021 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
9Title = DES ECB Tests (from destest)
10
11Availablein = legacy
12Cipher = DES-ECB
13Key = 0000000000000000
14Plaintext = 0000000000000000
15Ciphertext = 8CA64DE9C1B123A7
16
17Availablein = legacy
18Cipher = DES-ECB
19Key = FFFFFFFFFFFFFFFF
20Plaintext = FFFFFFFFFFFFFFFF
21Ciphertext = 7359B2163E4EDC58
22
23Availablein = legacy
24Cipher = DES-ECB
25Key = 3000000000000000
26Plaintext = 1000000000000001
27Ciphertext = 958E6E627A05557B
28
29Availablein = legacy
30Cipher = DES-ECB
31Key = 1111111111111111
32Plaintext = 1111111111111111
33Ciphertext = F40379AB9E0EC533
34
35Availablein = legacy
36Cipher = DES-ECB
37Key = 0123456789ABCDEF
38Plaintext = 1111111111111111
39Ciphertext = 17668DFC7292532D
40
41Availablein = legacy
42Cipher = DES-ECB
43Key = 1111111111111111
44Plaintext = 0123456789ABCDEF
45Ciphertext = 8A5AE1F81AB8F2DD
46
47Availablein = legacy
48Cipher = DES-ECB
49Key = FEDCBA9876543210
50Plaintext = 0123456789ABCDEF
51Ciphertext = ED39D950FA74BCC4
52
53Title = DES Tests (from FIPS PUB 81)
54
55Availablein = legacy
56Cipher = DES-CBC
57Key = 0123456789abcdef
58IV = 1234567890abcdef
59Plaintext = 4e6f772069732074
60Ciphertext = e5c7cdde872bf27c
61NextIV = e5c7cdde872bf27c
62
63Availablein = legacy
64Cipher = DES-CFB8
65Key = 0123456789abcdef
66IV = 1234567890abcdef
67Plaintext = 4e6f7720697320746865
68Ciphertext = f31fda07011462ee187f
69
70Availablein = legacy
71Cipher = DES-CFB
72Key = 0123456789abcdef
73IV = 1234567890abcdef
74Plaintext = 4e6f77206973207468652074696d6520666f7220616c6c20
75Ciphertext = f3096249c7f46e51a69e839b1a92f78403467133898ea622
76NextIV = 03467133898ea622
77
78Title = DES Tests (various sources)
79
80Availablein = legacy
81Cipher = DES-EDE3-CFB1
82Key = 000102030405060708090A0B0C0D0E0F1011121314151617
83IV = 0001020304050607
84Plaintext = "Hello World"
85Ciphertext = 3CF55D656E9C0664513358
86
87Availablein = legacy
88Cipher = DES-EDE3-CFB1
89Key = 000102030405060708090A0B0C0D0E0F1011121314151617
90IV = 0001020304050607
91Operation = DECRYPT
92Plaintext = "Hello World"
93Ciphertext = 3CF55D656E9C0664513358
94
95Availablein = legacy
96Cipher = DESX-CBC
97Key = 0123456789abcdeff1e0d3c2b5a49786fedcba9876543210
98IV = fedcba9876543210
99Plaintext = 37363534333231204E6F77206973207468652074696D6520666F722000000000
100Ciphertext = 846B2914851E9A2954732F8AA0A611C115CDC2D7951B1053A63C5E03B21AA3C4
101