Commit e3cfe987 authored by Niels Möller's avatar Niels Möller

Mark w member of union nettle_block16 as deprecated.

parent 24ec254e
2019-07-08 Niels Möller <nisse@lysator.liu.se> 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. * eax.c (block16_xor): Use uint64_t member of nettle_block16.
* gcm.c (gcm_gf_add, gcm_gf_shift, gcm_gf_shift_8): Likewise. * gcm.c (gcm_gf_add, gcm_gf_shift, gcm_gf_shift_8): Likewise.
......
...@@ -61,7 +61,7 @@ extern "C" { ...@@ -61,7 +61,7 @@ extern "C" {
union nettle_block16 union nettle_block16
{ {
uint8_t b[16]; 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]; uint64_t u64[2];
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment