aboutsummaryrefslogtreecommitdiffstats
path: root/test/crypto/ref/des_ref.bat
diff options
context:
space:
mode:
Diffstat (limited to 'test/crypto/ref/des_ref.bat')
-rw-r--r--test/crypto/ref/des_ref.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/crypto/ref/des_ref.bat b/test/crypto/ref/des_ref.bat
new file mode 100644
index 000000000..62d031391
--- /dev/null
+++ b/test/crypto/ref/des_ref.bat
@@ -0,0 +1,8 @@
+
+call %OPENSSL%\openssl enc -des-ecb -nopad -nosalt -K %K8% -e -in plaintext -out des_ecb_8.enc
+
+REM TDES
+call %OPENSSL%\openssl enc -des-ede-ecb -nopad -nosalt -K %K16% -e -in plaintext -out tdes_ecb_16.enc
+call %OPENSSL%\openssl enc -des-ede3-ecb -nopad -nosalt -K %K24% -e -in plaintext -out tdes_ecb_24.enc
+call %OPENSSL%\openssl enc -des-ede-cbc -nopad -nosalt -K %K16% -iv %DES_IV% -e -in plaintext -out tdes_cbc_16.enc
+call %OPENSSL%\openssl enc -des-ede3-cbc -nopad -nosalt -K %K24% -iv %DES_IV% -e -in plaintext -out tdes_cbc_24.enc \ No newline at end of file