aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zinc/Kconfig
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-08-07 10:23:21 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-22 00:50:54 -0600
commit3da2d1e96a451bbd8d7469357c840922e26e2d9e (patch)
tree107bd7c67ddd5f98f2726e576975fb0b701812bc /lib/zinc/Kconfig
parentzinc: ChaCha20Poly1305 construction and selftest (diff)
downloadlinux-dev-3da2d1e96a451bbd8d7469357c840922e26e2d9e.tar.xz
linux-dev-3da2d1e96a451bbd8d7469357c840922e26e2d9e.zip
zinc: BLAKE2s generic C implementation and selftest
The C implementation was originally based on Samuel Neves' public domain reference implementation but has since been heavily modified for the kernel. We're able to do compile-time optimizations by moving some scaffolding around the final function into the header file. Information: https://blake2.net/ Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Samuel Neves <sneves@dei.uc.pt> Co-developed-by: 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/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zinc/Kconfig b/lib/zinc/Kconfig
index e6483dab8a37..4239eeea4121 100644
--- a/lib/zinc/Kconfig
+++ b/lib/zinc/Kconfig
@@ -11,6 +11,9 @@ config ZINC_CHACHA20POLY1305
select ZINC_POLY1305
select CRYPTO_BLKCIPHER
+config ZINC_BLAKE2S
+ tristate
+
config ZINC_SELFTEST
bool "Zinc cryptography library self-tests"
default y