aboutsummaryrefslogtreecommitdiffstats
path: root/test/crypto/ref/sha_ref.bat
diff options
context:
space:
mode:
Diffstat (limited to 'test/crypto/ref/sha_ref.bat')
-rw-r--r--test/crypto/ref/sha_ref.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/crypto/ref/sha_ref.bat b/test/crypto/ref/sha_ref.bat
new file mode 100644
index 000000000..9eaa96463
--- /dev/null
+++ b/test/crypto/ref/sha_ref.bat
@@ -0,0 +1,20 @@
+
+call %OPENSSL%\openssl dgst -sha1 -c -binary -out sha_sha1_3 plaintext_2
+ren sha_sha1_3 sha_sha1_3.enc
+
+call %OPENSSL%\openssl dgst -sha1 -c -binary -out sha_sha1_56 plaintext_3
+ren sha_sha1_56 sha_sha1_56.enc
+
+call %OPENSSL%\openssl dgst -sha256 -c -binary -out sha_sha256_3 plaintext_2
+ren sha_sha256_3 sha_sha256_3.enc
+
+call %OPENSSL%\openssl dgst -sha256 -c -binary -out sha_sha256_56 plaintext_3
+ren sha_sha256_56 sha_sha256_56.enc
+
+
+call %OPENSSL%\openssl dgst -sha512 -c -binary -out sha_sha512_3 plaintext_2
+ren sha_sha512_3 sha_sha512_3.enc
+
+
+call %OPENSSL%\openssl dgst -sha512 -c -binary -out sha_sha512_56 plaintext_3
+ren sha_sha512_56 sha_sha512_56.enc \ No newline at end of file