linux/drivers/crypto
Antoine Ténart 42ef3bedf3 crypto: inside-secure - fix invalidation check in hmac_sha1_setkey
The safexcel_hmac_sha1_setkey function checks if an invalidation command
should be issued, i.e. when the context ipad/opad change. This checks is
done after filling the ipad/opad which and it can't be true. The patch
fixes this by moving the check before the ipad/opad memcpy operations.

Fixes: 1b44c5a60c ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-08-03 13:36:10 +08:00
..
amcc crypto: crypto4xx - fix an error code 2017-06-20 11:21:14 +08:00
bcm crypto: brcm - Fix SHA3-512 algorithm failure 2017-07-18 17:00:59 +08:00
caam crypto: caam - properly set IV after {en,de}crypt 2017-07-12 18:38:07 +08:00
cavium crypto: cavium/nitrox - Change in firmware path. 2017-07-18 17:01:00 +08:00
ccp crypto: ccp - Release locks before returning 2017-06-22 16:54:09 +08:00
chelsio Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2017-07-14 22:49:50 -07:00
inside-secure crypto: inside-secure - fix invalidation check in hmac_sha1_setkey 2017-08-03 13:36:10 +08:00
marvell
mediatek
nx
qat This is the first pull request for the new dma-mapping subsystem 2017-07-06 19:20:54 -07:00
qce
rockchip
stm32
sunxi-ss crypto: sun4i-ss - fix large block size support 2017-06-19 14:19:52 +08:00
ux500
virtio
vmx crypto: vmx - remove unnecessary check 2017-06-20 11:21:49 +08:00
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-sha-regs.h
atmel-sha.c crypto: atmel - only treat EBUSY as transient if backlog 2017-07-12 18:38:06 +08:00
atmel-tdes-regs.h
atmel-tdes.c
bfin_crc.c
bfin_crc.h
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c
ixp4xx_crypto.c
Kconfig crypto: brcm - remove BCM_PDC_MBOX dependency in Kconfig 2017-07-18 17:01:08 +08:00
Makefile
mv_cesa.c
mv_cesa.h
mxc-scc.c
mxs-dcp.c
n2_asm.S
n2_core.c crypto: n2 - make of_device_ids const 2017-06-20 11:21:48 +08:00
n2_core.h
omap-aes-gcm.c crypto: omap-aes - fix spelling mistake "Encryptio" -> "Encryption" 2017-06-20 11:21:29 +08:00
omap-aes.c
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c
padlock-aes.c
padlock-sha.c
picoxcell_crypto_regs.h
picoxcell_crypto.c
s5p-sss.c
sahara.c
talitos.c
talitos.h