diff options
author | Niels Möller <nisse@lysator.liu.se> | 2018-01-08 22:22:10 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2018-01-09 07:31:54 +0100 |
commit | e09ed92e51c349f2ea495a9a921cb682332700de (patch) | |
tree | dc4199ed311cd2990aed4f5792dfa7d1ee70f87e | |
parent | 64454448808cc261cebd4ed791110db291806a5e (diff) | |
download | nettle-e09ed92e51c349f2ea495a9a921cb682332700de.tar.gz |
Extend nettle_block16 with uint64_t field.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | nettle-types.h | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,8 @@ 2018-01-08 Niels Möller <nisse@lysator.liu.se> + * nettle-types.h (union nettle_block16): Add uint64_t field. + * configure.ac: Check for __builtin_bswap64, define HAVE_BUILTIN_BSWAP64 if available. diff --git a/nettle-types.h b/nettle-types.h index 84c375d2..f04655d6 100644 --- a/nettle-types.h +++ b/nettle-types.h @@ -48,6 +48,7 @@ union nettle_block16 { uint8_t b[16]; unsigned long w[16 / sizeof(unsigned long)]; + uint64_t u64[2]; }; /* Randomness. Used by key generation and dsa signature creation. */ |