diff options
author | Werner Koch <wk@gnupg.org> | 2017-10-17 15:00:08 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-10-17 15:02:33 +0200 |
commit | c6e42e7ec3d1046969d783c443c13aad7cb61bb8 (patch) | |
tree | 25a50e8a5174be9244841fa96fe037185f23270f /src/libgcrypt.vers | |
parent | e4dc458b0b7dc9b8417a2177ef17822d9b9064ec (diff) | |
download | libgcrypt-c6e42e7ec3d1046969d783c443c13aad7cb61bb8.tar.gz |
api: New function gcry_mpi_get_ui.
* src/gcrypt.h.in (gcry_mpi_get_ui): New.
(mpi_get_ui): New macro.
* src/libgcrypt.def, src/libgcrypt.vers: Add new function.
* src/visibility.c (gcry_mpi_get_ui): New.
* src/visibility.h: Mark that function.
(gcry_mpi_get_ui): New.
* mpi/mpiutil.c (MY_UINT_MAX): New macro.
(_gcry_mpi_get_ui): Re-implemented. This function existed but was
never imported or used.
* tests/mpitests.c (test_maxsize): Add some test for this function.
--
Note that in libgcrypt.def the cardinal 91 is used which was never
used in the past.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/libgcrypt.vers')
-rw-r--r-- | src/libgcrypt.vers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libgcrypt.vers b/src/libgcrypt.vers index 1aa830f9..edf8a76a 100644 --- a/src/libgcrypt.vers +++ b/src/libgcrypt.vers @@ -108,6 +108,7 @@ GCRYPT_1.6 { gcry_mpi_ec_dup; gcry_mpi_ec_add; gcry_mpi_ec_sub; gcry_mpi_ec_mul; gcry_mpi_ec_curve_point; gcry_mpi_ec_decode_point; gcry_mpi_point_copy; + gcry_mpi_get_ui; gcry_log_debug; gcry_log_debughex; gcry_log_debugmpi; gcry_log_debugpnt; gcry_log_debugsxp; |