~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
key/key-io.c: Add low-level `key_mergeline' and `key_extractline' functions.
[catacomb]
/
symm
/
rijndael-mktab.c
diff --git
a/symm/rijndael-mktab.c
b/symm/rijndael-mktab.c
index
91007cc
..
3435068
100644
(file)
--- a/
symm/rijndael-mktab.c
+++ b/
symm/rijndael-mktab.c
@@
-38,7
+38,7
@@
static octet s[256], si[256];
static uint32 t[4][256], ti[4][256];
static uint32 u[4][256];
static octet s[256], si[256];
static uint32 t[4][256], ti[4][256];
static uint32 u[4][256];
-static octet rc[
32
];
+static octet rc[
120
];
/*----- Main code ---------------------------------------------------------*/
/*----- Main code ---------------------------------------------------------*/
@@
-331,11
+331,11
@@
const uint32 rijndael_u[4][256] = {\n\
/* --- Round constants --- */
rcon();
/* --- Round constants --- */
rcon();
-
fputs
("\
+
printf
("\
/* --- The round constants --- */\n\
\n\
/* --- The round constants --- */\n\
\n\
-const octet rijndael_rcon[
32
] = {\n\
- ",
stdout
);
+const octet rijndael_rcon[
%u
] = {\n\
+ ",
(unsigned)sizeof(rc)
);
for (i = 0; i < sizeof(rc); i++) {
printf("0x%02x", rc[i]);
if (i == sizeof(rc) - 1)
for (i = 0; i < sizeof(rc); i++) {
printf("0x%02x", rc[i]);
if (i == sizeof(rc) - 1)