diff options
author | Nicolai Stange <nstange@suse.de> | 2022-02-21 13:10:56 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-03-03 10:47:51 +1200 |
commit | 27625018cb3f2f91ac81c7eb5bfa6f3f88f93d8a (patch) | |
tree | dc7d061a8a2f49ed59ef8a72160edc9b3bc306b2 /crypto/algif_hash.c | |
parent | 0ed336225f7d1f6fa7ae7c0dbdf951f4afb1238c (diff) | |
download | linux-crypto-27625018cb3f2f91ac81c7eb5bfa6f3f88f93d8a.tar.gz linux-crypto-27625018cb3f2f91ac81c7eb5bfa6f3f88f93d8a.zip |
crypto: testmgr - add keygen tests for ffdheXYZ(dh) templates
Now that the ffdheXYZ(dh) templates support ephemeral key generation, add
->keygen = 1 TVs for each of them to the testmgr.c.
In order to facilitate string merging by the compiler, set party B's secret
and public keys to the ones specified for party A in the respective
existing known answer test. With GCC 7.5 on x86_64, this leads to an
increase of testmgr.o size by less than half a kB.
Signed-off-by: Nicolai Stange <nstange@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions