Nikos Mavrogiannopoulos nmav@redhat.com writes:
I attach the current state. It does move all internal symbols into multiple internal headers
Makes sense to me.
The last patch renames _nettle_md5_compress and _nettle_sha1_compress and includes it into the exported list
I think this makes sense too. We should leave
#define _nettle_md5_compress nettle_md5_compress #define _nettle_sha1_compress nettle_sha1_compress
in the header files, for API (source level) backwards compatibility.
If we do that too, can we use glob patterns in the linker scripts, instead of listing all symbols explicitly? It might make sense to do this in three steps:
1. Rename the above compress functions.
2. Move declarations if internal functions to uninstalled headers.
3. Update the linker script to handle _nettle_*-symbols differently.
Regards, /Niels