linux_dsm_epyc7002/drivers/crypto
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
..
amcc crypto: amcc - Remove unused function 2015-01-05 21:36:07 +11:00
caam Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ccp crypto: ccp: drop owner assignment from platform_drivers 2014-10-20 16:20:26 +02:00
nx Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2014-12-13 13:33:26 -08:00
qat crypto: qat - Fix incorrect uses of memzero_explicit 2015-01-08 21:46:19 +11:00
qce crypto: qce: drop owner assignment from platform_drivers 2014-10-20 16:20:26 +02:00
ux500 crypto: ux500 - fix checkpatch errors 2014-12-22 23:02:42 +11:00
atmel-aes-regs.h crypto: atmel - add Atmel AES driver 2012-07-11 11:07:40 +08:00
atmel-aes.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
atmel-sha-regs.h crypto: atmel-sha - add support for latest release of the IP (0x410) 2013-03-10 16:46:42 +08:00
atmel-sha.c crypto: atmel_sha - remove unused shash fallback instance. 2014-12-22 23:02:35 +11:00
atmel-tdes-regs.h crypto: atmel-tdes - add support for latest release of the IP (0x700) 2013-03-10 16:46:42 +08:00
atmel-tdes.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
bfin_crc.c crypto: bfin_crc - Remove unnecessary KERN_ERR in bfin_crc.c 2015-01-05 21:36:07 +11:00
bfin_crc.h crypto: bfin_crc - access crc registers by readl and writel functions 2014-04-16 20:40:15 +08:00
geode-aes.c crypto: geode - Don't use tfm->__crt_alg->cra_name directly 2014-05-22 21:03:13 +08:00
geode-aes.h crypto: geode - Consistently use AES_KEYSIZE_128 2014-05-22 21:03:12 +08:00
hifn_795x.c crypto: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
ixp4xx_crypto.c crypto: ixp4xx - Fix kernel compile error 2014-01-01 14:06:23 +08:00
Kconfig crypto: qce - Let 'DEV_QCE' depend on both HAS_DMA and HAS_IOMEM 2014-07-23 21:31:37 +08:00
Makefile crypto: qce - Build Qualcomm crypto driver 2014-07-03 21:42:03 +08:00
mv_cesa.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
mv_cesa.h crypto: mv_cesa - Add missing #define 2014-08-29 21:46:36 +08:00
mxs-dcp.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
n2_asm.S crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
n2_core.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
n2_core.h crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
omap-aes.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
omap-des.c crypto: omap-des - fix BUG_ON condition 2015-01-08 21:46:17 +11:00
omap-sham.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
padlock-aes.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
padlock-sha.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
picoxcell_crypto_regs.h crypto: picoxcell - add support for the picoxcell crypto engines 2011-02-21 22:42:40 +11:00
picoxcell_crypto.c crypto: picoxcell - Use devm_ioremap_resource() 2014-02-27 05:56:47 +08:00
s5p-sss.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
sahara.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
talitos.c crypto: drop owner assignment from platform_drivers 2014-10-20 16:20:25 +02:00
talitos.h crypto: talitos - add sha224, sha384 and sha512 to existing AEAD algorithms 2012-07-11 11:08:29 +08:00