From bd3afc27459a44df8cf501a7e1ae37bb849a8b0e Mon Sep 17 00:00:00 2001
From: Werner Koch <wk@gnupg.org>
Date: Mon, 15 Apr 2013 11:52:54 +0200
Subject: 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>
---
 src/libgcrypt.def | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/libgcrypt.def')

diff --git a/src/libgcrypt.def b/src/libgcrypt.def
index 4da46232..9eaf8a7a 100644
--- a/src/libgcrypt.def
+++ b/src/libgcrypt.def
@@ -234,3 +234,5 @@ EXPORTS
       gcry_mpi_ec_mul           @211
 
       gcry_pubkey_get_sexp      @212
+
+      _gcry_mpi_get_const       @213
-- 
cgit v1.2.1

