提交 209b7fc9 编写于 作者: N Nicolai Stange 提交者: Herbert Xu

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: NNicolai Stange <nstange@suse.de>
Reviewed-by: NHannes Reinecke <hare@suse.de>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 1e207964
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册