summaryrefslogtreecommitdiff
path: root/drivers/crypto/inside-secure/safexcel.h
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2019-05-27 17:51:02 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-06-06 09:38:56 +0300
commitccd65a206a5025cf953a2e4f37e894921b131a5c (patch)
tree9f8f517c33417f1422172422eedc3e2a32e45201 /drivers/crypto/inside-secure/safexcel.h
parentb926213d6fede9c9427d7c12eaf7d9f0895deb4e (diff)
downloadlinux-ccd65a206a5025cf953a2e4f37e894921b131a5c.tar.xz
crypto: inside-secure - fix queued len computation
This patch fixes the queued len computation, which could theoretically be wrong if req->len[1] - req->processed[1] > 1. Be future-proof here, and fix it. Fixes: b460edb6230a ("crypto: inside-secure - sha512 support") Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel.h')
0 files changed, 0 insertions, 0 deletions