summaryrefslogtreecommitdiff
path: root/umac.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-11-04 10:53:31 +1100
committerDarren Tucker <dtucker@zip.com.au>2011-11-04 10:53:31 +1100
commit8a057953d2c9e7462e85147c23c65da4a4cfddbc (patch)
tree8c955fecf6dba0eb37a6aac6e2f4c4689719ada7 /umac.c
parent9ee09cfce6c375f6a52c916803577481227189ba (diff)
- djm@cvs.openbsd.org 2011/10/19 10:39:48
[umac.c] typo in comment; patch from Michael W. Bombardieri
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 */