commit | 99dcd45f274e10b0a4b04f2836218762ed2294d4 | [log] [tgz] |
---|---|---|
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | Sat Oct 20 02:01:52 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 09 17:38:45 2019 +0100 |
tree | fb4c174af62c42f247f801ffb3af98d5c7323887 | |
parent | d8e4b24ffbbbc296e521eebd5525a3031bdbac51 [diff] |
crypto: cfb - fix decryption commit fa4600734b74f74d9169c3015946d4722f8bcf79 upstream. crypto_cfb_decrypt_segment() incorrectly XOR'ed generated keystream with IV, rather than with data stream, resulting in incorrect decryption. Test vectors will be added in the next patch. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>