Skip to content

Commit

Permalink
crypto: testmgr - add keygen tests for ffdheXYZ(dh) templates
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolai Stange authored and Herbert Xu committed Mar 2, 2022
1 parent 1e20796 commit 209b7fc
Showing 1 changed file with 568 additions and 10 deletions.
Loading

0 comments on commit 209b7fc

Please sign in to comment.