From: Dmitry Eremin-Solenikov dbaryshkov@gmail.com
CMAC64 uses block8, rather than block16.
Signed-off-by: Dmitry Eremin-Solenikov dbaryshkov@gmail.com --- cmac64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmac64.c b/cmac64.c index 2fbffc9b5ea6..636635ba478b 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 */