diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-07-09 21:58:42 +0300 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2019-07-10 22:31:08 +0200 |
commit | a71215f988312cf0c8d143b9e959ee6a9dbe1056 (patch) | |
tree | b6d3d852b0df895dbc3bdfdb00ccc706eaf65e9c /nettle-types.h | |
parent | c78f2fdbb6503856c02045213407c48efd29427d (diff) | |
download | nettle-a71215f988312cf0c8d143b9e959ee6a9dbe1056.tar.gz |
cmac: add 64-bit mode CMAC
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'nettle-types.h')
-rw-r--r-- | nettle-types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nettle-types.h b/nettle-types.h index 87292ac6..5addf360 100644 --- a/nettle-types.h +++ b/nettle-types.h @@ -65,6 +65,12 @@ union nettle_block16 uint64_t u64[2]; }; +union nettle_block8 +{ + uint8_t b[8]; + uint64_t u64; +}; + /* Randomness. Used by key generation and dsa signature creation. */ typedef void nettle_random_func(void *ctx, size_t length, uint8_t *dst); |