Align wrapped lines to parentheses (if applicable).
---
 drivers/staging/skein/skein_base.c    | 24 ++++++++++++------------
 drivers/staging/skein/skein_generic.c |  6 +++---
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/skein/skein_base.c 
b/drivers/staging/skein/skein_base.c
index 498a644..c24a573 100644
--- a/drivers/staging/skein/skein_base.c
+++ b/drivers/staging/skein/skein_base.c
@@ -205,7 +205,7 @@ int skein_256_final(struct skein_256_ctx *ctx, u8 *hash_val)
        /* zero pad b[] if necessary */
        if (ctx->h.b_cnt < SKEIN_256_BLOCK_BYTES)
                memset(&ctx->b[ctx->h.b_cnt], 0,
-                       SKEIN_256_BLOCK_BYTES - ctx->h.b_cnt);
+                      SKEIN_256_BLOCK_BYTES - ctx->h.b_cnt);
 
        /* process the final block */
        skein_256_process_block(ctx, ctx->b, 1, ctx->h.b_cnt);
@@ -231,7 +231,7 @@ int skein_256_final(struct skein_256_ctx *ctx, u8 *hash_val)
                        n  = SKEIN_256_BLOCK_BYTES;
                /* "output" the ctr mode bytes */
                skein_put64_lsb_first(hash_val + (i * SKEIN_256_BLOCK_BYTES),
-                               ctx->x, n);
+                                     ctx->x, n);
                /* restore the counter mode key for next time */
                memcpy(ctx->x, x, sizeof(x));
        }
@@ -432,7 +432,7 @@ int skein_512_final(struct skein_512_ctx *ctx, u8 *hash_val)
        /* zero pad b[] if necessary */
        if (ctx->h.b_cnt < SKEIN_512_BLOCK_BYTES)
                memset(&ctx->b[ctx->h.b_cnt], 0,
-                       SKEIN_512_BLOCK_BYTES - ctx->h.b_cnt);
+                      SKEIN_512_BLOCK_BYTES - ctx->h.b_cnt);
 
        /* process the final block */
        skein_512_process_block(ctx, ctx->b, 1, ctx->h.b_cnt);
@@ -458,7 +458,7 @@ int skein_512_final(struct skein_512_ctx *ctx, u8 *hash_val)
                        n  = SKEIN_512_BLOCK_BYTES;
                /* "output" the ctr mode bytes */
                skein_put64_lsb_first(hash_val + (i * SKEIN_512_BLOCK_BYTES),
-                               ctx->x, n);
+                                     ctx->x, n);
                /* restore the counter mode key for next time */
                memcpy(ctx->x, x, sizeof(x));
        }
@@ -654,7 +654,7 @@ int skein_1024_final(struct skein_1024_ctx *ctx, u8 
*hash_val)
        /* zero pad b[] if necessary */
        if (ctx->h.b_cnt < SKEIN_1024_BLOCK_BYTES)
                memset(&ctx->b[ctx->h.b_cnt], 0,
-                       SKEIN_1024_BLOCK_BYTES - ctx->h.b_cnt);
+                      SKEIN_1024_BLOCK_BYTES - ctx->h.b_cnt);
 
        /* process the final block */
        skein_1024_process_block(ctx, ctx->b, 1, ctx->h.b_cnt);
@@ -680,7 +680,7 @@ int skein_1024_final(struct skein_1024_ctx *ctx, u8 
*hash_val)
                        n  = SKEIN_1024_BLOCK_BYTES;
                /* "output" the ctr mode bytes */
                skein_put64_lsb_first(hash_val + (i * SKEIN_1024_BLOCK_BYTES),
-                               ctx->x, n);
+                                     ctx->x, n);
                /* restore the counter mode key for next time */
                memcpy(ctx->x, x, sizeof(x));
        }
@@ -702,7 +702,7 @@ int skein_256_final_pad(struct skein_256_ctx *ctx, u8 
*hash_val)
        /* zero pad b[] if necessary */
        if (ctx->h.b_cnt < SKEIN_256_BLOCK_BYTES)
                memset(&ctx->b[ctx->h.b_cnt], 0,
-                       SKEIN_256_BLOCK_BYTES - ctx->h.b_cnt);
+                      SKEIN_256_BLOCK_BYTES - ctx->h.b_cnt);
        /* process the final block */
        skein_256_process_block(ctx, ctx->b, 1, ctx->h.b_cnt);
 
