diff options
| author | Dave Watson <davejwatson@fb.com> | 2018-02-14 20:40:10 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-22 17:16:49 +0300 |
| commit | 1476db2d129d5e4fc59e93a7abd22edcb26b52f5 (patch) | |
| tree | 018bc9513af4cb8d5bce210ca869c2a7c8d23a02 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | e2e34b0856463727292498d756308cba957fe477 (diff) | |
| download | linux-1476db2d129d5e4fc59e93a7abd22edcb26b52f5.tar.xz | |
crypto: aesni - Move HashKey computation from stack to gcm_context
HashKey computation only needs to happen once per scatter/gather operation,
save it between calls in gcm_context struct instead of on the stack.
Since the asm no longer stores anything on the stack, we can use
%rsp directly, and clean up the frame save/restore macros a bit.
Hashkeys actually only need to be calculated once per key and could
be moved to when set_key is called, however, the current glue code
falls back to generic aes code if fpu is disabled.
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
