Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Stephan Mueller <smueller@chronox.de>
To: herbert@gondor.apana.org.au
Cc: boris.brezillon@free-electrons.com, linux-crypto@vger.kernel.org
Subject: [PATCH v4 2/3] crypto: keywrap - enable compilation
Date: Thu, 15 Oct 2015 09:06:56 +0200	[thread overview]
Message-ID: <5374203.OtdO8SCWcB@myon.chronox.de> (raw)
In-Reply-To: <5314960.0aGFzHXOSP@myon.chronox.de>

Hook keywrap source code into Kconfig and Makefile

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

diff --git a/crypto/Kconfig b/crypto/Kconfig
index fc93444..7240821 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -348,6 +348,13 @@ config CRYPTO_XTS
 	  key size 256, 384 or 512 bits. This implementation currently
 	  can't handle a sectorsize which is not a multiple of 16 bytes.
 
+config CRYPTO_KEYWRAP
+	tristate "Key wrapping support"
+	select CRYPTO_BLKCIPHER
+	help
+	  Support for key wrapping (NIST SP800-38F / RFC3394) without
+	  padding.
+
 comment "Hash modes"
 
 config CRYPTO_CMAC
diff --git a/crypto/Makefile b/crypto/Makefile
index d897e0b..f7aba92 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -70,6 +70,7 @@ obj-$(CONFIG_CRYPTO_CTS) += cts.o
 obj-$(CONFIG_CRYPTO_LRW) += lrw.o
 obj-$(CONFIG_CRYPTO_XTS) += xts.o
 obj-$(CONFIG_CRYPTO_CTR) += ctr.o
+obj-$(CONFIG_CRYPTO_KEYWRAP) += keywrap.o
 obj-$(CONFIG_CRYPTO_GCM) += gcm.o
 obj-$(CONFIG_CRYPTO_CCM) += ccm.o
 obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chacha20poly1305.o
-- 
2.5.0

  parent reply	other threads:[~2015-10-15  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15  7:05 [PATCH v4 0/3] SP800-38F / RFC3394 key wrapping Stephan Mueller
2015-10-15  7:06 ` [PATCH v4 1/3] crypto: add key wrapping block chaining mode Stephan Mueller
2015-10-15  7:06 ` Stephan Mueller [this message]
2015-10-15  7:07 ` [PATCH v4 3/3] crypto: keywrap - add testmgr support Stephan Mueller
2015-10-15  7:11   ` Herbert Xu
2015-10-15  7:13     ` Stephan Mueller
2015-10-15  7:17       ` Herbert Xu
2015-10-15 10:10         ` Stephan Mueller
2015-10-15 10:17           ` Herbert Xu
2015-10-15 13:20 ` [PATCH v4 0/3] SP800-38F / RFC3394 key wrapping Herbert Xu

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=5374203.OtdO8SCWcB@myon.chronox.de \
    --to=smueller@chronox.de \
    --cc=boris.brezillon@free-electrons.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    /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