summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2018-03-19 09:21:13 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-31 01:32:42 +0800
commitb869648c060fbb00bf6578d13cbe83e6f85914bc (patch)
tree56c77e43aee7dd8737cb9b910f39bf12b18aac74 /tools/perf/scripts/python
parente9acf05255cbf72dc32169957d2895cbfd12c7e1 (diff)
crypto: inside-secure - move the digest to the request context
This patches moves the digest information from the transformation context to the request context. This fixes cases where HMAC init functions were called and override the digest value for a short period of time, as the HMAC init functions call the SHA init one which reset the value. This lead to a small percentage of HMAC being incorrectly computed under heavy load. Fixes: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver") Suggested-by: Ofer Heifetz <oferh@marvell.com> Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> [Ofer here did all the work, from seeing the issue to understanding the root cause. I only made the patch.] Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions