libgcrypt dependency issues

Werner Koch wk at
Mon Sep 7 17:42:09 CEST 2015

On Sat,  5 Sep 2015 02:17, transparentdata243 at 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:

  # define MARK_VISIBLE(name) \
      extern __typeof__ (_##name) name __attribute__ ((visibility("default")));
  # define MARK_VISIBLEX(name) \
      extern __typeof__ (name) name __attribute__ ((visibility("default")));
  # define MARK_VISIBLE(name) /* */
  # define MARK_VISIBLEX(name) /* */
  MARK_VISIBLE (gcry_mpi_powm)

FWIW, Libgcrypt 1.6 should be easier to read in this regard.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gcrypt-devel mailing list