]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sm2 - add SM2 test vectors to testmgr
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Sun, 20 Sep 2020 16:21:00 +0000 (00:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Sep 2020 07:48:54 +0000 (17:48 +1000)
commite58c16af7c433a92be0a991fafec47e4a2a68dc0
tree983045f62a00c9e65dee97fec910f41e976c0483
parent6430b7185d8faccf6c8ee888cbb430379f8ea129
crypto: sm2 - add SM2 test vectors to testmgr

Add testmgr test vectors for SM2 algorithm. These vectors come
from `openssl pkeyutl -sign` and libgcrypt.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Tested-by: Xufeng Zhang <yunbo.xufeng@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/testmgr.h