aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-08-02 03:20:08 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-08-28 07:14:06 +0200
commitdbdc61a5eef469d4261ad96d7516c0ab91111bb4 (patch)
treeca3d53cba319faf3e6cda59b17de8e94d1523cc0
parent254c0aa3c54101656d2ac0c20ca37952cb6011aa (diff)
downloadktls-dbdc61a5eef469d4261ad96d7516c0ab91111bb4.tar.gz
crypto: algif_akcipher - enable compilation
Add the Makefile and Kconfig updates to allow algif_akcipher to be compiled. CC: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r--crypto/Kconfig9
-rw-r--r--crypto/Makefile1
2 files changed, 10 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 48ee3e175dac2..79b9dd766a894 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1630,6 +1630,15 @@ config CRYPTO_USER_API_AEAD
This option enables the user-spaces interface for AEAD
cipher algorithms.
+config CRYPTO_USER_API_AKCIPHER
+ tristate "User-space interface for asymmetric key cipher algorithms"
+ depends on NET
+ select CRYPTO_AKCIPHER2
+ select CRYPTO_USER_API
+ help
+ This option enables the user-spaces interface for asymmetric
+ key cipher algorithms.
+
config CRYPTO_HASH_INFO
bool
diff --git a/crypto/Makefile b/crypto/Makefile
index e2c59819b236f..3cc91c3301c7c 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -117,6 +117,7 @@ obj-$(CONFIG_CRYPTO_USER_API_HASH) += algif_hash.o
obj-$(CONFIG_CRYPTO_USER_API_SKCIPHER) += algif_skcipher.o
obj-$(CONFIG_CRYPTO_USER_API_RNG) += algif_rng.o
obj-$(CONFIG_CRYPTO_USER_API_AEAD) += algif_aead.o
+obj-$(CONFIG_CRYPTO_USER_API_AKCIPHER) += algif_akcipher.o
#
# generic algorithms and the async_tx api