mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
crypto: blowfish - Fix checkpatch errors
Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
3922538fe1
commit
0d8fb0a139
1 changed files with 9 additions and 9 deletions
|
@ -417,10 +417,10 @@ static int bf_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen)
|
|||
|
||||
/* Actual subkey generation */
|
||||
for (j = 0, i = 0; i < 16 + 2; i++) {
|
||||
temp = (((u32 )key[j] << 24) |
|
||||
((u32 )key[(j + 1) % keylen] << 16) |
|
||||
((u32 )key[(j + 2) % keylen] << 8) |
|
||||
((u32 )key[(j + 3) % keylen]));
|
||||
temp = (((u32)key[j] << 24) |
|
||||
((u32)key[(j + 1) % keylen] << 16) |
|
||||
((u32)key[(j + 2) % keylen] << 8) |
|
||||
((u32)key[(j + 3) % keylen]));
|
||||
|
||||
P[i] = P[i] ^ temp;
|
||||
j = (j + 4) % keylen;
|
||||
|
|
Loading…
Reference in a new issue