"unsigned long w" comes from the time when Nettle didn't use uint64_t.
It is unused now and thus can be dropped.

Signed-off-by: Dmitry Eremin-Solenikov <dbarysh...@gmail.com>
---
 eax.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/eax.c b/eax.c
index 621020def5ce..4b8b5117746e 100644
--- a/eax.c
+++ b/eax.c
@@ -54,12 +54,8 @@ omac_init (union nettle_block16 *state, unsigned t)
 static void
 block16_xor (union nettle_block16 *dst, const union nettle_block16 *src)
 {
-  dst->w[0] ^= src->w[0];
-  dst->w[1] ^= src->w[1];
-#if SIZEOF_LONG == 4
-  dst->w[2] ^= src->w[2];
-  dst->w[3] ^= src->w[3];
-#endif
+  dst->u64[0] ^= src->u64[0];
+  dst->u64[1] ^= src->u64[1];
 }
 
 static void
-- 
2.20.1

_______________________________________________
nettle-bugs mailing list
nettle-bugs@lists.lysator.liu.se
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to