git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git]
/
crypto
/
tea.c
diff --git
a/crypto/tea.c
b/crypto/tea.c
index
bf94329
..
588a143
100644
(file)
--- a/
crypto/tea.c
+++ b/
crypto/tea.c
@@
-154,7
+154,7
@@
static void xtea_encrypt(void *ctx_arg, u8 *dst, const u8 *src)
while (sum != limit) {
y += (z << 4 ^ z >> 5) + (z ^ sum) + ctx->KEY[sum&3];
- sum += TEA_DELTA;
+ sum +=
X
TEA_DELTA;
z += (y << 4 ^ y >> 5) + (y ^ sum) + ctx->KEY[sum>>11 &3];
}