From: Niels Möller Date: Mon, 8 Jul 2019 20:25:39 +0000 (+0200) Subject: Mark w member of union nettle_block16 as deprecated. X-Git-Tag: nettle_3.6rc1~99^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fblock16-refactor;p=thirdparty%2Fnettle.git Mark w member of union nettle_block16 as deprecated. --- diff --git a/ChangeLog b/ChangeLog index d13c5072..c385ac06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2019-07-08 Niels Möller + * nettle-types.h (union nettle_block16): Mark w member as deprecated. * eax.c (block16_xor): Use uint64_t member of nettle_block16. * gcm.c (gcm_gf_add, gcm_gf_shift, gcm_gf_shift_8): Likewise. diff --git a/nettle-types.h b/nettle-types.h index 87292ac6..4fc0ae5e 100644 --- a/nettle-types.h +++ b/nettle-types.h @@ -61,7 +61,7 @@ extern "C" { union nettle_block16 { uint8_t b[16]; - unsigned long w[16 / sizeof(unsigned long)]; + unsigned long w[16 / sizeof(unsigned long)] _NETTLE_ATTRIBUTE_DEPRECATED; uint64_t u64[2]; };