alistair23-linux/drivers/staging/rtl8192e
Kees Cook bd757b5d2e 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 <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-29 10:05:23 +02:00
..
rtl8192e
dot11d.c
dot11d.h
Kconfig
license
Makefile
rtl819x_BA.h
rtl819x_BAProc.c Staging:rtl8192e Cleanup comparison to NULL 2018-06-26 11:47:29 +08:00
rtl819x_HT.h
rtl819x_HTProc.c
rtl819x_Qos.h
rtl819x_TS.h
rtl819x_TSProc.c
rtllib.h
rtllib_crypt_ccmp.c
rtllib_crypt_tkip.c staging: rtl8192e: ieee80211: Convert from ahash to shash 2018-07-29 10:05:23 +02:00
rtllib_crypt_wep.c
rtllib_debug.h
rtllib_module.c
rtllib_rx.c
rtllib_softmac.c
rtllib_softmac_wx.c
rtllib_tx.c
rtllib_wx.c
TODO