diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2019-08-26 21:20:22 +0300 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2019-09-03 18:46:54 +0200 |
commit | 8147b2b31c10334908bc979dcf2c31aca4293faf (patch) | |
tree | 8142f00f5228a5c58b2806083172415720f870b6 | |
parent | faed9ae6b49e2002c499f1f0551b65ed1a1d8bd4 (diff) | |
download | nettle-8147b2b31c10334908bc979dcf2c31aca4293faf.tar.gz |
cmac64: fix nettle_block16 usage
CMAC64 uses block8, rather than block16.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-rw-r--r-- | cmac64.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ cmac64_update(struct cmac64_ctx *ctx, const void *cipher, nettle_cipher_func *encrypt, size_t msg_len, const uint8_t *msg) { - union nettle_block16 Y; + union nettle_block8 Y; /* * check if we expand the block */ |