best way to copy a gcry_mpi_point_t?

Werner Koch wk at gnupg.org
Tue Jul 18 10:00:14 CEST 2017


On Mon, 20 Jun 2016 01:02, teichm at in.tum.de said:

> 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);


1.8 will come with gcry_mpi_point_copy.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: </pipermail/attachments/20170718/23bbec87/attachment.sig>


More information about the Gcrypt-devel mailing list