cleanup: Big pile of whitespace fixes, all at once.
[u/mdw/catacomb] / sha512.c
index e913d67..2f39472 100644 (file)
--- a/sha512.c
+++ b/sha512.c
@@ -7,7 +7,7 @@
  * (c) 2000 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Catacomb.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * Catacomb is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with Catacomb; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -284,8 +284,8 @@ void sha512_done(sha512_ctx *ctx, void *hash)
 {
   octet *p = hash;
   final(ctx);
-  STORE64_(p +  0, ctx->a);
-  STORE64_(p +  8, ctx->b);
+  STORE64_(p + 0, ctx->a);
+  STORE64_(p + 8, ctx->b);
   STORE64_(p + 16, ctx->c);
   STORE64_(p + 24, ctx->d);
   STORE64_(p + 32, ctx->e);
@@ -298,8 +298,8 @@ void sha384_done(sha384_ctx *ctx, void *hash)
 {
   octet *p = hash;
   final(ctx);
-  STORE64_(p +  0, ctx->a);
-  STORE64_(p +  8, ctx->b);
+  STORE64_(p + 0, ctx->a);
+  STORE64_(p + 8, ctx->b);
   STORE64_(p + 16, ctx->c);
   STORE64_(p + 24, ctx->d);
   STORE64_(p + 32, ctx->e);
@@ -320,8 +320,8 @@ void sha384_done(sha384_ctx *ctx, void *hash)
 unsigned long sha512_state(sha512_ctx *ctx, void *state)
 {
   octet *p = state;
-  STORE64_(p +  0, ctx->a);
-  STORE64_(p +  8, ctx->b);
+  STORE64_(p + 0, ctx->a);
+  STORE64_(p + 8, ctx->b);
   STORE64_(p + 16, ctx->c);
   STORE64_(p + 24, ctx->d);
   STORE64_(p + 32, ctx->e);