linux_dsm_epyc7002/drivers/crypto/ux500/cryp
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
..
cryp_core.c crypto: clarify name of WEAK_KEY request flag 2019-01-25 18:41:52 +08:00
cryp_irq.c crypto: ux500 - Add driver for CRYP hardware 2012-05-04 19:04:51 +10:00
cryp_irq.h crypto: ux500 - Add driver for CRYP hardware 2012-05-04 19:04:51 +10:00
cryp_irqp.h crypto: ux500 - Add driver for CRYP hardware 2012-05-04 19:04:51 +10:00
cryp_p.h crypto: ux500 - Cleanup hardware identification 2012-05-15 17:25:33 +10:00
cryp.c scripts/spelling.txt: add "disble(d)" pattern and fix typo instances 2017-03-09 17:01:09 -08:00
cryp.h crypto: ux500/cryp - Set DMA configuration though dma_slave_config() 2013-05-23 21:14:17 +02:00
Makefile crypto: ux500 - do not build with -O0 2016-06-28 16:06:33 +08:00