OpenCloudOS-Kernel/drivers/crypto/qce
Eric Biggers 231baecdef crypto: clarify name of WEAK_KEY request flag
CRYPTO_TFM_REQ_WEAK_KEY confuses newcomers to the crypto API because it
sounds like it is requesting a weak key.  Actually, it is requesting
that weak keys be forbidden (for algorithms that have the notion of
"weak keys"; currently only DES and XTS do).

Also it is only one letter away from CRYPTO_TFM_RES_WEAK_KEY, with which
it can be easily confused.  (This in fact happened in the UX500 driver,
though just in some debugging messages.)

Therefore, make the intent clear by renaming it to
CRYPTO_TFM_REQ_FORBID_WEAK_KEYS.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-01-25 18:41:52 +08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ablkcipher.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
cipher.h crypto: qce - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
common.c crypto: qce - fix sparse warnings 2014-07-08 21:18:21 +08:00
common.h crypto: qce - fix sparse warnings 2014-07-08 21:18:21 +08:00
core.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
core.h crypto: qce - Qualcomm crypto engine driver 2014-07-03 21:40:27 +08:00
dma.c crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00
dma.h crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00
regs-v5.h crypto: qce - Qualcomm crypto engine driver 2014-07-03 21:40:27 +08:00
sha.c crypto: remove useless initializations of cra_list 2018-11-20 14:26:55 +08:00
sha.h crypto: qce - dma_map_sg can handle chained SG 2015-10-08 21:42:19 +08:00