summaryrefslogtreecommitdiff
path: root/umac.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-05-17 13:04:02 +0100
committerColin Watson <cjwatson@debian.org>2012-05-17 13:04:02 +0100
commitdd5ed53e20d218607260916a6b04d1c8c5b3d88f (patch)
treec59b4dbcc610f10700945f885adf3bddc2542c26 /umac.c
parent8241a65bf12ac53c1b7304bba7ce739aad80b8b8 (diff)
parentb9bc38990c5eb5d99e28ca5af6d3491fd4a0060a (diff)
merge 6.0p1
Diffstat (limited to 'umac.c')
-rw-r--r--umac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/umac.c b/umac.c
index 92902bc09..e78d2cc5f 100644
--- a/umac.c
+++ b/umac.c
@@ -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
317typedef struct { 317typedef 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 */