crypto: testmgr - update sm4 test vectors
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 20 Sep 2018 13:18:38 +0000 (14:18 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Sep 2018 04:46:26 +0000 (12:46 +0800)
commit95ba597367ddc26c1062c7ee9697c9aee53d04d0
tree743244506ea01e21e1397ce2ebdb6eafa919f0f0
parentce1294d981c1467c13b2b698913f35859592308b
crypto: testmgr - update sm4 test vectors

Add additional test vectors from "The SM4 Blockcipher Algorithm And Its
Modes Of Operations" draft-ribose-cfrg-sm4-10 and register cipher speed
tests for sm4.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c
crypto/tcrypt.h
crypto/testmgr.c
crypto/testmgr.h