linux/drivers/crypto/qat/qat_common
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
..
Makefile crypto: qat - Intel(R) QAT driver framework 2014-06-20 21:26:15 +08:00
adf_accel_devices.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2014-12-13 13:33:26 -08:00
adf_accel_engine.c crypto: qat - Updated print outputs 2014-08-01 22:36:08 +08:00
adf_aer.c crypto: qat - misspelling typo - "reseting" should be "resetting" 2014-10-24 22:52:26 +08:00
adf_cfg.c crypto: qat - remove unneeded header 2014-08-01 22:36:02 +08:00
adf_cfg.h crypto: qat - Intel(R) QAT driver framework 2014-06-20 21:26:15 +08:00
adf_cfg_common.h crypto: qat - Intel(R) QAT driver framework 2014-06-20 21:26:15 +08:00
adf_cfg_strings.h crypto: qat - Intel(R) QAT driver framework 2014-06-20 21:26:15 +08:00
adf_cfg_user.h crypto: qat - Intel(R) QAT driver framework 2014-06-20 21:26:15 +08:00
adf_common_drv.h crypto: qat - Fix error path crash when no firmware is present 2014-06-26 14:49:46 +08:00
adf_ctl_drv.c crypto: prefix module autoloading with "crypto-" 2014-11-24 22:43:57 +08:00
adf_dev_mgr.c crypto: qat - fix bad unlock balance 2014-10-24 22:49:37 +08:00
adf_init.c crypto: qat - Updated print outputs 2014-08-01 22:36:08 +08:00
adf_transport.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2014-12-13 13:33:26 -08:00
adf_transport.h crypto: qat - Intel(R) QAT transport code 2014-06-20 21:26:15 +08:00
adf_transport_access_macros.h crytpo: qat - Fix 64 bytes requests 2014-11-25 22:50:42 +08:00
adf_transport_debug.c crypto: qat - Fixed new checkpatch warnings 2014-06-26 14:49:43 +08:00
adf_transport_internal.h crypto: qat - Fix typo in name of tasklet_struct 2014-09-24 14:01:26 +08:00
icp_qat_fw.h crypto: qat - Intel(R) QAT FW interface 2014-06-20 21:26:16 +08:00
icp_qat_fw_init_admin.h crypto: qat - Intel(R) QAT FW interface 2014-06-20 21:26:16 +08:00
icp_qat_fw_la.h crypto: qat - checkpatch blank lines 2014-08-01 22:36:01 +08:00
icp_qat_fw_loader_handle.h crypto: qat - Intel(R) QAT accelengine part of fw loader 2014-06-20 21:26:17 +08:00
icp_qat_hal.h crypto: qat - Intel(R) QAT accelengine part of fw loader 2014-06-20 21:26:17 +08:00
icp_qat_hw.h crypto: qat - add support for cbc(aes) ablkcipher 2014-12-22 23:02:42 +11:00
icp_qat_uclo.h crypto: qat - change slice->regions to slice->region 2014-08-01 22:36:06 +08:00
qat_algs.c crypto: qat - Fix incorrect uses of memzero_explicit 2015-01-08 21:46:19 +11:00
qat_crypto.c crypto: qat - Enforce valid numa configuration 2014-10-24 22:37:36 +08:00
qat_crypto.h crypto: qat - add support for cbc(aes) ablkcipher 2014-12-22 23:02:42 +11:00
qat_hal.c crypto: qat - Move BAR definitions to device specific module 2014-11-06 23:14:59 +08:00
qat_uclo.c crypto: qat - Fixed SKU1 dev issue 2014-08-01 22:36:10 +08:00