Add self-test for EC_POINT_hex2point
authorNicola Tuveri <nic.tuv@gmail.com>
Fri, 1 Nov 2019 20:09:40 +0000 (22:09 +0200)
committerNicola Tuveri <nic.tuv@gmail.com>
Wed, 13 Nov 2019 16:02:51 +0000 (18:02 +0200)
commit35ed029b5a488924890fda2487c87f664361a33b
tree0a3b8223589a3037f26242d0b27ae3c738641fdf
parentd47c10875656790d146f62ac3c437db54c58dbf7
Add self-test for EC_POINT_hex2point

Adds tests for each curve to ensure that encodings obtained through
EC_POINT_hex2point() can be fed to EC_POINT_point2hex() yielding a point
identical to the one from which the encoding is generated.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10329)
test/ectest.c