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 18:13:56 +0800 |
commit | c927b080c67e3e97193c81fc1d27f4251bf4e036 (patch) | |
tree | fc01da2eba350d3ee5b96c62c64d61cddbb1212e /net/phonet | |
parent | 178e834c47b0d01352c48730235aae69898fbc02 (diff) |
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 'net/phonet')
0 files changed, 0 insertions, 0 deletions