crypto: arc4 - Fixed coding style issues

Fixed coding style issues: unnecessary spaces, parentheses on wrong lines.

Signed-off-by: Mati Vait <mativait@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Mati Vait 2011-06-08 21:26:00 +08:00 committed by Herbert Xu
parent fae366401b
commit cfa2b54eca

View File

@ -36,8 +36,7 @@ static int arc4_set_key(struct crypto_tfm *tfm, const u8 *in_key,
for (i = 0; i < 256; i++)
ctx->S[i] = i;
for(i = 0; i < 256; i++)
{
for (i = 0; i < 256; i++) {
u8 a = ctx->S[i];
j = (j + in_key[k] + a) & 0xff;
ctx->S[i] = ctx->S[j];