Commit da81c86a authored by Nikos Mavrogiannopoulos's avatar Nikos Mavrogiannopoulos Committed by Niels Möller
Browse files

abi: explicitly export intended symbols and hide others

This adds all exported symbols in the map files explicitly under
the following rules:
 - Symbols mentioned in internal headers go in a section which is
   valid only for testing, and linking with these symbols will break
   in library updates.
 - Symbols mentioned in installed headers go in the exported sections
   and are considered part of the ABI.
 - All internal symbols move to internal headers.
 - The _nettle_md5_compress and _nettle_sha1_compress become exported
   without the _nettle prefix, due to existing usage.
parent 7ef18d1e
......@@ -35,6 +35,7 @@
# include "config.h"
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "pkcs1.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "pkcs1.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "pkcs1.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pss.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pss.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pss.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pss.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -38,6 +38,7 @@
#include <assert.h>
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
#include "pkcs1.h"
......
......@@ -37,6 +37,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
/* Blinds m, by computing c = m r^e (mod n), for a random r. Also
returns the inverse (ri), for use by rsa_unblind. */
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
......
......@@ -36,6 +36,7 @@
#endif
#include "rsa.h"
#include "rsa-internal.h"
#include "bignum.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment