From: Dmitry Eremin-Solenikov Date: Mon, 26 Aug 2019 18:20:22 +0000 (+0300) Subject: cmac64: fix nettle_block16 usage X-Git-Tag: nettle_3.6rc1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8147b2b31c10334908bc979dcf2c31aca4293faf;p=thirdparty%2Fnettle.git cmac64: fix nettle_block16 usage CMAC64 uses block8, rather than block16. Signed-off-by: Dmitry Eremin-Solenikov --- diff --git a/cmac64.c b/cmac64.c index 2fbffc9b..636635ba 100644 --- a/cmac64.c +++ b/cmac64.c @@ -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 */