summaryrefslogtreecommitdiff
blob: 25ca7254cdee4690ef54d8ea98bbea9647c3993d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ScrollZ-1.9.5/rijndael-alg-ref.c.orig	2005-09-02 19:19:06.000000000 +0200
+++ ScrollZ-1.9.5/source/rijndael-alg-ref.c	2005-09-02 19:33:03.000000000 +0200
@@ -36,11 +36,11 @@
 }; 
 
 word8 mul(word8, word8);
-void KeyAddition(word8 [][], word8 [][], word8);
-void Substitution(word8 [][], word8 box[], word8);
-void ShiftRow(word8 [][], word8, word8);
-void MixColumn(word8 [][], word8);
-void InvMixColumn(word8 [][], word8);
+void KeyAddition(word8 [4][MAXBC], word8 [4][MAXBC], word8);
+void Substitution(word8 [4][MAXBC], word8 [256], word8);
+void ShiftRow(word8 [4][MAXBC], word8, word8);
+void MixColumn(word8 [4][MAXBC], word8);
+void InvMixColumn(word8 [4][MAXBC], word8);
 
 word8 mul(word8 a, word8 b) {
    /* multiply two elements of GF(2^m)