]> git.ipfire.org Git - thirdparty/nettle.git/commit
abi: explicitly export intended symbols and hide others
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 6 Jun 2018 13:17:00 +0000 (15:17 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 7 Jul 2018 20:04:25 +0000 (22:04 +0200)
commitda81c86aac0d6c8ae229e0385c7850782a0efa6b
tree278bf491060cc2f0e7aac2452e18f30e20c28e35
parent7ef18d1e764c8cf967d8636ede2ce3c42ea06e7d
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.
130 files changed:
Makefile.in
arm/fat/sha1-compress-2.asm
arm/v6/sha1-compress.asm
bignum.h
chacha-core-internal.c
chacha-crypt.c
chacha-internal.h [new file with mode: 0644]
chacha-poly1305.c
chacha.h
dsa-gen-params.c
dsa-hash.c
dsa-internal.h [new file with mode: 0644]
dsa-sign.c
dsa-verify.c
dsa.c
dsa.h
ecc-curve.h
ecc-internal.h
ed25519-sha512-pubkey.c
ed25519-sha512-sign.c
ed25519-sha512-verify.c
eddsa-compress.c
eddsa-decompress.c
eddsa-expand.c
eddsa-hash.c
eddsa-internal.h [new file with mode: 0644]
eddsa-pubkey.c
eddsa-sign.c
eddsa-verify.c
eddsa.h
examples/nettle-benchmark.c
fat-arm.c
fat-x86_64.c
hogweed-internal.h [new file with mode: 0644]
libhogweed.map.in
libnettle.map.in
md5-compress.c
md5.c
md5.h
nettle-internal.h
nettle-lookup-hash.c
nettle-meta.h
pkcs1-rsa-digest.c
pkcs1-rsa-md5.c
pkcs1-rsa-sha1.c
pkcs1-rsa-sha256.c
pkcs1-rsa-sha512.c
pkcs1.c
pkcs1.h
ripemd160-internal.h [new file with mode: 0644]
ripemd160.c
ripemd160.h
rsa-blind.c
rsa-decrypt-tr.c
rsa-encrypt.c
rsa-internal.h [new file with mode: 0644]
rsa-keygen.c
rsa-md5-sign-tr.c
rsa-md5-sign.c
rsa-md5-verify.c
rsa-pkcs1-sign-tr.c
rsa-pkcs1-sign.c
rsa-pkcs1-verify.c
rsa-pss-sha256-sign-tr.c
rsa-pss-sha256-verify.c
rsa-pss-sha512-sign-tr.c
rsa-pss-sha512-verify.c
rsa-sha1-sign-tr.c
rsa-sha1-sign.c
rsa-sha1-verify.c
rsa-sha256-sign-tr.c
rsa-sha256-sign.c
rsa-sha256-verify.c
rsa-sha512-sign-tr.c
rsa-sha512-sign.c
rsa-sha512-verify.c
rsa-sign-tr.c
rsa-sign.c
rsa-verify.c
rsa.c
rsa.h
salsa20-core-internal.c
salsa20-crypt.c
salsa20-internal.h [new file with mode: 0644]
salsa20.h
salsa20r12-crypt.c
sha1-compress.c
sha1.c
sha1.h
sha2-internal.h [new file with mode: 0644]
sha2.h
sha256-compress.c
sha256.c
sha3-224-meta.c
sha3-224.c
sha3-256-meta.c
sha3-256.c
sha3-384-meta.c
sha3-384.c
sha3-512-meta.c
sha3-512.c
sha3-internal.h [new file with mode: 0644]
sha3-permute.c
sha3.c
sha3.h
sha512.c
testsuite/chacha-test.c
testsuite/eddsa-compress-test.c
testsuite/eddsa-sign-test.c
testsuite/eddsa-verify-test.c
testsuite/pkcs1-test.c
testsuite/sha3-permute-test.c
umac-internal.h [new file with mode: 0644]
umac-l2.c
umac-l3.c
umac-nh-n.c
umac-nh.c
umac-poly128.c
umac-poly64.c
umac-set-key.c
umac.h
umac128.c
umac32.c
umac64.c
umac96.c
x86/md5-compress.asm
x86/sha1-compress.asm
x86_64/md5-compress.asm
x86_64/sha1-compress.asm
x86_64/sha_ni/sha1-compress.asm