summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mxs-dcp.c
diff options
context:
space:
mode:
authorKamil Konieczny <k.konieczny@partner.samsung.com>2018-02-07 16:52:09 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-15 11:13:56 +0100
commitc927b080c67e3e97193c81fc1d27f4251bf4e036 (patch)
treefc01da2eba350d3ee5b96c62c64d61cddbb1212e /drivers/crypto/mxs-dcp.c
parentMerge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff)
downloadlinux-c927b080c67e3e97193c81fc1d27f4251bf4e036.tar.xz
linux-c927b080c67e3e97193c81fc1d27f4251bf4e036.zip
crypto: s5p-sss - Fix kernel Oops in AES-ECB mode
In AES-ECB mode crypt is done with key only, so any use of IV can cause kernel Oops. Use IV only in AES-CBC and AES-CTR. Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com> Reported-by: Anand Moon <linux.amoon@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Anand Moon <linux.amoon@gmail.com> Cc: stable@vger.kernel.org # can be applied after commit 8f9702aad138 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mxs-dcp.c')
0 files changed, 0 insertions, 0 deletions