summaryrefslogtreecommitdiff
path: root/crypto/blkcipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-09-07 18:42:08 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-13 18:44:57 +0800
commit86d76f2320e4307caa9640b7348e2cbeb87fef2f (patch)
treee1ef8f790eca01a9f0d2d333944bbf0bfe637468 /crypto/blkcipher.c
parent7f0418bc43901fd40cc66244bcbdb2f0ee1cfa54 (diff)
downloadlinux-crypto-86d76f2320e4307caa9640b7348e2cbeb87fef2f.tar.gz
linux-crypto-86d76f2320e4307caa9640b7348e2cbeb87fef2f.zip
crypto: echainiv - Replace chaining with multiplication
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: 14a21b9e58a5 ("crypto: echainiv - Add encrypted chain IV...") Cc: stable@vger.kernel.org Reported-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions