diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2017-11-28 06:09:39 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2017-11-28 06:09:39 +0000 |
commit | f155e0cc216b8cd80e5d21a0e0b65273cdd96d89 (patch) | |
tree | 8defe36e5f5192d4f5aa46a4ac34eb04a2306b5c /usr.bin | |
parent | 7c5f2c4ec38bcf59defe25d2d4cddd958a2d43f7 (diff) |
more whitespace errors
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/umac.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/ssh/umac.c b/usr.bin/ssh/umac.c index 2b92b27cf40..41f5bfba455 100644 --- a/usr.bin/ssh/umac.c +++ b/usr.bin/ssh/umac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umac.c,v 1.14 2017/11/28 06:04:51 djm Exp $ */ +/* $OpenBSD: umac.c,v 1.15 2017/11/28 06:09:38 djm Exp $ */ /* ----------------------------------------------------------------------- * * umac.c -- C Implementation UMAC Message Authentication @@ -131,10 +131,10 @@ typedef unsigned int UWORD; /* Register */ #if BYTE_ORDER == LITTLE_ENDIAN #define LOAD_UINT32_REVERSED(p) get_u32(p) -#define STORE_UINT32_REVERSED(p,v) put_u32(p,v) +#define STORE_UINT32_REVERSED(p,v) put_u32(p,v) #else #define LOAD_UINT32_REVERSED(p) get_u32_le(p) -#define STORE_UINT32_REVERSED(p,v) put_u32_le(p,v) +#define STORE_UINT32_REVERSED(p,v) put_u32_le(p,v) #endif #define LOAD_UINT32_LITTLE(p) (get_u32_le(p)) @@ -676,7 +676,7 @@ static void nh_final(nh_ctx *hc, UINT8 *result) nh_transform(hc, hc->data, nh_len); hc->bytes_hashed += hc->next_data_empty; } else if (hc->bytes_hashed == 0) { - nh_len = L1_PAD_BOUNDARY; + nh_len = L1_PAD_BOUNDARY; zero_pad(hc->data, L1_PAD_BOUNDARY); nh_transform(hc, hc->data, nh_len); } @@ -1127,10 +1127,10 @@ static int uhash(uhash_ctx_t ahc, u_char *msg, long len, u_char *res) * the polyhash. */ if (len <= L1_KEY_LEN) { - if (len == 0) /* If zero length messages will not */ - nh_len = L1_PAD_BOUNDARY; /* be seen, comment out this case */ - else - nh_len = ((len + (L1_PAD_BOUNDARY - 1)) & ~(L1_PAD_BOUNDARY - 1)); + if (len == 0) /* If zero length messages will not */ + nh_len = L1_PAD_BOUNDARY; /* be seen, comment out this case */ + else + nh_len = ((len + (L1_PAD_BOUNDARY - 1)) & ~(L1_PAD_BOUNDARY - 1)); extra_zeroes_needed = nh_len - len; zero_pad((UINT8 *)msg + len, extra_zeroes_needed); nh(&ahc->hash, (UINT8 *)msg, nh_len, len, nh_result); |