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> |
||
|---|---|---|
| .. | ||
| rtl8192e | ||
| dot11d.c | ||
| dot11d.h | ||
| Kconfig | ||
| license | ||
| Makefile | ||
| rtl819x_BA.h | ||
| rtl819x_BAProc.c | ||
| rtl819x_HT.h | ||
| rtl819x_HTProc.c | ||
| rtl819x_Qos.h | ||
| rtl819x_TS.h | ||
| rtl819x_TSProc.c | ||
| rtllib_crypt_ccmp.c | ||
| rtllib_crypt_tkip.c | ||
| rtllib_crypt_wep.c | ||
| rtllib_debug.h | ||
| rtllib_module.c | ||
| rtllib_rx.c | ||
| rtllib_softmac_wx.c | ||
| rtllib_softmac.c | ||
| rtllib_tx.c | ||
| rtllib_wx.c | ||
| rtllib.h | ||
| TODO | ||