Home GnuPG

Add macros to return pre-defined MPIs.
bd3afc27459aUnpublished

Unpublished Commit · Learn More

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

Description

Add macros to return pre-defined MPIs.

* src/gcrypt.h.in (GCRYMPI_CONST_ONE, GCRYMPI_CONST_TWO)
(GCRYMPI_CONST_THREE, GCRYMPI_CONST_FOUR, GCRYMPI_CONST_EIGHT): New.
(_gcry_mpi_get_const): New private function.
* src/visibility.c (_gcry_mpi_get_const): New.
* src/visibility.h: Mark it visible.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 15 2013, 11:52 AM
Parents
rC71b25a5562f6: Fix addition of EC points.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCbd3afc27459a: Add macros to return pre-defined MPIs. (authored by Werner Koch <wk@gnupg.org>).Apr 15 2013, 11:54 AM