diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2019-04-11 18:51:21 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-18 22:15:02 +0800 |
commit | e5f81538870b9875a403c77bc9ca48ed1f1bb0f2 (patch) | |
tree | 022e278cbd06f801e30ad9f164740e72bf195264 /crypto/testmgr.c | |
parent | 223475c353b6d636b86fbc6b328fbd2dd8ef88a7 (diff) | |
download | linux-crypto-e5f81538870b9875a403c77bc9ca48ed1f1bb0f2.tar.gz linux-crypto-e5f81538870b9875a403c77bc9ca48ed1f1bb0f2.zip |
crypto: ecrdsa - add EC-RDSA test vectors to testmgr
Add testmgr test vectors for EC-RDSA algorithm for every of five
supported parameters (curves). Because there are no officially published
test vectors for the curves, the vectors are generated by gost-engine.
Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index bc382b0c..3e16be68 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -3476,6 +3476,12 @@ static const struct alg_test_desc alg_test_descs[] = { .kpp = __VECS(ecdh_tv_template) } }, { + .alg = "ecrdsa", + .test = alg_test_akcipher, + .suite = { + .akcipher = __VECS(ecrdsa_tv_template) + } + }, { .alg = "gcm(aes)", .test = alg_test_aead, .fips_allowed = 1, |