diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-16 06:52:26 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-07-24 10:17:20 +0300 |
commit | d17504b16ea270ad858ce117447a8f4aa5a2de73 (patch) | |
tree | 95fb37d94452243c2674395b56f0110bf44ed394 /net/mac80211/fils_aead.c | |
parent | 518ea3c54eb7e454b718a50aa35bc5ea7856aa20 (diff) | |
download | linux-d17504b16ea270ad858ce117447a8f4aa5a2de73.tar.xz |
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/fils_aead.c')
0 files changed, 0 insertions, 0 deletions