summaryrefslogtreecommitdiff
path: root/crypto/ccm.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-01-16 14:40:54 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2009-01-27 17:11:13 +1100
commitc56b7a886d3b82d36c62f4f62a2684516663b83c (patch)
tree32ef8de0c2531363429d0016720135dedf8a4f1f /crypto/ccm.c
parentd7ddde82c6d0cf9c5fa91f39038f76fbac70c20c (diff)
downloadlinux-crypto-c56b7a886d3b82d36c62f4f62a2684516663b83c.tar.gz
linux-crypto-c56b7a886d3b82d36c62f4f62a2684516663b83c.zip
crypto: blkcipher - Fix WARN_ON handling in walk_done
When we get left-over bits from a slow walk, it means that the underlying cipher has gone troppo. However, as we're handling that case we should ensure that the caller terminates the walk. This patch does this by setting walk->nbytes to zero. Reported-by: Roel Kluin <roel.kluin@gmail.com> Reported-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions