Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76008
b: refs/heads/master
c: e6ccc72
h: refs/heads/master
v: v3
  • Loading branch information
Ilpo Järvinen authored and Herbert Xu committed Jan 10, 2008
1 parent e0148ae commit fde2ceb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6eb7228421c01ba48a6a88a7a5b3e71cfb70d4a9
refs/heads/master: e6ccc727f30a02670f6a00df6d548942bc988f43
6 changes: 3 additions & 3 deletions trunk/crypto/cast6.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ static const u8 Tr[4][8] = {
};

/* forward octave */
static inline void W(u32 *key, unsigned int i) {
static void W(u32 *key, unsigned int i) {
u32 I;
key[6] ^= F1(key[7], Tr[i % 4][0], Tm[i][0]);
key[5] ^= F2(key[6], Tr[i % 4][1], Tm[i][1]);
Expand Down Expand Up @@ -428,7 +428,7 @@ static int cast6_setkey(struct crypto_tfm *tfm, const u8 *in_key,
}

/*forward quad round*/
static inline void Q (u32 * block, u8 * Kr, u32 * Km) {
static void Q (u32 * block, u8 * Kr, u32 * Km) {
u32 I;
block[2] ^= F1(block[3], Kr[0], Km[0]);
block[1] ^= F2(block[2], Kr[1], Km[1]);
Expand All @@ -437,7 +437,7 @@ static inline void Q (u32 * block, u8 * Kr, u32 * Km) {
}

/*reverse quad round*/
static inline void QBAR (u32 * block, u8 * Kr, u32 * Km) {
static void QBAR (u32 * block, u8 * Kr, u32 * Km) {
u32 I;
block[3] ^= F1(block[0], Kr[3], Km[3]);
block[0] ^= F3(block[1], Kr[2], Km[2]);
Expand Down

0 comments on commit fde2ceb

Please sign in to comment.