diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-09-06 14:49:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-06 14:49:44 -0700 |
commit | 0a3c6691706e6cc59bd6b9725424a71061705cc6 (patch) | |
tree | 9b1f4e72d2c5f3763bd226757a091338d28d54c7 /crypto/tcrypt.h | |
parent | 09866cf53e2989fee32d397c870a2d7a64b8a94c (diff) | |
download | linux-crypto-0a3c6691706e6cc59bd6b9725424a71061705cc6.tar.gz linux-crypto-0a3c6691706e6cc59bd6b9725424a71061705cc6.zip |
[CRYPTO] Fix boundary check in standard multi-block cipher processors
The boundary check in the standard multi-block cipher processors are
broken when nbytes is not a multiple of bsize. In those cases it will
always process an extra block.
This patch corrects the check so that it processes at most nbytes of
data.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/tcrypt.h')
0 files changed, 0 insertions, 0 deletions