From: Jianchuan Wang <jianchuan.w...@windriver.com> Hook cryptodev-linux into the kernel build as a tristate option.
Signed-off-by: Bruce Ashfield <bruce.ashfi...@windriver.com> Signed-off-by: Jianchuan Wang <jianchuan.w...@windriver.com> --- crypto/Kconfig | 8 ++++++++ crypto/Makefile | 1 + 2 files changed, 9 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 362905e..3a1d0fa 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -21,6 +21,14 @@ if CRYPTO comment "Crypto core or helper" +config CRYPTODEV + tristate "cryptodev module support" + help + This is a /dev/crypto device driver, equivalent to those in OpenBSD or + FreeBSD. The main idea is to access of existing ciphers in kernel space + from userspace, thus enabling re-use of a hardware implementation of a + cipher. + config CRYPTO_FIPS bool "FIPS 200 compliance" depends on (CRYPTO_ANSI_CPRNG || CRYPTO_DRBG) && !CRYPTO_MANAGER_DISABLE_TESTS diff --git a/crypto/Makefile b/crypto/Makefile index 97b7d3a..a39ac416 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -110,3 +110,4 @@ obj-$(CONFIG_ASYNC_CORE) += async_tx/ obj-$(CONFIG_ASYMMETRIC_KEY_TYPE) += asymmetric_keys/ obj-$(CONFIG_CRYPTO_HASH_INFO) += hash_info.o obj-$(CONFIG_CRYPTO_ABLK_HELPER) += ablk_helper.o +obj-$(CONFIG_CRYPTODEV) += ../drivers/staging/crypto/cryptodev/ -- 1.9.1 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto