projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.in: Put the auxiliary scripts in a useful place.
[u/mdw/catacomb]
/
rijndael192.c
diff --git
a/rijndael192.c
b/rijndael192.c
index
4b4c034
..
aef5955
100644
(file)
--- a/
rijndael192.c
+++ b/
rijndael192.c
@@
-94,7
+94,7
@@
void rijndael192_eblk(const rijndael_ctx *k, const uint32 *s, uint32 *dst)
{
uint32 a = s[0], b = s[1], c = s[2], d = s[3], e = s[4], f = s[5];
uint32 aa, bb, cc, dd, ee, ff;
{
uint32 a = s[0], b = s[1], c = s[2], d = s[3], e = s[4], f = s[5];
uint32 aa, bb, cc, dd, ee, ff;
- uint32 *w = k->w;
+
const
uint32 *w = k->w;
a ^= *w++; b ^= *w++; c ^= *w++; d ^= *w++; e ^= *w++; f ^= *w++;
aa = a; bb = b; cc = c; dd = d; ee = e; ff = f;
a ^= *w++; b ^= *w++; c ^= *w++; d ^= *w++; e ^= *w++; f ^= *w++;
aa = a; bb = b; cc = c; dd = d; ee = e; ff = f;
@@
-127,7
+127,7
@@
void rijndael192_dblk(const rijndael_ctx *k, const uint32 *s, uint32 *dst)
{
uint32 a = s[0], b = s[1], c = s[2], d = s[3], e = s[4], f = s[5];
uint32 aa, bb, cc, dd, ee, ff;
{
uint32 a = s[0], b = s[1], c = s[2], d = s[3], e = s[4], f = s[5];
uint32 aa, bb, cc, dd, ee, ff;
- uint32 *w = k->wi;
+
const
uint32 *w = k->wi;
a ^= *w++; b ^= *w++; c ^= *w++; d ^= *w++; e ^= *w++; f ^= *w++;
aa = a; bb = b; cc = c; dd = d; ee = e; ff = f;
a ^= *w++; b ^= *w++; c ^= *w++; d ^= *w++; e ^= *w++; f ^= *w++;
aa = a; bb = b; cc = c; dd = d; ee = e; ff = f;