Add support for CMAC (RFC 4493).
The interface for this is very similar to upstream, but the code is
Support for “resuming” (i.e. calling |CMAC_Final| and then computing the
CMAC for an extension of the message) has been dropped. Also, calling
|CMAC_Init| with magic argument to reset it has been replaced with
Lastly, a one-shot function has been added because it can save an
allocation and that's what most callers actually appear to want to do.
Reviewed-by: David Benjamin <email@example.com>
Reviewed-by: Adam Langley <firstname.lastname@example.org>
9 files changed