On Wed, 2019-04-17 at 20:27 +0200, Nikos Mavrogiannopoulos wrote:
> +  static const union nettle_block16 const_zero = { .b = {
> +     0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00,
> +     0x00, 0x00, 0x00, 0x00,  0x00, 0x00, 0x00, 0x00 }

You could save some space/eyes by using .b = 0 (assuming we can depend
on modern C99 semantics) or also just via .u64 = { 0, 0 }

Simo.

-- 
Simo Sorce
Sr. Principal Software Engineer
Red Hat, Inc


_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to