Comparing EC MPI points
Sree Harsha Totakura
sreeharsha at totakura.in
Fri Jun 20 12:14:24 CEST 2014
On 06/06/2014 10:30 AM, Sree Harsha Totakura wrote:
> I found a way: compare the points' coordinates after retrieving them with
> gcry_mpi_point_get()
Just FYI for the ones arriving here via Internet searches. You should use
gcry_mpi_point_get_affine() instead of gcry_mpi_point_get() since the projective
coordinates given by the latter function can be expressed differently for a
given point. The affine coordinates do not have this problem.
Sree
More information about the Gcrypt-devel
mailing list