Home GnuPG

Use finer grained on-the-fly helper computations for EC.
5fb3501aa0cfUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Use finer grained on-the-fly helper computations for EC.

* src/ec-context.h (mpi_ec_ctx_s): Replace NEED_SYNC by a bitfield.
* mpi/ec.c (ec_p_sync): Remove.
(ec_get_reset, ec_get_a_is_pminus3, ec_get_two_inv_p): New.
(ec_p_init): Use ec_get_reset.
(_gcry_mpi_ec_set_mpi, _gcry_mpi_ec_dup_point)
(_gcry_mpi_ec_add_points): Replace ec_p_sync by the ec_get_ accessors.

Details

Provenance
wernerAuthored on Mar 20 2013, 5:23 PM
Parents
rCb402e5500417: Allow building with w64-mingw32
Branches
Unknown
Tags
Unknown

Event Timeline