diff mbox

[v8,4/4] crypto: algif_akcipher - enable compilation

Message ID 2936451.27GRxPPosH@positron.chronox.de (mailing list archive)
State RFC
Delegated to: Herbert Xu
Headers show

Commit Message

Stephan Mueller Aug. 10, 2017, 6:40 a.m. UTC
Add the Makefile and Kconfig updates to allow algif_akcipher to be
compiled.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
---
 crypto/Kconfig  | 9 +++++++++
 crypto/Makefile | 1 +
 2 files changed, 10 insertions(+)

Comments

Tudor Ambarus Aug. 11, 2017, 12:56 p.m. UTC | #1
Hi, Stephan,

On 08/10/2017 09:40 AM, Stephan Müller wrote:
> Add the Makefile and Kconfig updates to allow algif_akcipher to be
> compiled.
> 
> Signed-off-by: Stephan Mueller<smueller@chronox.de>
> ---
>   crypto/Kconfig  | 9 +++++++++
>   crypto/Makefile | 1 +
>   2 files changed, 10 insertions(+)

Any reason why you keep this patch separately?
I think you can squash this patch with patch 3/4.

Cheers,
ta
Stephan Mueller Aug. 11, 2017, 1:03 p.m. UTC | #2
Am Freitag, 11. August 2017, 14:56:18 CEST schrieb Tudor Ambarus:

Hi Tudor,

> Any reason why you keep this patch separately?
> I think you can squash this patch with patch 3/4.

There is no real reason. If you think it makes sense to add it to patch 3, I 
will do that.

Thanks.


Ciao
Stephan
diff mbox

Patch

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 0a121f9ddf8e..fdcec68545f3 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1760,6 +1760,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 d41f0331b085..12dbf2c5fe7c 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -133,6 +133,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
 
 ecdh_generic-y := ecc.o
 ecdh_generic-y += ecdh.o