On 15-11-04 09:21 PM, [email protected] wrote:
From: Jianchuan Wang <[email protected]>

Hook cryptodev-linux into the kernel build as a tristate option.

merged!

Bruce


Signed-off-by: Bruce Ashfield <[email protected]>
Signed-off-by: Jianchuan Wang <[email protected]>
---
  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/


--
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to