android_kernel_oneplus_msm8998/drivers/crypto
Zhen Kong 0ddb3d1fcf crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4
In newer kernel (msm-4.4 or later), for AEAD ciphering, crypto api has
been re-worked and the assoclen defines the length of association data
and iv together. But for rfc4309(ccm(aes)), iv is not part of AAD.
Therefore, change qcrypto driver to remove the iv, by subtract 8 from
assoclen for rfc4309(ccm(aes)).

Change-Id: I37eb1934d7817b5b5c33440122b68e5d37854960
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-06-13 11:37:43 -07:00
..
amcc
caam crypto: caam - fix RNG deinstantiation error checking 2017-04-18 07:14:36 +02:00
ccp Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
marvell
msm crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4 2017-06-13 11:37:43 -07:00
nx crypto: nx-842 - Mask XERS0 bit in return value 2016-09-15 08:27:49 +02:00
qat crypto: qat - fix aes-xts key sizes 2016-09-07 08:32:44 +02:00
qce
sunxi-ss crypto: sun4i-ss - Replace spinlock_bh by spin_lock_irq{save|restore} 2016-06-01 12:15:49 -07:00
ux500 crypto: ux500 - memmove the right size 2016-07-11 09:31:12 -07:00
vmx crypto: vmx - Fix memory corruption caused by p8_ghash 2016-10-22 12:26:56 +02:00
atmel-aes-regs.h
atmel-aes.c
atmel-sha-regs.h
atmel-sha.c
atmel-tdes-regs.h
atmel-tdes.c
bfin_crc.c
bfin_crc.h
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c
ixp4xx_crypto.c
Kconfig msm: Rename msmtriton/apqtriton to sdm630/sda630 2016-12-28 21:56:22 +05:30
Makefile
mv_cesa.c
mv_cesa.h
mxs-dcp.c
n2_asm.S
n2_core.c
n2_core.h
omap-aes.c
omap-des.c
omap-sham.c
padlock-aes.c
padlock-sha.c
picoxcell_crypto.c
picoxcell_crypto_regs.h
s5p-sss.c
sahara.c
talitos.c Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
talitos.h