]> 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:03:53 +0000 (20:03 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Mon, 6 Jul 2020 16:15:36 +0000 (19:15 +0300)
commit1c9761d0b547d2d135037d215cd16feb4d0b698c
tree708d15edfe148aa9c26bfbce4be43cb7422e0757
parent466d30c0d7fa861a5fcbaebd2e2010a8c2aea322
[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/12307)
test/recipes/15-test_genec.t