summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-09-07 13:42:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-30 11:18:34 +0300
commit2426cdb3f4a33704f1a8f9ee167f82ef5be516ba (patch)
tree7a318092ca3d039669b083801bba4e986d32e875 /fs
parent1c95a8a481efa5716b847b75f9c8b26f65844362 (diff)
downloadlinux-2426cdb3f4a33704f1a8f9ee167f82ef5be516ba.tar.xz
crypto: echainiv - Replace chaining with multiplication
commit 53a5d5ddccf849dbc27a8c1bba0b43c3a45fb792 upstream. The current implementation uses a global per-cpu array to store data which are used to derive the next IV. This is insecure as the attacker may change the stored data. This patch removes all traces of chaining and replaces it with multiplication of the salt and the sequence number. Fixes: a10f554fa7e0 ("crypto: echainiv - Add encrypted chain IV...") Reported-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions