diff options
Diffstat (limited to 'test/crypto/ref/hmac_ref.bat')
-rw-r--r-- | test/crypto/ref/hmac_ref.bat | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/crypto/ref/hmac_ref.bat b/test/crypto/ref/hmac_ref.bat new file mode 100644 index 000000000..78eb88b00 --- /dev/null +++ b/test/crypto/ref/hmac_ref.bat @@ -0,0 +1,13 @@ +
+
+call %OPENSSL%\openssl dgst -sha256 -hmac "" -c -binary -out hmac_hmac256_1 plaintext_6
+ren hmac_hmac256_1 hmac_hmac256_1.enc
+
+call %OPENSSL%\openssl dgst -sha256 -hmac "Jefe" -c -binary -out hmac_hmac256_2 plaintext_7
+ren hmac_hmac256_2 hmac_hmac256_2.enc
+
+call %OPENSSL%\openssl dgst -sha512 -hmac "" -c -binary -out hmac_hmac512_1 plaintext_6
+ren hmac_hmac512_1 hmac_hmac512_1.enc
+
+call %OPENSSL%\openssl dgst -sha512 -hmac "Jefe" -c -binary -out hmac_hmac512_2 plaintext_7
+ren hmac_hmac512_2 hmac_hmac512_2.enc
|