diff options
author | Kamil Konieczny <k.konieczny@partner.samsung.com> | 2018-02-07 16:52:09 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-15 11:13:56 +0100 |
commit | c927b080c67e3e97193c81fc1d27f4251bf4e036 (patch) | |
tree | fc01da2eba350d3ee5b96c62c64d61cddbb1212e /drivers/crypto/mxs-dcp.c | |
parent | Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff) | |
download | linux-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