From: Dmitry Eremin-Solenikov <[email protected]> CMAC64 uses block8, rather than block16.
Signed-off-by: Dmitry Eremin-Solenikov <[email protected]> --- 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 */ -- 2.23.0.rc1 _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
