Skip to content
Snippets Groups Projects
Commit e3cfe987 authored by Niels Möller's avatar Niels Möller
Browse files

Mark w member of union nettle_block16 as deprecated.

parent 24ec254e
Branches block16-refactor
No related tags found
No related merge requests found
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.
......
......@@ -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];
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment