From: Niels Möller Date: Tue, 27 Mar 2018 21:07:50 +0000 (+0200) Subject: Merge branch 'rename-data-symbols' into master-updates X-Git-Tag: nettle_3.5rc1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=442e04385ffe9134fdefe198726b431849decf6e;p=thirdparty%2Fnettle.git Merge branch 'rename-data-symbols' into master-updates --- 442e04385ffe9134fdefe198726b431849decf6e diff --cc ChangeLog index 9447fe22,7eefb9a4..2a198e99 --- a/ChangeLog +++ b/ChangeLog @@@ -1,18 -1,18 +1,33 @@@ +2018-03-25 Niels Möller + + 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 + + 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 * eccdata.c (ecc_table_size): New helper function.