Home GnuPG

mpi: Add gcry_mpi_ec_sub.
23ecadf309f8Unpublished

Unpublished Commit · Learn More

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

Description

mpi: Add gcry_mpi_ec_sub.

* NEWS (gcry_mpi_ec_sub): New.
* doc/gcrypt.texi (gcry_mpi_ec_sub): New.
* mpi/ec.c (_gcry_mpi_ec_sub, sub_points_edwards): New.
(sub_points_montgomery, sub_points_weierstrass): New stubs.
* src/gcrypt-int.h (_gcry_mpi_ec_sub): New.
* src/gcrypt.h.in (gcry_mpi_ec_sub): New.
* src/libgcrypt.def (gcry_mpi_ec_sub): New.
* src/libgcrypt.vers (gcry_mpi_ec_sub): New.
* src/mpi.h (_gcry_mpi_ec_sub_points): New.
* src/visibility.c (gcry_mpi_ec_sub): New.
* src/visibility.h (gcry_mpi_ec_sub): New.

This function subtracts two points on the curve. Only Twisted Edwards
curves are supported with this change.

  • Signed-off-by: Markus Teich <markus dot teich at stusta dot mhn dot de>

Details

Provenance
Markus Teich <markus.teich@stusta.mhn.de>Authored on Oct 7 2014, 6:24 PM
wernerCommitted on Oct 8 2014, 2:57 PM
Parents
rCa078436be5b6: doc: Fix a configure option name.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC23ecadf309f8: mpi: Add gcry_mpi_ec_sub. (authored by Markus Teich <markus.teich@stusta.mhn.de>).Oct 8 2014, 2:57 PM