aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zinc/Kconfig
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-08-07 10:20:44 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-22 00:50:54 -0600
commitecb2210929dd54413a345ab4500c5af4615130b3 (patch)
tree3e2901537ffe99ca536eb3aa3f4ecb9372673d23 /lib/zinc/Kconfig
parentzinc: Poly1305 MIPS64 and MIPS32r2 implementations (diff)
downloadlinux-dev-ecb2210929dd54413a345ab4500c5af4615130b3.tar.xz
linux-dev-ecb2210929dd54413a345ab4500c5af4615130b3.zip
zinc: ChaCha20Poly1305 construction and selftest
This is an implementation of the ChaCha20Poly1305 AEAD, with an easy API for encrypting either contiguous buffers or scatter gather lists (such as those created from skb_to_sgvec). Information: https://tools.ietf.org/html/rfc8439 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Cc: Samuel Neves <sneves@dei.uc.pt> Cc: Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: kernel-hardening@lists.openwall.com Cc: linux-crypto@vger.kernel.org
Diffstat (limited to 'lib/zinc/Kconfig')
-rw-r--r--lib/zinc/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zinc/Kconfig b/lib/zinc/Kconfig
index 88e57dc5865b..e6483dab8a37 100644
--- a/lib/zinc/Kconfig
+++ b/lib/zinc/Kconfig
@@ -5,6 +5,12 @@ config ZINC_CHACHA20
config ZINC_POLY1305
tristate
+config ZINC_CHACHA20POLY1305
+ tristate
+ select ZINC_CHACHA20
+ select ZINC_POLY1305
+ select CRYPTO_BLKCIPHER
+
config ZINC_SELFTEST
bool "Zinc cryptography library self-tests"
default y