OpenCloudOS-Kernel/drivers/usb/wusbcore
Eric Biggers 1ad0f1603a crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations
'cipher' algorithms (single block ciphers) are always synchronous, so
passing CRYPTO_ALG_ASYNC in the mask to crypto_alloc_cipher() has no
effect.  Many users therefore already don't pass it, but some still do.
This inconsistency can cause confusion, especially since the way the
'mask' argument works is somewhat counterintuitive.

Thus, just remove the unneeded CRYPTO_ALG_ASYNC flags.

This patch shouldn't change any actual behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-11-20 14:26:55 +08:00
..
Kconfig usb: wusbcore: USB_WUSB_CBAF depends on USB 2014-09-23 22:06:33 -07: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 USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
crypto.c crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations 2018-11-20 14:26:55 +08:00
dev-sysfs.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
devconnect.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +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: remove excessive irqsave 2018-06-28 19:36:06 +09:00
wusbhc.c USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00
wusbhc.h USB: wusbcore: Remove redundant license text 2017-11-07 15:45:01 +01:00