WSL2-Linux-Kernel/drivers/usb/wusbcore
Ard Biesheuvel ae748b9cf8 wusb: switch to cbcmac transform
The wusb code takes a very peculiar approach at implementing CBC-MAC,
by using plain CBC into a scratch buffer, and taking the output IV
as the MAC.

We can clean up this code substantially by switching to the cbcmac
shash, as exposed by the CCM template. To ensure that the module is
loaded on demand, add the cbcmac template name as a module alias.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-18 08:52:34 +02:00
..
Kconfig wusb: switch to cbcmac transform 2019-06-18 08:52:34 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cbaf.c wusb: Remove unnecessary static function ckhdid_printf 2019-03-01 20:53:41 +01:00
crypto.c wusb: switch to cbcmac transform 2019-06-18 08:52:34 +02:00
dev-sysfs.c wusb: Remove unnecessary static function ckhdid_printf 2019-03-01 20:53:41 +01:00
devconnect.c wusb: Remove unnecessary static function ckhdid_printf 2019-03-01 20:53:41 +01:00
mmc.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
pal.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
reservation.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
rh.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
security.c usb: wusbcore: security: cast sizeof to int for comparison 2018-07-02 18:08:19 +02:00
wa-hc.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
wa-hc.h USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
wa-nep.c USB: wusbcore: remove redundant re-assignment to pointer 'dev' 2018-03-09 09:16:19 -08:00
wa-rpipe.c USB: wusbcore: Switch to bitmap_zalloc() 2018-09-10 20:08:21 +02:00
wa-xfer.c usb: wusbcore: wa-xfer: use struct_size() helper 2019-02-19 14:41:38 +01:00
wusbhc.c wusb: Remove unnecessary static function ckhdid_printf 2019-03-01 20:53:41 +01:00
wusbhc.h USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00