Commit 8147b2b3 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Niels Möller

cmac64: fix nettle_block16 usage

CMAC64 uses block8, rather than block16.
Signed-off-by: Dmitry Baryshkov's avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
parent faed9ae6
...@@ -98,7 +98,7 @@ cmac64_update(struct cmac64_ctx *ctx, const void *cipher, ...@@ -98,7 +98,7 @@ cmac64_update(struct cmac64_ctx *ctx, const void *cipher,
nettle_cipher_func *encrypt, nettle_cipher_func *encrypt,
size_t msg_len, const uint8_t *msg) size_t msg_len, const uint8_t *msg)
{ {
union nettle_block16 Y; union nettle_block8 Y;
/* /*
* check if we expand the block * check if we expand the block
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment