diff options
Diffstat (limited to 'umac.c')
-rw-r--r-- | umac.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: umac.c,v 1.3 2008/05/12 20:52:20 pvalchev Exp $ */ | 1 | /* $OpenBSD: umac.c,v 1.4 2011/10/19 10:39:48 djm Exp $ */ |
2 | /* ----------------------------------------------------------------------- | 2 | /* ----------------------------------------------------------------------- |
3 | * | 3 | * |
4 | * umac.c -- C Implementation UMAC Message Authentication | 4 | * umac.c -- C Implementation UMAC Message Authentication |
@@ -316,7 +316,7 @@ static void pdf_gen_xor(pdf_ctx *pc, UINT8 nonce[8], UINT8 buf[8]) | |||
316 | 316 | ||
317 | typedef struct { | 317 | typedef struct { |
318 | UINT8 nh_key [L1_KEY_LEN + L1_KEY_SHIFT * (STREAMS - 1)]; /* NH Key */ | 318 | UINT8 nh_key [L1_KEY_LEN + L1_KEY_SHIFT * (STREAMS - 1)]; /* NH Key */ |
319 | UINT8 data [HASH_BUF_BYTES]; /* Incomming data buffer */ | 319 | UINT8 data [HASH_BUF_BYTES]; /* Incoming data buffer */ |
320 | int next_data_empty; /* Bookeeping variable for data buffer. */ | 320 | int next_data_empty; /* Bookeeping variable for data buffer. */ |
321 | int bytes_hashed; /* Bytes (out of L1_KEY_LEN) incorperated. */ | 321 | int bytes_hashed; /* Bytes (out of L1_KEY_LEN) incorperated. */ |
322 | UINT64 state[STREAMS]; /* on-line state */ | 322 | UINT64 state[STREAMS]; /* on-line state */ |