best way to copy a gcry_mpi_point_t?

Markus Teich teichm at in.tum.de
Mon Jun 20 01:02:19 CEST 2016


Heyho,

since I only see gcry_mpi_copy, but no gcry_mpi_point_copy, what would be the
most efficient way to copy a point? Using something like the following seems
confusing:

gcry_mpi_ec_mul(new, GCRYMPI_CONST_ONE, old, ctx);

--Markus



More information about the Gcrypt-devel mailing list