@@ -724,7 +724,7 @@ int skein_512_final_pad(struct skein_512_ctx *ctx, u8 
*hash_val)
        /* zero pad b[] if necessary */
        if (ctx->h.b_cnt < SKEIN_512_BLOCK_BYTES)
                memset(&ctx->b[ctx->h.b_cnt], 0,
-                       SKEIN_512_BLOCK_BYTES - ctx->h.b_cnt);
+                      SKEIN_512_BLOCK_BYTES - ctx->h.b_cnt);
        /* process the final block */
        skein_512_process_block(ctx, ctx->b, 1, ctx->h.b_cnt);
 
@@ -746,7 +746,7 @@ int skein_1024_final_pad(struct skein_1024_ctx *ctx, u8 
*hash_val)
        /* zero pad b[] if necessary */
        if (ctx->h.b_cnt < SKEIN_1024_BLOCK_BYTES)
                memset(&ctx->b[ctx->h.b_cnt], 0,
-                       SKEIN_1024_BLOCK_BYTES - ctx->h.b_cnt);
+                      SKEIN_1024_BLOCK_BYTES - ctx->h.b_cnt);
        /* process the final block */
        skein_1024_process_block(ctx, ctx->b, 1, ctx->h.b_cnt);
 
@@ -787,7 +787,7 @@ int skein_256_output(struct skein_256_ctx *ctx, u8 
*hash_val)
                        n  = SKEIN_256_BLOCK_BYTES;
                /* "output" the ctr mode bytes */
                skein_put64_lsb_first(hash_val + (i * SKEIN_256_BLOCK_BYTES),
-                               ctx->x, n);
+                                     ctx->x, n);
                /* restore the counter mode key for next time */
                memcpy(ctx->x, x, sizeof(x));
        }
@@ -824,7 +824,7 @@ int skein_512_output(struct skein_512_ctx *ctx, u8 
*hash_val)
                        n  = SKEIN_512_BLOCK_BYTES;
                /* "output" the ctr mode bytes */
                skein_put64_lsb_first(hash_val + (i * SKEIN_512_BLOCK_BYTES),
-                               ctx->x, n);
+                                     ctx->x, n);
                /* restore the counter mode key for next time */
                memcpy(ctx->x, x, sizeof(x));
        }
@@ -861,7 +861,7 @@ int skein_1024_output(struct skein_1024_ctx *ctx, u8 
*hash_val)
                        n  = SKEIN_1024_BLOCK_BYTES;
                /* "output" the ctr mode bytes */
                skein_put64_lsb_first(hash_val + (i * SKEIN_1024_BLOCK_BYTES),
-                               ctx->x, n);
+                                     ctx->x, n);
                /* restore the counter mode key for next time */
                memcpy(ctx->x, x, sizeof(x));
        }
diff --git a/drivers/staging/skein/skein_generic.c 
b/drivers/staging/skein/skein_generic.c
index e29b9ab..11f5e53 100644
--- a/drivers/staging/skein/skein_generic.c
+++ b/drivers/staging/skein/skein_generic.c
@@ -27,7 +27,7 @@ static int skein256_init(struct shash_desc *desc)
 }
 
 static int skein256_update(struct shash_desc *desc, const u8 *data,
-                       unsigned int len)
+                          unsigned int len)
 {
        return skein_256_update((struct skein_256_ctx *)shash_desc_ctx(desc),
                                data, len);
@@ -62,7 +62,7 @@ static int skein512_init(struct shash_desc *desc)
 }
 
 static int skein512_update(struct shash_desc *desc, const u8 *data,
-                       unsigned int len)
+                          unsigned int len)
 {
        return skein_512_update((struct skein_512_ctx *)shash_desc_ctx(desc),
                                data, len);
@@ -97,7 +97,7 @@ static int skein1024_init(struct shash_desc *desc)
 }
 
 static int skein1024_update(struct shash_desc *desc, const u8 *data,
-                       unsigned int len)
+                           unsigned int len)
 {
        return skein_1024_update((struct skein_1024_ctx *)shash_desc_ctx(desc),
                                data, len);
-- 
2.8.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to