kernel_optimize_test/drivers/crypto
Hook, Gary 52393d617a crypto: ccp - Validate the the error value used to index error messages
The error code read from the queue status register is only 6 bits wide,
but we need to verify its value is within range before indexing the error
messages.

Fixes: 81422badb3 ("crypto: ccp - Make syslog errors human-readable")
Cc: <stable@vger.kernel.org>
Reported-by: Cfir Cohen <cfir@google.com>
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-07-03 22:13:12 +08:00
..
amcc crypto: crypto4xx - block ciphers should only accept complete blocks 2019-05-23 14:13:09 +08:00
axis crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
bcm crypto: bcm - Make some symbols static 2019-06-13 14:31:40 +08:00
caam crypto: caam - update IV using HW support 2019-06-20 14:18:33 +08:00
cavium crypto: cavium/nitrox - Use the correct style for SPDX License Identifier 2019-06-13 14:31:41 +08:00
ccp crypto: ccp - Validate the the error value used to index error messages 2019-07-03 22:13:12 +08:00
ccree crypto: ccree - add HW engine config check 2019-06-27 14:28:00 +08:00
chelsio crypto: chelsio - count incomplete block in IV 2019-05-09 13:17:23 +08:00
hisilicon crypto: hisilicon - Use the correct style for SPDX License Identifier 2019-06-13 14:31:41 +08:00
inside-secure crypto: inside-secure - do not rely on the hardware last bit for result descriptors 2019-06-06 14:38:56 +08:00
marvell crypto: marvell - Forbid 2-key 3DES in FIPS mode 2019-04-18 22:15:00 +08:00
mediatek crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
nx crypto/NX: Set receive window credits to max number of CRBs in RxFIFO 2019-06-28 10:08:03 +08:00
qat crypto: qat - use struct_size() helper 2019-06-13 14:31:41 +08:00
qce crypto: qce - Forbid 2-key 3DES in FIPS mode 2019-04-18 22:15:01 +08:00
rockchip crypto: rockchip - update IV buffer to contain the next IV 2019-04-18 22:15:04 +08:00
stm32 crypto: stm32/cryp - update to return iv_out 2019-05-03 14:03:29 +08:00
sunxi-ss crypto: sun4i-ss - reduce stack usage 2019-06-27 14:28:01 +08:00
ux500 crypto: ux500 - use ccflags-y instead of CFLAGS_<basename>.o 2019-04-25 15:40:39 +08:00
virtio crypto: virtio - clean up indentation, replace spaces with tab 2019-01-11 14:16:56 +08:00
vmx crypto: vmx - Document CTR mode counter width quirks 2019-06-20 14:18:33 +08:00
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-ecc.c crypto: atmel-ecc - factor out code that can be shared 2019-05-30 15:35:45 +08:00
atmel-i2c.c crypto: atmel - Fix sparse endianness warnings 2019-06-06 14:38:57 +08:00
atmel-i2c.h crypto: atmel - Fix sparse endianness warnings 2019-06-06 14:38:57 +08:00
atmel-sha-regs.h
atmel-sha.c
atmel-sha204a.c crypto: atmel-i2c - add support for SHA204A random number generator 2019-05-30 15:35:45 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel - remove set but not used variable 'alg_name' 2019-05-03 14:03:29 +08:00
exynos-rng.c
geode-aes.c crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations 2018-11-20 14:26:55 +08:00
geode-aes.h
hifn_795x.c crypto: hifn_795x - Forbid 2-key 3DES in FIPS mode 2019-04-18 22:15:00 +08:00
img-hash.c
ixp4xx_crypto.c crypto: ixp4xx - Fix cross-compile errors due to type mismatch 2019-05-30 15:30:05 +08:00
Kconfig crypto: atmel-i2c - Fix build error while CRC16 set to m 2019-06-06 14:44:16 +08:00
Makefile crypto: atmel-i2c - add support for SHA204A random number generator 2019-05-30 15:35:45 +08:00
mxs-dcp.c crypto: mxs-dcp - Use devm_platform_ioremap_resource() 2019-06-13 14:31:41 +08:00
n2_asm.S
n2_core.c crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
n2_core.h
omap-aes-gcm.c
omap-aes.c crypto: skcipher - remove remnants of internal IV generators 2018-12-23 11:52:45 +08:00
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c crypto: omap - Forbid 2-key 3DES in FIPS mode 2019-04-18 22:15:00 +08:00
omap-sham.c crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
padlock-aes.c
padlock-sha.c crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
picoxcell_crypto_regs.h
picoxcell_crypto.c crypto: picoxcell - Use dev_get_drvdata() 2019-05-03 14:03:29 +08:00
qcom-rng.c
s5p-sss.c crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
sahara.c crypto: sahara - Use devm_platform_ioremap_resource() 2019-06-13 14:31:41 +08:00
talitos.c crypto: talitos - drop icv_ool 2019-07-03 22:13:11 +08:00
talitos.h crypto: talitos - drop icv_ool 2019-07-03 22:13:11 +08:00