diff options
author | Matt Braithwaite <mab@google.com> | 2015-08-18 20:27:03 -0700 |
---|---|---|
committer | Skrilax_CZ <skrilax@gmail.com> | 2016-02-15 01:18:43 -0800 |
commit | e7d1294b4fba014f16e35b924584dcd8f81956e9 (patch) | |
tree | f4be905bf15a67dda22726fabf6fb002dc34b0a0 /src/crypto/cipher/test/cipher_test.txt | |
parent | 1035653b65b940ee8fb0449b1eddafeb8fbd62de (diff) | |
download | external_boringssl-e7d1294b4fba014f16e35b924584dcd8f81956e9.zip external_boringssl-e7d1294b4fba014f16e35b924584dcd8f81956e9.tar.gz external_boringssl-e7d1294b4fba014f16e35b924584dcd8f81956e9.tar.bz2 |
Add |EVP_des_ecb| from OpenSSL at fd682e4c.
|DES_ecb_encrypt| was already present.
This benefits globalplatform.
Change-Id: I2ab41eb1936b3026439b5981fb27e29a12672b66
Reviewed-on: https://boringssl-review.googlesource.com/5723
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'src/crypto/cipher/test/cipher_test.txt')
-rw-r--r-- | src/crypto/cipher/test/cipher_test.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/crypto/cipher/test/cipher_test.txt b/src/crypto/cipher/test/cipher_test.txt index 93cb8f3..88d4147 100644 --- a/src/crypto/cipher/test/cipher_test.txt +++ b/src/crypto/cipher/test/cipher_test.txt @@ -535,3 +535,40 @@ Cipher = AES-192-ECB Key = 8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B Plaintext = F69F2445DF4F9B17AD2B417BE66C3710 Ciphertext = 9A4B41BA738D6C72FB16691603C18E0E + +# DES ECB tests + +Cipher = DES-ECB +Key = 0000000000000000 +Plaintext = 0000000000000000 +Ciphertext = 8CA64DE9C1B123A7 + +Cipher = DES-ECB +Key = FFFFFFFFFFFFFFFF +Plaintext = FFFFFFFFFFFFFFFF +Ciphertext = 7359B2163E4EDC58 + +Cipher = DES-ECB +Key = 3000000000000000 +Plaintext = 1000000000000001 +Ciphertext = 958E6E627A05557B + +Cipher = DES-ECB +Key = 1111111111111111 +Plaintext = 1111111111111111 +Ciphertext = F40379AB9E0EC533 + +Cipher = DES-ECB +Key = 0123456789ABCDEF +Plaintext = 1111111111111111 +Ciphertext = 17668DFC7292532D + +Cipher = DES-ECB +Key = 1111111111111111 +Plaintext = 0123456789ABCDEF +Ciphertext = 8A5AE1F81AB8F2DD + +Cipher = DES-ECB +Key = FEDCBA9876543210 +Plaintext = 0123456789ABCDEF +Ciphertext = ED39D950FA74BCC4 |