Re: Compute EC_KEY starting from X or Y coordinate only

2019-10-26 Thread Thulasi Goriparthi
Call to EC_POINT_set_compressed_coodinates() with with x-coordinate and y-bit will resolve the curve equation for y and chooses y out of two possible y values based on y-bit input. You can retrieve the x and y co-ordinates using EC_POINT_get_affine_coordinates as below, where x-cordinate matches w

Re: Compute EC_KEY starting from X or Y coordinate only

2019-10-26 Thread Luca Di Mauro
I checked the 'test' folder but I didn't found any tests that help me in this case. However the only doubt is how I can use the API offered by openssl library. I understand how retreive a point (and consequently to assign it to a public key) starting from a compressed-y representation (which