]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: qat - Use library to prepare HMAC keys
authorEric Biggers <ebiggers@kernel.org>
Fri, 5 Sep 2025 03:01:53 +0000 (20:01 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 13 Sep 2025 04:11:06 +0000 (12:11 +0800)
commit408cf4850f640f08470450569c209dc3fdfaf12d
tree32a243764b43569ee7d36f4ba8ca46ad38b64011
parenta710a71cd8ad294937e03b352cd71deb7ad08700
crypto: qat - Use library to prepare HMAC keys

To prepare HMAC keys, just use the library functions instead of
crypto_shash.  This is much simpler, avoids depending on the fragile
export_core and import_core methods, and is faster too.

Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/Kconfig
drivers/crypto/intel/qat/qat_common/qat_algs.c