Re: [PATCH v2 0/2] crypto: streebog - add Streebog hash function

From: Vitaly Chikunov
Date: Fri Oct 12 2018 - 02:41:11 EST


On Fri, Oct 12, 2018 at 02:16:59PM +0800, Herbert Xu wrote:
> On Wed, Oct 10, 2018 at 03:12:50PM +0300, Vitaly Chikunov wrote:
> > 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.
>
> We don't add algorithms purely used by user-space.
>
> So please clarify who is going to be using this algorithm *within*
> the kernel.

It is the first part of attempts to add to the Integrity subsystem
ability of verifying file and module signatures by Russian GOST
algorithms.

Thanks,