libgcrypt dependency issues
Werner Koch
wk at gnupg.org
Mon Sep 7 17:42:09 CEST 2015
On Sat, 5 Sep 2015 02:17, transparentdata243 at gmail.com said:
> But I cannot find the definition of _gcry_mpi_powm. Could anyone points me
> to the function definition of this?
This uses some macro magic:
#ifdef GCRY_USE_VISIBILITY
# define MARK_VISIBLE(name) \
extern __typeof__ (_##name) name __attribute__ ((visibility("default")));
# define MARK_VISIBLEX(name) \
extern __typeof__ (name) name __attribute__ ((visibility("default")));
#else
# define MARK_VISIBLE(name) /* */
# define MARK_VISIBLEX(name) /* */
#endif
[...]
MARK_VISIBLE (gcry_mpi_powm)
FWIW, Libgcrypt 1.6 should be easier to read in this regard.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gcrypt-devel
mailing list