summaryrefslogtreecommitdiff
path: root/eax.h
diff options
context:
space:
mode:
Diffstat (limited to 'eax.h')
-rw-r--r--eax.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/eax.h b/eax.h
index 58bb412d..27268c64 100644
--- a/eax.h
+++ b/eax.h
@@ -57,16 +57,16 @@ extern "C" {
/* Values independent of message and nonce */
struct eax_key
{
- uint8_t pad_block[EAX_BLOCK_SIZE];
- uint8_t pad_partial[EAX_BLOCK_SIZE];
+ union nettle_block16 pad_block;
+ union nettle_block16 pad_partial;
};
struct eax_ctx
{
- uint8_t omac_nonce[EAX_BLOCK_SIZE];
- uint8_t omac_data[EAX_BLOCK_SIZE];
- uint8_t omac_message[EAX_BLOCK_SIZE];
- uint8_t ctr[EAX_BLOCK_SIZE];
+ union nettle_block16 omac_nonce;
+ union nettle_block16 omac_data;
+ union nettle_block16 omac_message;
+ union nettle_block16 ctr;
};
void