summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evptests.txt
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-08-18 16:02:52 +0000
committerBen Laurie <ben@openssl.org>2001-08-18 16:02:52 +0000
commita8a004987c730aa433b18e3d1f91198eca18e324 (patch)
tree6c88dc444cd8de7400ef33ac334d6550a933d357 /crypto/evp/evptests.txt
parent0e36019977e78c34d6ea67b943fe17d4a01e769d (diff)
Add AES tests.
Diffstat (limited to 'crypto/evp/evptests.txt')
-rw-r--r--crypto/evp/evptests.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/crypto/evp/evptests.txt b/crypto/evp/evptests.txt
index 05094a8d74..ee3b7fd69d 100644
--- a/crypto/evp/evptests.txt
+++ b/crypto/evp/evptests.txt
@@ -1,12 +1,36 @@
#cipher:key:iv:input:output
+
+# AES 128 ECB tests (from NIST test vectors, encrypt)
+
+AES-128-ECB:00000000000000000000000000000000::00000000000000000000000000000000:C34C052CC0DA8D73451AFE5F03BE297F
+
+# AES 128 ECB tests (from NIST test vectors, decrypt)
+
+#AES-128-ECB:00000000000000000000000000000000::44416AC2D1F53C583303917E6BE9EBE0:00000000000000000000000000000000
+
+# AES 192 ECB tests (from NIST test vectors, decrypt)
+
+#AES-192-ECB:000000000000000000000000000000000000000000000000::48E31E9E256718F29229319C19F15BA4:00000000000000000000000000000000
+
+# AES 256 ECB tests (from NIST test vectors, decrypt)
+
+#AES-256-ECB:0000000000000000000000000000000000000000000000000000000000000000::058CCFFDBBCB382D1F6F56585D8A4ADE:00000000000000000000000000000000
+
# AES 128 CBC tests (from NIST test vectors, encrypt)
+
#AES-128-CBC:00000000000000000000000000000000:00000000000000000000000000000000:00000000000000000000000000000000:8A05FC5E095AF4848A08D328D3688E3D
+
# AES 128 CBC tests (from NIST test vectors, decrypt)
+
#AES-128-CBC:00000000000000000000000000000000:00000000000000000000000000000000:FACA37E0B0C85373DF706E73F7C9AF86:00000000000000000000000000000000
+
# DES ECB tests (from destest)
+
DES-ECB:0000000000000000::0000000000000000:8CA64DE9C1B123A7
+
# DES EDE3 CBC tests (from destest)
DES-EDE3-CBC:0123456789abcdeff1e0d3c2b5a49786fedcba9876543210:fedcba9876543210:37363534333231204E6F77206973207468652074696D6520666F722000000000:3FE301C962AC01D02213763C1CBD4CDC799657C064ECF5D41C673812CFDE9675
+
# RC4 tests (from rc4test)
RC4:0123456789abcdef0123456789abcdef::0123456789abcdef:75b7878099e0c596
RC4:0123456789abcdef0123456789abcdef::0000000000000000:7494c2e7104b0879