Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Stephan Mueller <smueller@chronox.de>
To: herbert@gondor.apana.org.au
Cc: tadeusz.struk@intel.com, linux-crypto@vger.kernel.org
Subject: [PATCH 3/3] crypto: algif_akcipher - enable compilation
Date: Wed, 22 Jul 2015 00:13:39 +0200	[thread overview]
Message-ID: <13692732.LcDMk6zc2n@tachyon.chronox.de> (raw)
In-Reply-To: <3908391.JkjAozYBaW@tachyon.chronox.de>

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>
---
 crypto/Kconfig  | 9 +++++++++
 crypto/Makefile | 1 +
 2 files changed, 10 insertions(+)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 354bb69..d12ecc5 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1623,6 +1623,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 a16a7e7..64823ab 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -116,6 +116,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
-- 
2.4.3

  parent reply	other threads:[~2015-07-21 22:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-21 22:12 [PATCH 0/3] AF_ALG interface for akcipher Stephan Mueller
2015-07-21 22:12 ` [PATCH 1/3] crypto: af_alg - add sig gen / verify API Stephan Mueller
2015-07-21 22:13 ` [PATCH 2/3] crypto: algif_akcipher user space interface Stephan Mueller
2015-07-22 16:01   ` Tadeusz Struk
2015-07-22 18:55     ` Stephan Mueller
2015-07-22 22:04       ` Tadeusz Struk
2015-07-22 22:29         ` Stephan Mueller
2015-07-21 22:13 ` Stephan Mueller [this message]
2015-07-22  1:32 ` [PATCH 0/3] AF_ALG interface for akcipher Herbert Xu
2015-07-22  4:19   ` Tadeusz Struk
2015-07-22  4:21     ` Herbert Xu
2015-07-22 11:58     ` Horia Geantă
2015-07-23  1:53       ` Herbert Xu
2015-07-23  5:14         ` Tadeusz Struk
2015-07-23  5:19           ` Herbert Xu
2015-07-23 10:16           ` Stephan Mueller
2015-07-22  7:14   ` Stephan Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13692732.LcDMk6zc2n@tachyon.chronox.de \
    --to=smueller@chronox.de \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=tadeusz.struk@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox