hash: implement SHA-{224,256}
Add the HMAC and Wycheproof bits for HMAC while at it.
This commit is contained in:
parent
0605d10bb3
commit
1a8f813442
11 changed files with 521 additions and 3 deletions
|
@ -33,6 +33,10 @@ tests-mac:
|
|||
.endif
|
||||
.for p in ${MAC}
|
||||
perl ${.CURDIR}/mac.pl ${TESTOPTS} -x ./${p} \
|
||||
${WYCHEPROOF_DIR}/testvectors/hmac_sha224_test.json \
|
||||
${WYCHEPROOF_DIR}/testvectors_v1/hmac_sha224_test.json \
|
||||
${WYCHEPROOF_DIR}/testvectors/hmac_sha256_test.json \
|
||||
${WYCHEPROOF_DIR}/testvectors_v1/hmac_sha256_test.json \
|
||||
${WYCHEPROOF_DIR}/testvectors/hmac_sha384_test.json \
|
||||
${WYCHEPROOF_DIR}/testvectors_v1/hmac_sha384_test.json \
|
||||
${WYCHEPROOF_DIR}/testvectors/hmac_sha512_test.json \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue