linux/drivers/crypto/qat
Herbert Xu ad511e260a crypto: qat - Fix incorrect uses of memzero_explicit
memzero_explicit should only be used on stack variables that get
zapped just before they go out of scope.

This patch replaces all unnecessary uses of memzero_explicit with
memset, removes two memzero_explicit calls altogether as the tfm
context comes pre-zeroed, and adds a missing memzero_explicit of
the stack variable buff in qat_alg_do_precomputes.  The memzeros
on ipad/opad + digest_size/auth_keylen are also removed as the
entire auth_state is already zeroed on entry.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Tadeusz Struk <tadeusz.struk@intel.com>
2015-01-08 21:46:19 +11:00
..
qat_common crypto: qat - Fix incorrect uses of memzero_explicit 2015-01-08 21:46:19 +11:00
qat_dh895xcc Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2014-12-13 13:33:26 -08:00
Kconfig crypto: qat - Updated Firmware Info Metadata 2014-06-26 14:49:35 +08:00
Makefile crypto: qat - Intel(R) QAT driver framework 2014-06-20 21:26:15 +08:00