aboutsummaryrefslogtreecommitdiffstats
path: root/test/crypto/ref/hmac_ref.bat
blob: 78eb88b0057ea8c7cbb118515a5b57473a3ac21a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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