Nikos Mavrogiannopoulos <n...@redhat.com> writes:
> While using that code, I realized that the CMAC128_UPDATE was misusing
> the 'data' field. In the attached patch I've renamed it to 'src' to
> avoid ambiguities.
Pushed to a branch "cmac-support", together with ChangeLog and some
* cmac.h (struct cmac128): Rename, to cmac128_ctx.
(CMAC128_CTX): Rename first member from data to ctx.
* cmac.c: Use const void * as the type for cipher arguments.
(cmac128_set_key): Make a constant function local.
* testsuite/cmac-test.c: Delete local typedefs.
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
nettle-bugs mailing list