Test SHA2-224-HMAC now that OCF supports it.

Reviewed by:	cem
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D19882
This commit is contained in:
John Baldwin 2019-04-19 22:20:42 +00:00
parent 6b97c2e306
commit c87ada6a00

View File

@ -279,11 +279,8 @@ def runSHA1HMAC(self, fname):
alg = cryptodev.CRYPTO_SHA1_HMAC
blocksize = 64
elif hashlen == 28:
# Cryptodev doesn't support SHA-224
# Slurp remaining input in section
for data in lines:
continue
continue
alg = cryptodev.CRYPTO_SHA2_224_HMAC
blocksize = 64
elif hashlen == 32:
alg = cryptodev.CRYPTO_SHA2_256_HMAC
blocksize = 64