diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2018-07-09 07:26:12 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2018-07-09 07:26:12 +0000 |
commit | c97f39ce17114100b5c463a7544912698193576a (patch) | |
tree | 31597bc9a73032d185ed04196460f851990c1bdb /sys/opencrypto/cryptodev.c | |
parent | 1245c6d1a5984eeb64aa4d508874d48d966da823 (diff) | |
download | src-c97f39ce17114100b5c463a7544912698193576a.tar.gz src-c97f39ce17114100b5c463a7544912698193576a.zip |
OCF: Add CRYPTO_SHA2_224_HMAC mode
Round out the complete set of basic SHA2 HMAC modes with SHA2-224.
Support is added to the cryptocheck test tool.
Notes
Notes:
svn path=/head/; revision=336124
Diffstat (limited to 'sys/opencrypto/cryptodev.c')
-rw-r--r-- | sys/opencrypto/cryptodev.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/opencrypto/cryptodev.c b/sys/opencrypto/cryptodev.c index d0a8e249a63b..e80de0c159a4 100644 --- a/sys/opencrypto/cryptodev.c +++ b/sys/opencrypto/cryptodev.c @@ -460,6 +460,9 @@ cryptof_ioctl( case CRYPTO_SHA1_HMAC: thash = &auth_hash_hmac_sha1; break; + case CRYPTO_SHA2_224_HMAC: + thash = &auth_hash_hmac_sha2_224; + break; case CRYPTO_SHA2_256_HMAC: thash = &auth_hash_hmac_sha2_256; break; |