diff options
author | Niels Möller <nisse@lysator.liu.se> | 2019-07-08 22:25:39 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2019-07-08 22:25:39 +0200 |
commit | e3cfe987b4f9687411bb055d4f09090418831139 (patch) | |
tree | 7839612072e525e22fc211d005b4d70ab97addd3 | |
parent | 24ec254e441d02fba9cab6459a52a4cd32da0de2 (diff) | |
download | nettle-block16-refactor.tar.gz |
Mark w member of union nettle_block16 as deprecated.block16-refactor
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | nettle-types.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ 2019-07-08 Niels Möller <nisse@lysator.liu.se> + * 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]; }; |