aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/Kconfig8
-rw-r--r--crypto/Makefile1
2 files changed, 9 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 84d71482bf08..5d0c9e1746a3 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 99cc64ac70ef..c8583620158d 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -138,3 +138,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/