diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-16 05:52:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-07-24 09:17:20 +0200 |
commit | d17504b16ea270ad858ce117447a8f4aa5a2de73 (patch) | |
tree | 95fb37d94452243c2674395b56f0110bf44ed394 /net/mac80211/key.c | |
parent | mac80211_hwsim: Add support for HE (diff) | |
download | linux-d17504b16ea270ad858ce117447a8f4aa5a2de73.tar.xz linux-d17504b16ea270ad858ce117447a8f4aa5a2de73.zip |
wireless/lib80211: Convert from ahash to shash
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. 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 <keescook@chromium.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/key.c')
0 files changed, 0 insertions, 0 deletions