diff options
-rw-r--r-- | crypto/cast6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/cast6.c b/crypto/cast6.c index 136ab6dfe8c5..5fd9420dc58e 100644 --- a/crypto/cast6.c +++ b/crypto/cast6.c | |||
@@ -369,7 +369,7 @@ static const u8 Tr[4][8] = { | |||
369 | }; | 369 | }; |
370 | 370 | ||
371 | /* forward octave */ | 371 | /* forward octave */ |
372 | static inline void W(u32 *key, unsigned int i) { | 372 | static void W(u32 *key, unsigned int i) { |
373 | u32 I; | 373 | u32 I; |
374 | key[6] ^= F1(key[7], Tr[i % 4][0], Tm[i][0]); | 374 | key[6] ^= F1(key[7], Tr[i % 4][0], Tm[i][0]); |
375 | key[5] ^= F2(key[6], Tr[i % 4][1], Tm[i][1]); | 375 | key[5] ^= F2(key[6], Tr[i % 4][1], Tm[i][1]); |
@@ -428,7 +428,7 @@ static int cast6_setkey(struct crypto_tfm *tfm, const u8 *in_key, | |||
428 | } | 428 | } |
429 | 429 | ||
430 | /*forward quad round*/ | 430 | /*forward quad round*/ |
431 | static inline void Q (u32 * block, u8 * Kr, u32 * Km) { | 431 | static void Q (u32 * block, u8 * Kr, u32 * Km) { |
432 | u32 I; | 432 | u32 I; |
433 | block[2] ^= F1(block[3], Kr[0], Km[0]); | 433 | block[2] ^= F1(block[3], Kr[0], Km[0]); |
434 | block[1] ^= F2(block[2], Kr[1], Km[1]); | 434 | block[1] ^= F2(block[2], Kr[1], Km[1]); |
@@ -437,7 +437,7 @@ static inline void Q (u32 * block, u8 * Kr, u32 * Km) { | |||
437 | } | 437 | } |
438 | 438 | ||
439 | /*reverse quad round*/ | 439 | /*reverse quad round*/ |
440 | static inline void QBAR (u32 * block, u8 * Kr, u32 * Km) { | 440 | static void QBAR (u32 * block, u8 * Kr, u32 * Km) { |
441 | u32 I; | 441 | u32 I; |
442 | block[3] ^= F1(block[0], Kr[3], Km[3]); | 442 | block[3] ^= F1(block[0], Kr[3], Km[3]); |
443 | block[0] ^= F3(block[1], Kr[2], Km[2]); | 443 | block[0] ^= F3(block[1], Kr[2], Km[2]); |