diff options
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/parameters.h')
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/parameters.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/parameters.h b/crypto_aead/lilliputaei128v1/ref/parameters.h new file mode 100644 index 0000000..461a39e --- /dev/null +++ b/crypto_aead/lilliputaei128v1/ref/parameters.h @@ -0,0 +1,14 @@ +#pragma once + +#include <stdint.h> + + +#define TWEAK_LENGTH_BITS 192 +#define KEY_LENGTH_BITS 128 +#define TWEAKEY_LENGTH_BITS (TWEAK_LENGTH_BITS+KEY_LENGTH_BITS) +#define ROUND_TWEAKEY_LENGTH_BITS 64 + +#define TWEAK_BYTES (TWEAK_LENGTH_BITS/8) +#define KEY_BYTES (KEY_LENGTH_BITS/8) +#define TWEAKEY_BYTES (TWEAKEY_LENGTH_BITS/8) +#define ROUND_TWEAKEY_BYTES (ROUND_TWEAKEY_LENGTH_BITS/8) |
