[PATCH 1/3] Add GOST 28147-89 generic implementation

Wartan Hachaturow wart at debian.org
Thu Nov 2 13:31:24 MSK 2017


Defaults to TK26-Z sboxes for now.
---
 crypto/Kconfig  | 7 +++++++
 crypto/Makefile | 1 +
 2 files changed, 8 insertions(+)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 0a121f9ddf8e..401394253b28 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1612,6 +1612,13 @@ config CRYPTO_TWOFISH_AVX_X86_64
 	  See also:
 	  <http://www.schneier.com/twofish.html>
 
+config CRYPTO_GOST28147
+	tristate "GOST28147-89 (Magma) cipher algorithm"
+	select CRYPTO_ALGAPI
+	help
+	  Russian GOST28147-89 (Magma) cipher alogrithm.
+	  See <http://www.tc26.ru/> for more information.
+
 comment "Compression"
 
 config CRYPTO_DEFLATE
diff --git a/crypto/Makefile b/crypto/Makefile
index d41f0331b085..d7e5dd0041ca 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -109,6 +109,7 @@ obj-$(CONFIG_CRYPTO_ANUBIS) += anubis.o
 obj-$(CONFIG_CRYPTO_SEED) += seed.o
 obj-$(CONFIG_CRYPTO_SALSA20) += salsa20_generic.o
 obj-$(CONFIG_CRYPTO_CHACHA20) += chacha20_generic.o
+obj-$(CONFIG_CRYPTO_GOST28147) += gost28147_generic.o
 obj-$(CONFIG_CRYPTO_POLY1305) += poly1305_generic.o
 obj-$(CONFIG_CRYPTO_DEFLATE) += deflate.o
 obj-$(CONFIG_CRYPTO_MICHAEL_MIC) += michael_mic.o
-- 
2.19.0.rc2


--=-=-=--


More information about the oss-gost-crypto mailing list