]> git.ipfire.org Git - thirdparty/openssl.git/commit
[test][15-test_genec] Improve EC tests with genpkey
authorNicola Tuveri <nic.tuv@gmail.com>
Sun, 28 Jun 2020 17:23:29 +0000 (20:23 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Tue, 7 Jul 2020 08:58:31 +0000 (11:58 +0300)
commite1c246bd7682fd1b0fcbba5a224f3cacc1ba278d
treedb9e22b66dd886e71479f9649eaacb15efb055c8
parent1940c092a52afd8bc919b8faa5f3d51004503f3a
[test][15-test_genec] Improve EC tests with genpkey

Test separately EC parameters and EC key generation.

Some curves only support explicit params encoding.

For some curves we have had cases in which generating the parameters
under certain conditions failed, while generating and serializing a key
under the same conditions did not.
See <https://github.com/openssl/openssl/issues/12306> for more details.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12308)
test/recipes/15-test_genec.t