Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
fa4f422b
Commit
fa4f422b
authored
Apr 18, 2013
by
Niels Möller
Browse files
New UMAC{32,64,96,128}_DIGEST_SIZE constants.
parent
bff365c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
fa4f422b
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.
...
...
umac.h
View file @
fa4f422b
...
...
@@ -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) \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment