]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Merge branch 'rename-data-symbols' into master-updates
authorNiels Möller <nisse@lysator.liu.se>
Tue, 27 Mar 2018 21:07:50 +0000 (23:07 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 27 Mar 2018 21:07:50 +0000 (23:07 +0200)
1  2 
ChangeLog

diff --cc ChangeLog
index 9447fe22b66ee3d17da2d82502d615bdd64a0571,7eefb9a4912488db8ba8b8aaaf719cc2f74e2698..2a198e994777a6887c12c8617030e0518c9d0f5b
+++ b/ChangeLog
@@@ -1,18 -1,18 +1,33 @@@
 +2018-03-25  Niels Möller  <nisse@lysator.liu.se>
 +
 +      From Michael Weiser.
 +      * configure.ac (ASM_WORDS_BIGENDIAN): New substution, set from AC_C_BIGENDIAN.
 +      * config.m4.in: Use it to set WORDS_BIGENDIAN.
 +      * asm.m4 (IF_BE, IF_LE): New macros.
 +      * arm/memxor.asm: Support big-endian ARM.
 +      * arm/memxor3.asm: Likewise.
 +      * arm/neon/chacha-core-internal.asm: Likewise.
 +      * arm/neon/salsa20-core-internal.asm: Likewise.
 +      * arm/neon/umac-nh.asm: Likewise.
 +      * arm/v6/sha1-compress.asm: Likewise.
 +      * arm/v6/sha256-compress.asm: Likewise.
 +      * arm/README: Document big-endian considerations.
 +
+ 2018-03-17  Niels Möller  <nisse@lysator.liu.se>
+       Discourage direct access to data symbols with non-public size.
+       Direct references to these symbols may result in copy-relocations
+       like R_X86_64_COPY, which make the symbol size leak into the ABI.
+       * ecc-curve.h (_nettle_secp_192r1, _nettle_secp_224r1)
+       (_nettle_secp_256r1, _nettle_secp_384r1, _nettle_secp_521r1): Add
+       leading underscore on these data symbols.
+       * nettle-meta.h (_nettle_ciphers, _nettle_hashes, _nettle_aeads)
+       (_nettle_armors): Add leading underscore on these data symbols.
+       Update all internal use. Macros without leading underscore remain,
+       and expand to access via accessor functions nettle_get_ciphers and
+       similar.
  2018-03-10  Niels Möller  <nisse@lysator.liu.se>
  
        * eccdata.c (ecc_table_size): New helper function.