summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2018-01-08 22:22:10 +0100
committerNiels Möller <nisse@lysator.liu.se>2018-01-09 07:31:54 +0100
commite09ed92e51c349f2ea495a9a921cb682332700de (patch)
treedc4199ed311cd2990aed4f5792dfa7d1ee70f87e
parent64454448808cc261cebd4ed791110db291806a5e (diff)
downloadnettle-e09ed92e51c349f2ea495a9a921cb682332700de.tar.gz
Extend nettle_block16 with uint64_t field.
-rw-r--r--ChangeLog2
-rw-r--r--nettle-types.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 92658fe7..5975cab8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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. */