linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 19/19] crypto: xcbc - Fix checkpatch errors
@ 2010-02-19  0:24 Richard Hartmann
  0 siblings, 0 replies; only message in thread
From: Richard Hartmann @ 2010-02-19  0:24 UTC (permalink / raw)
  To: linux-crypto
  Cc: Richard Hartmann, Herbert Xu, David S. Miller, Steffen Klassert,
	linux-kernel


Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com>
---
 crypto/xcbc.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/crypto/xcbc.c b/crypto/xcbc.c
index bb7b67f..63e9181 100644
--- a/crypto/xcbc.c
+++ b/crypto/xcbc.c
@@ -24,8 +24,8 @@
 #include <linux/kernel.h>
 
 static u_int32_t ks[12] = {0x01010101, 0x01010101, 0x01010101, 0x01010101,
-			   0x02020202, 0x02020202, 0x02020202, 0x02020202,
-			   0x03030303, 0x03030303, 0x03030303, 0x03030303};
+                           0x02020202, 0x02020202, 0x02020202, 0x02020202,
+                           0x03030303, 0x03030303, 0x03030303, 0x03030303};
 
 /*
  * +------------------------
@@ -158,7 +158,7 @@ static int crypto_xcbc_digest_final(struct shash_desc *pdesc, u8 *out)
 		*p = 0x80;
 		p++;
 
-		rlen = bs - ctx->len -1;
+		rlen = bs - ctx->len - 1;
 		if (rlen)
 			memset(p, 0, rlen);
 
@@ -211,7 +211,7 @@ static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb)
 	if (IS_ERR(alg))
 		return PTR_ERR(alg);
 
-	switch(alg->cra_blocksize) {
+	switch (alg->cra_blocksize) {
 	case 16:
 		break;
 	default:
-- 
1.6.6.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-19  0:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19  0:24 [PATCH 19/19] crypto: xcbc - Fix checkpatch errors Richard Hartmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).