linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] crypto: streebog - add Streebog hash function
@ 2018-10-10 12:12 Vitaly Chikunov
  2018-10-10 12:12 ` [PATCH v2 1/2] " Vitaly Chikunov
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Vitaly Chikunov @ 2018-10-10 12:12 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, linux-crypto, linux-kernel; +Cc: Vitaly Chikunov

Add GOST/IETF Streebog hash function (GOST R 34.11-2012, RFC 6986)
generic hash transformation with appropriate testmgr and tcrypt
tests and vectors.

Streebog Hash Function (GOST R 34.11-2012, RFC 6986) is one of the Russian
cryptographic standard algorithms (called GOST algorithms).

References:
  https://tc26.ru/upload/iblock/fed/feddbb4d26b685903faa2ba11aea43f6.pdf
  https://tools.ietf.org/html/rfc6986

Tested using testmgr and tcrypt on x86_64, arm, arm64, and s390x on qemu.

Changes from v1:
- Fix of big-endian problem in add512.
- More architectures are tested, including big-endian and 32-bit.

Vitaly Chikunov (2):
  crypto: streebog - add Streebog hash function
  crypto: streebog - add Streebog test vectors

 crypto/Kconfig            |   12 +
 crypto/Makefile           |    1 +
 crypto/streebog_generic.c | 1142 +++++++++++++++++++++++++++++++++++++++++++++
 crypto/tcrypt.c           |   27 ++
 crypto/testmgr.c          |   12 +
 crypto/testmgr.h          |   71 +++
 include/crypto/streebog.h |   34 ++
 7 files changed, 1299 insertions(+)
 create mode 100644 crypto/streebog_generic.c
 create mode 100644 include/crypto/streebog.h

-- 
2.11.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-11-05 13:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-10 12:12 [PATCH v2 0/2] crypto: streebog - add Streebog hash function Vitaly Chikunov
2018-10-10 12:12 ` [PATCH v2 1/2] " Vitaly Chikunov
2018-10-16 21:41   ` Vitaly Chikunov
2018-10-10 12:12 ` [PATCH v2 2/2] crypto: streebog - add Streebog test vectors Vitaly Chikunov
2018-10-16 21:33   ` Vitaly Chikunov
2018-10-12  6:16 ` [PATCH v2 0/2] crypto: streebog - add Streebog hash function Herbert Xu
2018-10-12  6:41   ` Vitaly Chikunov
2018-10-17  6:08     ` Herbert Xu
2018-11-03  5:51       ` Vitaly Chikunov
2018-11-05 12:48         ` Mimi Zohar
2018-11-05 12:55           ` Vitaly Chikunov
2018-11-05 13:01             ` Mimi Zohar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).