summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2019-04-18 10:17:34 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-04-25 15:38:12 +0800
commitf87391558acf816b48f325a493d81d45dec40da0 (patch)
tree4afdcaad4a70ddcadf78d24445e4d6e3169d2d13 /crypto
parent179930a62f3182eb384ae1e4d1ad47e97f6f5e90 (diff)
crypto: sun4i-ss - Fix invalid calculation of hash end
When nbytes < 4, end is wronlgy set to a negative value which, due to uint, is then interpreted to a large value leading to a deadlock in the following code. This patch fix this problem. Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions