Commit fa4f422b authored by Niels Möller's avatar Niels Möller

New UMAC{32,64,96,128}_DIGEST_SIZE constants.

parent bff365c0
2013-04-18 Niels Möller <nisse@lysator.liu.se>
* umac.h (UMAC32_DIGEST_SIZE, UMAC64_DIGEST_SIZE)
(UMAC96_DIGEST_SIZE, UMAC128_DIGEST_SIZE): New constants.
2013-04-17 Niels Möller <nisse@lysator.liu.se>
* examples/nettle-benchmark.c (main): Benchmark salsa20r12.
......
......@@ -61,8 +61,12 @@ extern "C" {
#include "nettle-types.h"
#include "aes.h"
#define UMAC_BLOCK_SIZE 1024
#define UMAC_KEY_SIZE 16
#define UMAC32_DIGEST_SIZE 4
#define UMAC64_DIGEST_SIZE 8
#define UMAC96_DIGEST_SIZE 12
#define UMAC128_DIGEST_SIZE 16
#define UMAC_BLOCK_SIZE 1024
/* Subkeys and state for UMAC with tag size 32*n bits. */
#define _UMAC_STATE(n) \
......
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