crypto: streebog - add Streebog test vectors
authorVitaly Chikunov <vt@altlinux.org>
Tue, 6 Nov 2018 21:00:03 +0000 (00:00 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Nov 2018 06:11:02 +0000 (14:11 +0800)
commit25a0b9d4e512ea04d80c84bd5e3b9e2722b92ec1
tree74d6eebe27f0fcda43f4d08e7aab33327b7c004f
parentdfdda82e3b84c13601be09f8351ec4f15a4fbe03
crypto: streebog - add Streebog test vectors

Add testmgr and tcrypt tests and vectors for Streebog hash function
from RFC 6986 and GOST R 34.11-2012, for HMAC-Streebog vectors are
from RFC 7836 and R 50.1.113-2016.

Cc: linux-integrity@vger.kernel.org
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c
crypto/testmgr.c
crypto/testmgr.h