summaryrefslogtreecommitdiff
path: root/src/libgcrypt.vers
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-03-07 19:04:10 +0100
committerWerner Koch <wk@gnupg.org>2013-03-07 20:41:49 +0100
commit6c4767637c512127a4362732b3ec51068554d328 (patch)
treef991d86356e90068b3ad915efa237ba4b09ef3b3 /src/libgcrypt.vers
parent6782b2d7817c449fb2cf122cacd792b594f89d7c (diff)
downloadlibgcrypt-6c4767637c512127a4362732b3ec51068554d328.tar.gz
mpi: Add mpi_snatch and change an internal typedef.
* src/mpi.h (struct mpi_point_s): Rename to struct gcry_mpi_point. (mpi_point_struct): New typedef. (mpi_point_t): Change typedef to a pointer. Replace all occurrences to use mpi_point_struct. * mpi/ec.c (_gcry_mpi_ec_point_init): Rename to .. (_gcry_mpi_point_init): this. Change all callers. (_gcry_mpi_ec_point_free): Rename to .. (_gcry_mpi_point_free_parts): this. Change all callers. * mpi/mpiutil.c (gcry_mpi_snatch): New function. * src/gcrypt.h.in (gcry_mpi_snatch, mpi_snatch): Add protoype and macro. * src/visibility.c (gcry_mpi_snatch): Add wrapper. * src/visibility.h (gcry_mpi_snatch): Add macro magic. * src/libgcrypt.def, src/libgcrypt.vers: Add new function. -- This patch is a prerequisite to implement a public point API. The new function gcry_mpi_snatch is actually not needed for this but is useful anyway and will be used to implement the point API.
Diffstat (limited to 'src/libgcrypt.vers')
-rw-r--r--src/libgcrypt.vers2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgcrypt.vers b/src/libgcrypt.vers
index dcb37490..200f04e6 100644
--- a/src/libgcrypt.vers
+++ b/src/libgcrypt.vers
@@ -86,7 +86,7 @@ GCRYPT_1.6 {
gcry_mpi_set_flag; gcry_mpi_set_highbit; gcry_mpi_set_opaque;
gcry_mpi_set_ui; gcry_mpi_snew; gcry_mpi_sub; gcry_mpi_sub_ui;
gcry_mpi_subm; gcry_mpi_swap; gcry_mpi_test_bit;
- gcry_mpi_lshift;
+ gcry_mpi_lshift; gcry_mpi_snatch;
local:
*;