summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-10-20 02:01:52 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-11-09 17:40:59 +0800
commitfa4600734b74f74d9169c3015946d4722f8bcf79 (patch)
tree486ab1004b79e24d6800c8a87b6f7ab8aa46276f /crypto/tcrypt.c
parent7172122be6a4712d699da4d261f92aa5ab3a78b8 (diff)
downloadlinux-fa4600734b74f74d9169c3015946d4722f8bcf79.tar.gz
linux-fa4600734b74f74d9169c3015946d4722f8bcf79.tar.bz2
linux-fa4600734b74f74d9169c3015946d4722f8bcf79.zip
crypto: cfb - fix decryption
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>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions