powerpc/crypto: rework Kconfig
This patch creates a new submenu for the NX cryptographic hardware accelerator and breaks the NX options into their own Kconfig file under drivers/crypto/nx/Kconfig. This will permit additional NX functionality to be easily and more cleanly added in the future without touching drivers/crypto/Makefile|Kconfig. Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Цей коміт міститься в:
17
drivers/crypto/nx/Kconfig
Звичайний файл
17
drivers/crypto/nx/Kconfig
Звичайний файл
@@ -0,0 +1,17 @@
|
||||
config CRYPTO_DEV_NX_ENCRYPT
|
||||
tristate "Encryption acceleration support"
|
||||
depends on PPC64 && IBMVIO
|
||||
default y
|
||||
select CRYPTO_AES
|
||||
select CRYPTO_CBC
|
||||
select CRYPTO_ECB
|
||||
select CRYPTO_CCM
|
||||
select CRYPTO_GCM
|
||||
select CRYPTO_AUTHENC
|
||||
select CRYPTO_XCBC
|
||||
select CRYPTO_SHA256
|
||||
select CRYPTO_SHA512
|
||||
help
|
||||
Support for Power7+ in-Nest encryption acceleration. This
|
||||
module supports acceleration for AES and SHA2 algorithms. If you
|
||||
choose 'M' here, this module will be called nx_crypto.
|
@@ -1,4 +1,4 @@
|
||||
obj-$(CONFIG_CRYPTO_DEV_NX) += nx-crypto.o
|
||||
obj-$(CONFIG_CRYPTO_DEV_NX_ENCRYPT) += nx-crypto.o
|
||||
nx-crypto-objs := nx.o \
|
||||
nx_debugfs.o \
|
||||
nx-aes-cbc.o \
|
||||
|
Посилання в новій задачі
Заблокувати користувача