Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181031
b: refs/heads/master
c: 0047e81
h: refs/heads/master
i:
  181029: c3c1366
  181027: e4c0832
  181023: 3586412
v: v3
  • Loading branch information
Richard Hartmann authored and Herbert Xu committed Feb 16, 2010
1 parent a63a39c commit a807968
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: 5b37c19e36de46d2a96ce127addb4c4bbaa4619a
refs/heads/master: 0047e81dc366a0690b4765250c3a1d8caf3797c4
6 changes: 3 additions & 3 deletions trunk/crypto/fcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ do { \
u32 t = lo & ((1 << n) - 1); \
lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \
hi = (hi >> n) | (t << (24-n)); \
} while(0)
} while (0)

/* Rotate right one 64 bit number as a 56 bit number */
#define ror56_64(k, n) \
do { \
k = (k >> n) | ((k & ((1 << n) - 1)) << (56 - n)); \
} while(0)
} while (0)

/*
* Sboxes for Feistel network derived from
Expand Down Expand Up @@ -228,7 +228,7 @@ do { \
union lc4 { __be32 l; u8 c[4]; } u; \
u.l = sched ^ R; \
L ^= sbox0[u.c[0]] ^ sbox1[u.c[1]] ^ sbox2[u.c[2]] ^ sbox3[u.c[3]]; \
} while(0)
} while (0)

/*
* encryptor
Expand Down

0 comments on commit a807968

Please sign in to comment.