WSL2-Linux-Kernel/arch/s390/crypto
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
aes_s390.c crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations 2018-11-20 14:26:55 +08:00
arch_random.c s390/archrandom: Rework arch random implementation. 2018-05-30 11:18:04 +02:00
crc32-vx.c crypto: hash - annotate algorithms taking optional key 2018-01-12 23:03:35 +11:00
crc32be-vx.S s390/crc32-vx: use expoline for indirect branches 2018-05-07 09:07:34 +02:00
crc32le-vx.S s390/crc32-vx: use expoline for indirect branches 2018-05-07 09:07:34 +02:00
des_s390.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
ghash_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
paes_s390.c s390/crypto: Enhance paes cipher to accept variable length key material 2018-10-10 07:37:20 +02:00
prng.c s390: crypto: add SPDX identifiers to the remaining files 2017-11-24 15:37:14 +01:00
sha.h s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
sha1_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha256_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha512_s390.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
sha_common.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00