From: Vitaly Chikunov <vt@altlinux.org>
To: Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
Kate Stewart <kstewart@linuxfoundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Vitaly Chikunov <vt@altlinux.org>,
Philippe Ombredanne <pombredanne@nexb.com>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 0/3] crypto: streebog - add Streebog hash function
Date: Wed, 24 Oct 2018 06:23:48 +0300 [thread overview]
Message-ID: <20181024032356.3388-1-vt@altlinux.org> (raw)
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.
Changes from v2:
- Register hash in Hash Info for use by IMA.
- Add hmac() tests.
Vitaly Chikunov (3):
crypto: streebog - add Streebog hash function
crypto: streebog - register Streebog in hash info for IMA
crypto: streebog - add Streebog test vectors
crypto/Kconfig | 12 +
crypto/Makefile | 1 +
crypto/hash_info.c | 4 +
crypto/streebog_generic.c | 1142 ++++++++++++++++++++++++++++++++++++++++
crypto/tcrypt.c | 35 ++
crypto/testmgr.c | 24 +
crypto/testmgr.h | 114 ++++
include/crypto/hash_info.h | 1 +
include/crypto/streebog.h | 34 ++
include/uapi/linux/hash_info.h | 2 +
10 files changed, 1369 insertions(+)
create mode 100644 crypto/streebog_generic.c
create mode 100644 include/crypto/streebog.h
--
2.11.0
next reply other threads:[~2018-10-24 11:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-24 3:23 Vitaly Chikunov [this message]
2018-10-24 3:23 ` [PATCH v3 1/3] crypto: streebog - add Streebog hash function Vitaly Chikunov
2018-11-05 13:22 ` Ard Biesheuvel
2018-11-05 14:36 ` Vitaly Chikunov
2018-11-05 18:23 ` Vitaly Chikunov
2018-11-05 18:58 ` Ard Biesheuvel
2018-10-24 3:23 ` [PATCH v3 2/3] crypto: streebog - register Streebog in hash info for IMA Vitaly Chikunov
2018-11-05 13:23 ` Ard Biesheuvel
2018-10-24 3:23 ` [PATCH v3 3/3] crypto: streebog - add Streebog test vectors Vitaly Chikunov
2018-11-05 13:24 ` Ard Biesheuvel
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=20181024032356.3388-1-vt@altlinux.org \
--to=vt@altlinux.org \
--cc=davem@davemloft.net \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=kstewart@linuxfoundation.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pombredanne@nexb.com \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.