summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-28 00:41:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-28 16:34:10 +0200
commita681219a9275ded66dd927750edcec7859cbffbb (patch)
tree94c1c1b8d21aedb1d495dd71a72e433f3845c2b4 /src/types.h
parent398f78c1ffabd48914f2a4aca5dc1d43396dbbab (diff)
downloadfastd-a681219a9275ded66dd927750edcec7859cbffbb.tar
fastd-a681219a9275ded66dd927750edcec7859cbffbb.zip
Add UHASH implementation
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 352e7be..d0a0221 100644
--- a/src/types.h
+++ b/src/types.h
@@ -119,6 +119,7 @@ typedef struct fastd_shell_env fastd_shell_env_t;
/** A 128-bit aligned block of data, primarily used by the cryptographic functions */
typedef union fastd_block128 {
uint8_t b[16]; /**< Byte-wise access to the data */
+ uint32_t dw[4]; /**< Doubleword-wise access to the data */
uint64_t qw[2]; /**< Quadword-wise access to the data */
} __attribute__((aligned(16))) fastd_block128_t;