diff options
| author | Kees Cook <[email protected]> | 2018-07-24 09:49:33 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-07-29 10:05:23 +0200 |
| commit | bd757b5d2e0b30939ba63b80af7355fe755fe2da (patch) | |
| tree | dd7e721a39bb60dfcbbf7888ebd6a888d2ab0d02 /tools/perf/scripts/python | |
| parent | bb8a14a3d8203f3af45f84c6169cc09ef56156a3 (diff) | |
staging: rtl8192e: ieee80211: Convert from ahash to shash
This is an identical change to the wireless/lib80211 of the same name.
In preparing to remove all stack VLA usage from the kernel[1], this
removes the discouraged use of AHASH_REQUEST_ON_STACK in favor of
the smaller SHASH_DESC_ON_STACK by converting from ahash-wrapped-shash
to direct shash. By removing a layer of indirection this both improves
performance and reduces stack usage. The stack allocation will be made
a fixed size in a later patch to the crypto subsystem.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions