mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
596103cf8f
This patch fixes a number of problems in crypto driver Kconfig entries: 1. Select BLKCIPHER instead of BLKCIPHER2. The latter is internal and should not be used outside of the crypto API itself. 2. Do not select ALGAPI unless you use a legacy type like CRYPTO_ALG_TYPE_CIPHER. 3. Select the algorithm type that you are implementing, e.g., AEAD. 4. Do not select generic C code such as CBC/ECB unless you use them as a fallback. 5. Remove default n since that is the default default. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
31 lines
1021 B
Plaintext
31 lines
1021 B
Plaintext
#
|
|
# Copyright (C) ST-Ericsson SA 2010
|
|
# Author: Shujuan Chen (shujuan.chen@stericsson.com)
|
|
# License terms: GNU General Public License (GPL) version 2
|
|
#
|
|
|
|
config CRYPTO_DEV_UX500_CRYP
|
|
tristate "UX500 crypto driver for CRYP block"
|
|
depends on CRYPTO_DEV_UX500
|
|
select CRYPTO_ALGAPI
|
|
select CRYPTO_BLKCIPHER
|
|
select CRYPTO_DES
|
|
help
|
|
This selects the crypto driver for the UX500_CRYP hardware. It supports
|
|
AES-ECB, CBC and CTR with keys sizes of 128, 192 and 256 bit sizes.
|
|
|
|
config CRYPTO_DEV_UX500_HASH
|
|
tristate "UX500 crypto driver for HASH block"
|
|
depends on CRYPTO_DEV_UX500
|
|
select CRYPTO_HASH
|
|
help
|
|
This selects the hash driver for the UX500_HASH hardware.
|
|
Depends on UX500/STM DMA if running in DMA mode.
|
|
|
|
config CRYPTO_DEV_UX500_DEBUG
|
|
bool "Activate ux500 platform debug-mode for crypto and hash block"
|
|
depends on CRYPTO_DEV_UX500_CRYP || CRYPTO_DEV_UX500_HASH
|
|
help
|
|
Say Y if you want to add debug prints to ux500_hash and
|
|
ux500_cryp devices.
|