rocket-js 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -11
- data/Rakefile +33 -47
- data/lib/rocket/js.rb +0 -2
- data/lib/rocket/js/builder.rb +2 -2
- data/lib/rocket/js/cli.rb +1 -1
- data/rocket-js.gemspec +23 -80
- data/src/vendor/web-socket-js/FABridge.js +604 -0
- data/src/vendor/web-socket-js/README.txt +109 -0
- data/src/vendor/web-socket-js/WebSocketMain.swf +0 -0
- data/src/vendor/web-socket-js/WebSocketMainInsecure.zip +0 -0
- data/src/vendor/web-socket-js/flash-src/WebSocket.as +473 -0
- data/src/vendor/web-socket-js/flash-src/WebSocketMain.as +88 -0
- data/src/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as +19 -0
- data/src/vendor/web-socket-js/flash-src/WebSocketStateEvent.as +32 -0
- data/src/vendor/web-socket-js/flash-src/bridge/FABridge.as +943 -0
- data/src/vendor/web-socket-js/flash-src/build.sh +10 -0
- data/src/vendor/web-socket-js/flash-src/com/adobe/net/proxies/RFC2817Socket.as +204 -0
- data/src/vendor/web-socket-js/flash-src/com/gsolo/encryption/MD5.as +375 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/Crypto.as +287 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/MozillaRootCertificates.as +3235 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509Certificate.as +218 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509CertificateCollection.as +57 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/HMAC.as +82 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as +27 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as +21 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MAC.as +137 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD2.as +124 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD5.as +204 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA1.as +106 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as +28 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA256.as +115 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHABase.as +71 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/ARC4.as +90 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as +20 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/Random.as +119 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/TLSPRF.as +142 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/RSAKey.as +339 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/AESKey.as +2797 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/BlowFishKey.as +375 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CBCMode.as +55 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFB8Mode.as +61 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFBMode.as +64 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CTRMode.as +58 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/DESKey.as +365 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ECBMode.as +86 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as +21 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as +15 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as +32 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as +21 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ISymmetricKey.as +35 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IVMode.as +110 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as +34 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/OFBMode.as +52 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/PKCS5.as +44 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SSLPad.as +44 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SimpleIVMode.as +60 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TLSPad.as +42 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TripleDESKey.as +88 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/XTeaKey.as +94 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl +29 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt +2304 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/AESKeyTest.as +1220 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ARC4Test.as +58 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BigIntegerTest.as +39 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BlowFishKeyTest.as +148 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CBCModeTest.as +160 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFB8ModeTest.as +71 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFBModeTest.as +98 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CTRModeTest.as +109 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/DESKeyTest.as +112 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ECBModeTest.as +151 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/HMACTest.as +184 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as +20 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD2Test.as +56 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD5Test.as +58 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/OFBModeTest.as +101 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/RSAKeyTest.as +92 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA1Test.as +198 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA224Test.as +58 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA256Test.as +60 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TLSPRFTest.as +51 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as +42 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TripleDESKeyTest.as +59 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/XTeaKeyTest.as +66 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/BulkCiphers.as +102 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/CipherSuites.as +117 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as +14 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/ISecurityParameters.as +29 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as +24 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/MACs.as +38 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLConnectionState.as +171 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as +26 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLSecurityParameters.as +340 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConfig.as +70 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConnectionState.as +151 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEngine.as +895 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as +39 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as +27 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSecurityParameters.as +197 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocket.as +370 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as +26 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSTest.as +180 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/math/BarrettReduction.as +90 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/math/BigInteger.as +1543 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as +35 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as +11 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/math/MontgomeryReduction.as +85 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as +34 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as +11 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as +25 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/Base64.as +189 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/Hex.as +66 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as +28 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/ByteString.as +43 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/DER.as +210 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/IAsn1Type.as +21 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/Integer.as +44 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/OID.as +35 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/ObjectIdentifier.as +112 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/PEM.as +118 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/PrintableString.as +49 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/Sequence.as +90 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as +27 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/Type.as +94 -0
- data/src/vendor/web-socket-js/flash-src/com/hurlant/util/der/UTCTime.as +60 -0
- data/src/vendor/web-socket-js/sample.html +76 -0
- data/src/vendor/web-socket-js/swfobject.js +4 -0
- data/src/vendor/web-socket-js/web_socket.js +388 -0
- metadata +163 -30
- data/lib/rocket/js/version.rb +0 -14
- data/rocket-0.0.1.min.js +0 -45
@@ -0,0 +1,339 @@
|
|
1
|
+
/**
|
2
|
+
* RSAKey
|
3
|
+
*
|
4
|
+
* An ActionScript 3 implementation of RSA + PKCS#1 (light version)
|
5
|
+
* Copyright (c) 2007 Henri Torgemane
|
6
|
+
*
|
7
|
+
* Derived from:
|
8
|
+
* The jsbn library, Copyright (c) 2003-2005 Tom Wu
|
9
|
+
*
|
10
|
+
* See LICENSE.txt for full license information.
|
11
|
+
*/
|
12
|
+
package com.hurlant.crypto.rsa
|
13
|
+
{
|
14
|
+
import com.hurlant.crypto.prng.Random;
|
15
|
+
import com.hurlant.math.BigInteger;
|
16
|
+
import com.hurlant.util.Memory;
|
17
|
+
|
18
|
+
import flash.utils.ByteArray;
|
19
|
+
import com.hurlant.crypto.hash.IHash;
|
20
|
+
import com.hurlant.util.Hex;
|
21
|
+
import com.hurlant.util.der.DER;
|
22
|
+
import com.hurlant.util.der.OID;
|
23
|
+
import com.hurlant.util.ArrayUtil;
|
24
|
+
import com.hurlant.util.der.Type;
|
25
|
+
import com.hurlant.util.der.Sequence;
|
26
|
+
import com.hurlant.util.der.ObjectIdentifier;
|
27
|
+
import com.hurlant.util.der.ByteString;
|
28
|
+
import com.hurlant.crypto.tls.TLSError;
|
29
|
+
|
30
|
+
/**
|
31
|
+
* Current limitations:
|
32
|
+
* exponent must be smaller than 2^31.
|
33
|
+
*/
|
34
|
+
public class RSAKey
|
35
|
+
{
|
36
|
+
// public key
|
37
|
+
public var e:int; // public exponent. must be <2^31
|
38
|
+
public var n:BigInteger; // modulus
|
39
|
+
// private key
|
40
|
+
public var d:BigInteger;
|
41
|
+
// extended private key
|
42
|
+
public var p:BigInteger;
|
43
|
+
public var q:BigInteger;
|
44
|
+
public var dmp1:BigInteger
|
45
|
+
public var dmq1:BigInteger;
|
46
|
+
public var coeff:BigInteger;
|
47
|
+
// flags. flags are cool.
|
48
|
+
protected var canDecrypt:Boolean;
|
49
|
+
protected var canEncrypt:Boolean;
|
50
|
+
|
51
|
+
public function RSAKey(N:BigInteger, E:int,
|
52
|
+
D:BigInteger=null,
|
53
|
+
P:BigInteger = null, Q:BigInteger=null,
|
54
|
+
DP:BigInteger=null, DQ:BigInteger=null,
|
55
|
+
C:BigInteger=null) {
|
56
|
+
|
57
|
+
this.n = N;
|
58
|
+
this.e = E;
|
59
|
+
this.d = D;
|
60
|
+
this.p = P;
|
61
|
+
this.q = Q;
|
62
|
+
this.dmp1 = DP;
|
63
|
+
this.dmq1 = DQ;
|
64
|
+
this.coeff = C;
|
65
|
+
|
66
|
+
// adjust a few flags.
|
67
|
+
canEncrypt = (n!=null&&e!=0);
|
68
|
+
canDecrypt = (canEncrypt&&d!=null);
|
69
|
+
|
70
|
+
|
71
|
+
}
|
72
|
+
|
73
|
+
public static function parsePublicKey(N:String, E:String):RSAKey {
|
74
|
+
return new RSAKey(new BigInteger(N, 16, true), parseInt(E,16));
|
75
|
+
}
|
76
|
+
public static function parsePrivateKey(N:String, E:String, D:String,
|
77
|
+
P:String=null,Q:String=null, DMP1:String=null, DMQ1:String=null, IQMP:String=null):RSAKey {
|
78
|
+
if (P==null) {
|
79
|
+
return new RSAKey(new BigInteger(N,16, true), parseInt(E,16), new BigInteger(D,16, true));
|
80
|
+
} else {
|
81
|
+
return new RSAKey(new BigInteger(N,16, true), parseInt(E,16), new BigInteger(D,16, true),
|
82
|
+
new BigInteger(P,16, true), new BigInteger(Q,16, true),
|
83
|
+
new BigInteger(DMP1,16, true), new BigInteger(DMQ1, 16, true),
|
84
|
+
new BigInteger(IQMP, 16, true));
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
public function getBlockSize():uint {
|
89
|
+
return (n.bitLength()+7)/8;
|
90
|
+
}
|
91
|
+
public function dispose():void {
|
92
|
+
e = 0;
|
93
|
+
n.dispose();
|
94
|
+
n = null;
|
95
|
+
Memory.gc();
|
96
|
+
}
|
97
|
+
|
98
|
+
public function encrypt(src:ByteArray, dst:ByteArray, length:uint, pad:Function=null):void {
|
99
|
+
_encrypt(doPublic, src, dst, length, pad, 0x02);
|
100
|
+
}
|
101
|
+
public function decrypt(src:ByteArray, dst:ByteArray, length:uint, pad:Function=null):void {
|
102
|
+
_decrypt(doPrivate2, src, dst, length, pad, 0x02);
|
103
|
+
}
|
104
|
+
|
105
|
+
public function sign(src:ByteArray, dst:ByteArray, length:uint, pad:Function = null):void {
|
106
|
+
_encrypt(doPrivate2, src, dst, length, pad, 0x01);
|
107
|
+
}
|
108
|
+
public function verify(src:ByteArray, dst:ByteArray, length:uint, pad:Function = null):void {
|
109
|
+
_decrypt(doPublic, src, dst, length, pad, 0x01);
|
110
|
+
}
|
111
|
+
|
112
|
+
|
113
|
+
private function _encrypt(op:Function, src:ByteArray, dst:ByteArray, length:uint, pad:Function, padType:int):void {
|
114
|
+
// adjust pad if needed
|
115
|
+
if (pad==null) pad = pkcs1pad;
|
116
|
+
// convert src to BigInteger
|
117
|
+
if (src.position >= src.length) {
|
118
|
+
src.position = 0;
|
119
|
+
}
|
120
|
+
var bl:uint = getBlockSize();
|
121
|
+
var end:int = src.position + length;
|
122
|
+
while (src.position<end) {
|
123
|
+
var block:BigInteger = new BigInteger(pad(src, end, bl, padType), bl, true);
|
124
|
+
var chunk:BigInteger = op(block);
|
125
|
+
chunk.toArray(dst);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
private function _decrypt(op:Function, src:ByteArray, dst:ByteArray, length:uint, pad:Function, padType:int):void {
|
129
|
+
// adjust pad if needed
|
130
|
+
if (pad==null) pad = pkcs1unpad;
|
131
|
+
|
132
|
+
// convert src to BigInteger
|
133
|
+
if (src.position >= src.length) {
|
134
|
+
src.position = 0;
|
135
|
+
}
|
136
|
+
var bl:uint = getBlockSize();
|
137
|
+
var end:int = src.position + length;
|
138
|
+
while (src.position<end) {
|
139
|
+
var block:BigInteger = new BigInteger(src, bl, true);
|
140
|
+
var chunk:BigInteger = op(block);
|
141
|
+
var b:ByteArray = pad(chunk, bl, padType);
|
142
|
+
if (b == null)
|
143
|
+
throw new TLSError( "Decrypt error - padding function returned null!", TLSError.decode_error );
|
144
|
+
// if (b != null)
|
145
|
+
dst.writeBytes(b);
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
/**
|
150
|
+
* PKCS#1 pad. type 1 (0xff) or 2, random.
|
151
|
+
* puts as much data from src into it, leaves what doesn't fit alone.
|
152
|
+
*/
|
153
|
+
private function pkcs1pad(src:ByteArray, end:int, n:uint, type:uint = 0x02):ByteArray {
|
154
|
+
var out:ByteArray = new ByteArray;
|
155
|
+
var p:uint = src.position;
|
156
|
+
end = Math.min(end, src.length, p+n-11);
|
157
|
+
src.position = end;
|
158
|
+
var i:int = end-1;
|
159
|
+
while (i>=p && n>11) {
|
160
|
+
out[--n] = src[i--];
|
161
|
+
}
|
162
|
+
out[--n] = 0;
|
163
|
+
if (type==0x02) { // type 2
|
164
|
+
var rng:Random = new Random;
|
165
|
+
var x:int = 0;
|
166
|
+
while (n>2) {
|
167
|
+
do {
|
168
|
+
x = rng.nextByte();
|
169
|
+
} while (x==0);
|
170
|
+
out[--n] = x;
|
171
|
+
}
|
172
|
+
} else { // type 1
|
173
|
+
while (n>2) {
|
174
|
+
out[--n] = 0xFF;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
out[--n] = type;
|
178
|
+
out[--n] = 0;
|
179
|
+
return out;
|
180
|
+
}
|
181
|
+
|
182
|
+
/**
|
183
|
+
*
|
184
|
+
* @param src
|
185
|
+
* @param n
|
186
|
+
* @param type Not used.
|
187
|
+
* @return
|
188
|
+
*
|
189
|
+
*/
|
190
|
+
private function pkcs1unpad(src:BigInteger, n:uint, type:uint = 0x02):ByteArray {
|
191
|
+
var b:ByteArray = src.toByteArray();
|
192
|
+
var out:ByteArray = new ByteArray;
|
193
|
+
|
194
|
+
b.position = 0;
|
195
|
+
var i:int = 0;
|
196
|
+
while (i<b.length && b[i]==0) ++i;
|
197
|
+
if (b.length-i != n-1 || b[i]!=type) {
|
198
|
+
trace("PKCS#1 unpad: i="+i+", expected b[i]=="+type+", got b[i]="+b[i].toString(16));
|
199
|
+
return null;
|
200
|
+
}
|
201
|
+
++i;
|
202
|
+
while (b[i]!=0) {
|
203
|
+
if (++i>=b.length) {
|
204
|
+
trace("PKCS#1 unpad: i="+i+", b[i-1]!=0 (="+b[i-1].toString(16)+")");
|
205
|
+
return null;
|
206
|
+
}
|
207
|
+
}
|
208
|
+
while (++i < b.length) {
|
209
|
+
out.writeByte(b[i]);
|
210
|
+
}
|
211
|
+
out.position = 0;
|
212
|
+
return out;
|
213
|
+
}
|
214
|
+
/**
|
215
|
+
* Raw pad.
|
216
|
+
*/
|
217
|
+
public function rawpad(src:ByteArray, end:int, n:uint, type:uint = 0):ByteArray {
|
218
|
+
return src;
|
219
|
+
}
|
220
|
+
public function rawunpad(src:BigInteger, n:uint, type:uint = 0):ByteArray {
|
221
|
+
return src.toByteArray();
|
222
|
+
}
|
223
|
+
|
224
|
+
public function toString():String {
|
225
|
+
return "rsa";
|
226
|
+
}
|
227
|
+
|
228
|
+
public function dump():String {
|
229
|
+
var s:String= "N="+n.toString(16)+"\n"+
|
230
|
+
"E="+e.toString(16)+"\n";
|
231
|
+
if (canDecrypt) {
|
232
|
+
s+="D="+d.toString(16)+"\n";
|
233
|
+
if (p!=null && q!=null) {
|
234
|
+
s+="P="+p.toString(16)+"\n";
|
235
|
+
s+="Q="+q.toString(16)+"\n";
|
236
|
+
s+="DMP1="+dmp1.toString(16)+"\n";
|
237
|
+
s+="DMQ1="+dmq1.toString(16)+"\n";
|
238
|
+
s+="IQMP="+coeff.toString(16)+"\n";
|
239
|
+
}
|
240
|
+
}
|
241
|
+
return s;
|
242
|
+
}
|
243
|
+
|
244
|
+
|
245
|
+
/**
|
246
|
+
*
|
247
|
+
* note: We should have a "nice" variant of this function that takes a callback,
|
248
|
+
* and perform the computation is small fragments, to keep the web browser
|
249
|
+
* usable.
|
250
|
+
*
|
251
|
+
* @param B
|
252
|
+
* @param E
|
253
|
+
* @return a new random private key B bits long, using public expt E
|
254
|
+
*
|
255
|
+
*/
|
256
|
+
public static function generate(B:uint, E:String):RSAKey {
|
257
|
+
var rng:Random = new Random;
|
258
|
+
var qs:uint = B>>1;
|
259
|
+
var key:RSAKey = new RSAKey(null,0,null);
|
260
|
+
key.e = parseInt(E, 16);
|
261
|
+
var ee:BigInteger = new BigInteger(E,16, true);
|
262
|
+
for (;;) {
|
263
|
+
for (;;) {
|
264
|
+
key.p = bigRandom(B-qs, rng);
|
265
|
+
if (key.p.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE)==0 &&
|
266
|
+
key.p.isProbablePrime(10)) break;
|
267
|
+
}
|
268
|
+
for (;;) {
|
269
|
+
key.q = bigRandom(qs, rng);
|
270
|
+
if (key.q.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE)==0 &&
|
271
|
+
key.q.isProbablePrime(10)) break;
|
272
|
+
}
|
273
|
+
if (key.p.compareTo(key.q)<=0) {
|
274
|
+
var t:BigInteger = key.p;
|
275
|
+
key.p = key.q;
|
276
|
+
key.q = t;
|
277
|
+
}
|
278
|
+
var p1:BigInteger = key.p.subtract(BigInteger.ONE);
|
279
|
+
var q1:BigInteger = key.q.subtract(BigInteger.ONE);
|
280
|
+
var phi:BigInteger = p1.multiply(q1);
|
281
|
+
if (phi.gcd(ee).compareTo(BigInteger.ONE)==0) {
|
282
|
+
key.n = key.p.multiply(key.q);
|
283
|
+
key.d = ee.modInverse(phi);
|
284
|
+
key.dmp1 = key.d.mod(p1);
|
285
|
+
key.dmq1 = key.d.mod(q1);
|
286
|
+
key.coeff = key.q.modInverse(key.p);
|
287
|
+
break;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
return key;
|
291
|
+
}
|
292
|
+
|
293
|
+
protected static function bigRandom(bits:int, rnd:Random):BigInteger {
|
294
|
+
if (bits<2) return BigInteger.nbv(1);
|
295
|
+
var x:ByteArray = new ByteArray;
|
296
|
+
rnd.nextBytes(x, (bits>>3));
|
297
|
+
x.position = 0;
|
298
|
+
var b:BigInteger = new BigInteger(x,0,true);
|
299
|
+
b.primify(bits, 1);
|
300
|
+
return b;
|
301
|
+
}
|
302
|
+
|
303
|
+
protected function doPublic(x:BigInteger):BigInteger {
|
304
|
+
return x.modPowInt(e, n);
|
305
|
+
}
|
306
|
+
|
307
|
+
protected function doPrivate2(x:BigInteger):BigInteger {
|
308
|
+
if (p==null && q==null) {
|
309
|
+
return x.modPow(d,n);
|
310
|
+
}
|
311
|
+
|
312
|
+
var xp:BigInteger = x.mod(p).modPow(dmp1, p);
|
313
|
+
var xq:BigInteger = x.mod(q).modPow(dmq1, q);
|
314
|
+
|
315
|
+
while (xp.compareTo(xq)<0) {
|
316
|
+
xp = xp.add(p);
|
317
|
+
}
|
318
|
+
var r:BigInteger = xp.subtract(xq).multiply(coeff).mod(p).multiply(q).add(xq);
|
319
|
+
|
320
|
+
return r;
|
321
|
+
}
|
322
|
+
|
323
|
+
protected function doPrivate(x:BigInteger):BigInteger {
|
324
|
+
if (p==null || q==null) {
|
325
|
+
return x.modPow(d, n);
|
326
|
+
}
|
327
|
+
// TODO: re-calculate any missing CRT params
|
328
|
+
var xp:BigInteger = x.mod(p).modPow(dmp1, p);
|
329
|
+
var xq:BigInteger = x.mod(q).modPow(dmq1, q);
|
330
|
+
|
331
|
+
while (xp.compareTo(xq)<0) {
|
332
|
+
xp = xp.add(p);
|
333
|
+
}
|
334
|
+
return xp.subtract(xq).multiply(coeff).mod(p).multiply(q).add(xq);
|
335
|
+
}
|
336
|
+
|
337
|
+
|
338
|
+
}
|
339
|
+
}
|
@@ -0,0 +1,2797 @@
|
|
1
|
+
/**
|
2
|
+
* AESKey
|
3
|
+
*
|
4
|
+
* An ActionScript 3 implementation of the Advanced Encryption Standard, as
|
5
|
+
* defined in FIPS PUB 197
|
6
|
+
* Copyright (c) 2007 Henri Torgemane
|
7
|
+
*
|
8
|
+
* Derived from:
|
9
|
+
* A public domain implementation from Karl Malbrain, malbrain@yahoo.com
|
10
|
+
* (http://www.geocities.com/malbrain/aestable_c.html)
|
11
|
+
*
|
12
|
+
* See LICENSE.txt for full license information.
|
13
|
+
*/
|
14
|
+
package com.hurlant.crypto.symmetric
|
15
|
+
{
|
16
|
+
import com.hurlant.crypto.prng.Random;
|
17
|
+
import com.hurlant.util.Hex;
|
18
|
+
import com.hurlant.util.Memory;
|
19
|
+
|
20
|
+
import flash.utils.ByteArray;
|
21
|
+
|
22
|
+
public class AESKey implements ISymmetricKey
|
23
|
+
{
|
24
|
+
// AES only supports Nb=4
|
25
|
+
private static const Nb:uint = 4; // number of columns in the state & expanded key
|
26
|
+
|
27
|
+
// TODO:
|
28
|
+
// - move those tables in binary files, then
|
29
|
+
// - [Embed()] them as ByteArray directly.
|
30
|
+
// (should result in smaller .swf, and faster initialization time.)
|
31
|
+
|
32
|
+
private static const _Sbox:Array = [ // forward s-box
|
33
|
+
0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76,
|
34
|
+
0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0, 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0,
|
35
|
+
0xb7, 0xfd, 0x93, 0x26, 0x36, 0x3f, 0xf7, 0xcc, 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15,
|
36
|
+
0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2, 0xeb, 0x27, 0xb2, 0x75,
|
37
|
+
0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0, 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84,
|
38
|
+
0x53, 0xd1, 0x00, 0xed, 0x20, 0xfc, 0xb1, 0x5b, 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf,
|
39
|
+
0xd0, 0xef, 0xaa, 0xfb, 0x43, 0x4d, 0x33, 0x85, 0x45, 0xf9, 0x02, 0x7f, 0x50, 0x3c, 0x9f, 0xa8,
|
40
|
+
0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5, 0xbc, 0xb6, 0xda, 0x21, 0x10, 0xff, 0xf3, 0xd2,
|
41
|
+
0xcd, 0x0c, 0x13, 0xec, 0x5f, 0x97, 0x44, 0x17, 0xc4, 0xa7, 0x7e, 0x3d, 0x64, 0x5d, 0x19, 0x73,
|
42
|
+
0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88, 0x46, 0xee, 0xb8, 0x14, 0xde, 0x5e, 0x0b, 0xdb,
|
43
|
+
0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c, 0xc2, 0xd3, 0xac, 0x62, 0x91, 0x95, 0xe4, 0x79,
|
44
|
+
0xe7, 0xc8, 0x37, 0x6d, 0x8d, 0xd5, 0x4e, 0xa9, 0x6c, 0x56, 0xf4, 0xea, 0x65, 0x7a, 0xae, 0x08,
|
45
|
+
0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6, 0xe8, 0xdd, 0x74, 0x1f, 0x4b, 0xbd, 0x8b, 0x8a,
|
46
|
+
0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e, 0x61, 0x35, 0x57, 0xb9, 0x86, 0xc1, 0x1d, 0x9e,
|
47
|
+
0xe1, 0xf8, 0x98, 0x11, 0x69, 0xd9, 0x8e, 0x94, 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf,
|
48
|
+
0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f, 0xb0, 0x54, 0xbb, 0x16];
|
49
|
+
private static const _InvSbox:Array = [ // inverse s-box
|
50
|
+
0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38, 0xbf, 0x40, 0xa3, 0x9e, 0x81, 0xf3, 0xd7, 0xfb,
|
51
|
+
0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87, 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb,
|
52
|
+
0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, 0x23, 0x3d, 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e,
|
53
|
+
0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2, 0x76, 0x5b, 0xa2, 0x49, 0x6d, 0x8b, 0xd1, 0x25,
|
54
|
+
0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xd4, 0xa4, 0x5c, 0xcc, 0x5d, 0x65, 0xb6, 0x92,
|
55
|
+
0x6c, 0x70, 0x48, 0x50, 0xfd, 0xed, 0xb9, 0xda, 0x5e, 0x15, 0x46, 0x57, 0xa7, 0x8d, 0x9d, 0x84,
|
56
|
+
0x90, 0xd8, 0xab, 0x00, 0x8c, 0xbc, 0xd3, 0x0a, 0xf7, 0xe4, 0x58, 0x05, 0xb8, 0xb3, 0x45, 0x06,
|
57
|
+
0xd0, 0x2c, 0x1e, 0x8f, 0xca, 0x3f, 0x0f, 0x02, 0xc1, 0xaf, 0xbd, 0x03, 0x01, 0x13, 0x8a, 0x6b,
|
58
|
+
0x3a, 0x91, 0x11, 0x41, 0x4f, 0x67, 0xdc, 0xea, 0x97, 0xf2, 0xcf, 0xce, 0xf0, 0xb4, 0xe6, 0x73,
|
59
|
+
0x96, 0xac, 0x74, 0x22, 0xe7, 0xad, 0x35, 0x85, 0xe2, 0xf9, 0x37, 0xe8, 0x1c, 0x75, 0xdf, 0x6e,
|
60
|
+
0x47, 0xf1, 0x1a, 0x71, 0x1d, 0x29, 0xc5, 0x89, 0x6f, 0xb7, 0x62, 0x0e, 0xaa, 0x18, 0xbe, 0x1b,
|
61
|
+
0xfc, 0x56, 0x3e, 0x4b, 0xc6, 0xd2, 0x79, 0x20, 0x9a, 0xdb, 0xc0, 0xfe, 0x78, 0xcd, 0x5a, 0xf4,
|
62
|
+
0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31, 0xb1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xec, 0x5f,
|
63
|
+
0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d, 0x2d, 0xe5, 0x7a, 0x9f, 0x93, 0xc9, 0x9c, 0xef,
|
64
|
+
0xa0, 0xe0, 0x3b, 0x4d, 0xae, 0x2a, 0xf5, 0xb0, 0xc8, 0xeb, 0xbb, 0x3c, 0x83, 0x53, 0x99, 0x61,
|
65
|
+
0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26, 0xe1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0c, 0x7d];
|
66
|
+
private static const _Xtime2Sbox:Array = [ // combined Xtimes2[Sbox[]]
|
67
|
+
0xc6, 0xf8, 0xee, 0xf6, 0xff, 0xd6, 0xde, 0x91, 0x60, 0x02, 0xce, 0x56, 0xe7, 0xb5, 0x4d, 0xec,
|
68
|
+
0x8f, 0x1f, 0x89, 0xfa, 0xef, 0xb2, 0x8e, 0xfb, 0x41, 0xb3, 0x5f, 0x45, 0x23, 0x53, 0xe4, 0x9b,
|
69
|
+
0x75, 0xe1, 0x3d, 0x4c, 0x6c, 0x7e, 0xf5, 0x83, 0x68, 0x51, 0xd1, 0xf9, 0xe2, 0xab, 0x62, 0x2a,
|
70
|
+
0x08, 0x95, 0x46, 0x9d, 0x30, 0x37, 0x0a, 0x2f, 0x0e, 0x24, 0x1b, 0xdf, 0xcd, 0x4e, 0x7f, 0xea,
|
71
|
+
0x12, 0x1d, 0x58, 0x34, 0x36, 0xdc, 0xb4, 0x5b, 0xa4, 0x76, 0xb7, 0x7d, 0x52, 0xdd, 0x5e, 0x13,
|
72
|
+
0xa6, 0xb9, 0x00, 0xc1, 0x40, 0xe3, 0x79, 0xb6, 0xd4, 0x8d, 0x67, 0x72, 0x94, 0x98, 0xb0, 0x85,
|
73
|
+
0xbb, 0xc5, 0x4f, 0xed, 0x86, 0x9a, 0x66, 0x11, 0x8a, 0xe9, 0x04, 0xfe, 0xa0, 0x78, 0x25, 0x4b,
|
74
|
+
0xa2, 0x5d, 0x80, 0x05, 0x3f, 0x21, 0x70, 0xf1, 0x63, 0x77, 0xaf, 0x42, 0x20, 0xe5, 0xfd, 0xbf,
|
75
|
+
0x81, 0x18, 0x26, 0xc3, 0xbe, 0x35, 0x88, 0x2e, 0x93, 0x55, 0xfc, 0x7a, 0xc8, 0xba, 0x32, 0xe6,
|
76
|
+
0xc0, 0x19, 0x9e, 0xa3, 0x44, 0x54, 0x3b, 0x0b, 0x8c, 0xc7, 0x6b, 0x28, 0xa7, 0xbc, 0x16, 0xad,
|
77
|
+
0xdb, 0x64, 0x74, 0x14, 0x92, 0x0c, 0x48, 0xb8, 0x9f, 0xbd, 0x43, 0xc4, 0x39, 0x31, 0xd3, 0xf2,
|
78
|
+
0xd5, 0x8b, 0x6e, 0xda, 0x01, 0xb1, 0x9c, 0x49, 0xd8, 0xac, 0xf3, 0xcf, 0xca, 0xf4, 0x47, 0x10,
|
79
|
+
0x6f, 0xf0, 0x4a, 0x5c, 0x38, 0x57, 0x73, 0x97, 0xcb, 0xa1, 0xe8, 0x3e, 0x96, 0x61, 0x0d, 0x0f,
|
80
|
+
0xe0, 0x7c, 0x71, 0xcc, 0x90, 0x06, 0xf7, 0x1c, 0xc2, 0x6a, 0xae, 0x69, 0x17, 0x99, 0x3a, 0x27,
|
81
|
+
0xd9, 0xeb, 0x2b, 0x22, 0xd2, 0xa9, 0x07, 0x33, 0x2d, 0x3c, 0x15, 0xc9, 0x87, 0xaa, 0x50, 0xa5,
|
82
|
+
0x03, 0x59, 0x09, 0x1a, 0x65, 0xd7, 0x84, 0xd0, 0x82, 0x29, 0x5a, 0x1e, 0x7b, 0xa8, 0x6d, 0x2c];
|
83
|
+
private static const _Xtime3Sbox:Array = [ // combined Xtimes3[Sbox[]]
|
84
|
+
0xa5, 0x84, 0x99, 0x8d, 0x0d, 0xbd, 0xb1, 0x54, 0x50, 0x03, 0xa9, 0x7d, 0x19, 0x62, 0xe6, 0x9a,
|
85
|
+
0x45, 0x9d, 0x40, 0x87, 0x15, 0xeb, 0xc9, 0x0b, 0xec, 0x67, 0xfd, 0xea, 0xbf, 0xf7, 0x96, 0x5b,
|
86
|
+
0xc2, 0x1c, 0xae, 0x6a, 0x5a, 0x41, 0x02, 0x4f, 0x5c, 0xf4, 0x34, 0x08, 0x93, 0x73, 0x53, 0x3f,
|
87
|
+
0x0c, 0x52, 0x65, 0x5e, 0x28, 0xa1, 0x0f, 0xb5, 0x09, 0x36, 0x9b, 0x3d, 0x26, 0x69, 0xcd, 0x9f,
|
88
|
+
0x1b, 0x9e, 0x74, 0x2e, 0x2d, 0xb2, 0xee, 0xfb, 0xf6, 0x4d, 0x61, 0xce, 0x7b, 0x3e, 0x71, 0x97,
|
89
|
+
0xf5, 0x68, 0x00, 0x2c, 0x60, 0x1f, 0xc8, 0xed, 0xbe, 0x46, 0xd9, 0x4b, 0xde, 0xd4, 0xe8, 0x4a,
|
90
|
+
0x6b, 0x2a, 0xe5, 0x16, 0xc5, 0xd7, 0x55, 0x94, 0xcf, 0x10, 0x06, 0x81, 0xf0, 0x44, 0xba, 0xe3,
|
91
|
+
0xf3, 0xfe, 0xc0, 0x8a, 0xad, 0xbc, 0x48, 0x04, 0xdf, 0xc1, 0x75, 0x63, 0x30, 0x1a, 0x0e, 0x6d,
|
92
|
+
0x4c, 0x14, 0x35, 0x2f, 0xe1, 0xa2, 0xcc, 0x39, 0x57, 0xf2, 0x82, 0x47, 0xac, 0xe7, 0x2b, 0x95,
|
93
|
+
0xa0, 0x98, 0xd1, 0x7f, 0x66, 0x7e, 0xab, 0x83, 0xca, 0x29, 0xd3, 0x3c, 0x79, 0xe2, 0x1d, 0x76,
|
94
|
+
0x3b, 0x56, 0x4e, 0x1e, 0xdb, 0x0a, 0x6c, 0xe4, 0x5d, 0x6e, 0xef, 0xa6, 0xa8, 0xa4, 0x37, 0x8b,
|
95
|
+
0x32, 0x43, 0x59, 0xb7, 0x8c, 0x64, 0xd2, 0xe0, 0xb4, 0xfa, 0x07, 0x25, 0xaf, 0x8e, 0xe9, 0x18,
|
96
|
+
0xd5, 0x88, 0x6f, 0x72, 0x24, 0xf1, 0xc7, 0x51, 0x23, 0x7c, 0x9c, 0x21, 0xdd, 0xdc, 0x86, 0x85,
|
97
|
+
0x90, 0x42, 0xc4, 0xaa, 0xd8, 0x05, 0x01, 0x12, 0xa3, 0x5f, 0xf9, 0xd0, 0x91, 0x58, 0x27, 0xb9,
|
98
|
+
0x38, 0x13, 0xb3, 0x33, 0xbb, 0x70, 0x89, 0xa7, 0xb6, 0x22, 0x92, 0x20, 0x49, 0xff, 0x78, 0x7a,
|
99
|
+
0x8f, 0xf8, 0x80, 0x17, 0xda, 0x31, 0xc6, 0xb8, 0xc3, 0xb0, 0x77, 0x11, 0xcb, 0xfc, 0xd6, 0x3a];
|
100
|
+
// modular multiplication tables
|
101
|
+
// based on:
|
102
|
+
|
103
|
+
// Xtime2[x] = (x & 0x80 ? 0x1b : 0) ^ (x + x)
|
104
|
+
// Xtime3[x] = x^Xtime2[x];
|
105
|
+
private static const _Xtime2:Array = [
|
106
|
+
0x00, 0x02, 0x04, 0x06, 0x08, 0x0a, 0x0c, 0x0e, 0x10, 0x12, 0x14, 0x16, 0x18, 0x1a, 0x1c, 0x1e,
|
107
|
+
0x20, 0x22, 0x24, 0x26, 0x28, 0x2a, 0x2c, 0x2e, 0x30, 0x32, 0x34, 0x36, 0x38, 0x3a, 0x3c, 0x3e,
|
108
|
+
0x40, 0x42, 0x44, 0x46, 0x48, 0x4a, 0x4c, 0x4e, 0x50, 0x52, 0x54, 0x56, 0x58, 0x5a, 0x5c, 0x5e,
|
109
|
+
0x60, 0x62, 0x64, 0x66, 0x68, 0x6a, 0x6c, 0x6e, 0x70, 0x72, 0x74, 0x76, 0x78, 0x7a, 0x7c, 0x7e,
|
110
|
+
0x80, 0x82, 0x84, 0x86, 0x88, 0x8a, 0x8c, 0x8e, 0x90, 0x92, 0x94, 0x96, 0x98, 0x9a, 0x9c, 0x9e,
|
111
|
+
0xa0, 0xa2, 0xa4, 0xa6, 0xa8, 0xaa, 0xac, 0xae, 0xb0, 0xb2, 0xb4, 0xb6, 0xb8, 0xba, 0xbc, 0xbe,
|
112
|
+
0xc0, 0xc2, 0xc4, 0xc6, 0xc8, 0xca, 0xcc, 0xce, 0xd0, 0xd2, 0xd4, 0xd6, 0xd8, 0xda, 0xdc, 0xde,
|
113
|
+
0xe0, 0xe2, 0xe4, 0xe6, 0xe8, 0xea, 0xec, 0xee, 0xf0, 0xf2, 0xf4, 0xf6, 0xf8, 0xfa, 0xfc, 0xfe,
|
114
|
+
0x1b, 0x19, 0x1f, 0x1d, 0x13, 0x11, 0x17, 0x15, 0x0b, 0x09, 0x0f, 0x0d, 0x03, 0x01, 0x07, 0x05,
|
115
|
+
0x3b, 0x39, 0x3f, 0x3d, 0x33, 0x31, 0x37, 0x35, 0x2b, 0x29, 0x2f, 0x2d, 0x23, 0x21, 0x27, 0x25,
|
116
|
+
0x5b, 0x59, 0x5f, 0x5d, 0x53, 0x51, 0x57, 0x55, 0x4b, 0x49, 0x4f, 0x4d, 0x43, 0x41, 0x47, 0x45,
|
117
|
+
0x7b, 0x79, 0x7f, 0x7d, 0x73, 0x71, 0x77, 0x75, 0x6b, 0x69, 0x6f, 0x6d, 0x63, 0x61, 0x67, 0x65,
|
118
|
+
0x9b, 0x99, 0x9f, 0x9d, 0x93, 0x91, 0x97, 0x95, 0x8b, 0x89, 0x8f, 0x8d, 0x83, 0x81, 0x87, 0x85,
|
119
|
+
0xbb, 0xb9, 0xbf, 0xbd, 0xb3, 0xb1, 0xb7, 0xb5, 0xab, 0xa9, 0xaf, 0xad, 0xa3, 0xa1, 0xa7, 0xa5,
|
120
|
+
0xdb, 0xd9, 0xdf, 0xdd, 0xd3, 0xd1, 0xd7, 0xd5, 0xcb, 0xc9, 0xcf, 0xcd, 0xc3, 0xc1, 0xc7, 0xc5,
|
121
|
+
0xfb, 0xf9, 0xff, 0xfd, 0xf3, 0xf1, 0xf7, 0xf5, 0xeb, 0xe9, 0xef, 0xed, 0xe3, 0xe1, 0xe7, 0xe5];
|
122
|
+
private static const _Xtime9:Array = [
|
123
|
+
0x00, 0x09, 0x12, 0x1b, 0x24, 0x2d, 0x36, 0x3f, 0x48, 0x41, 0x5a, 0x53, 0x6c, 0x65, 0x7e, 0x77,
|
124
|
+
0x90, 0x99, 0x82, 0x8b, 0xb4, 0xbd, 0xa6, 0xaf, 0xd8, 0xd1, 0xca, 0xc3, 0xfc, 0xf5, 0xee, 0xe7,
|
125
|
+
0x3b, 0x32, 0x29, 0x20, 0x1f, 0x16, 0x0d, 0x04, 0x73, 0x7a, 0x61, 0x68, 0x57, 0x5e, 0x45, 0x4c,
|
126
|
+
0xab, 0xa2, 0xb9, 0xb0, 0x8f, 0x86, 0x9d, 0x94, 0xe3, 0xea, 0xf1, 0xf8, 0xc7, 0xce, 0xd5, 0xdc,
|
127
|
+
0x76, 0x7f, 0x64, 0x6d, 0x52, 0x5b, 0x40, 0x49, 0x3e, 0x37, 0x2c, 0x25, 0x1a, 0x13, 0x08, 0x01,
|
128
|
+
0xe6, 0xef, 0xf4, 0xfd, 0xc2, 0xcb, 0xd0, 0xd9, 0xae, 0xa7, 0xbc, 0xb5, 0x8a, 0x83, 0x98, 0x91,
|
129
|
+
0x4d, 0x44, 0x5f, 0x56, 0x69, 0x60, 0x7b, 0x72, 0x05, 0x0c, 0x17, 0x1e, 0x21, 0x28, 0x33, 0x3a,
|
130
|
+
0xdd, 0xd4, 0xcf, 0xc6, 0xf9, 0xf0, 0xeb, 0xe2, 0x95, 0x9c, 0x87, 0x8e, 0xb1, 0xb8, 0xa3, 0xaa,
|
131
|
+
0xec, 0xe5, 0xfe, 0xf7, 0xc8, 0xc1, 0xda, 0xd3, 0xa4, 0xad, 0xb6, 0xbf, 0x80, 0x89, 0x92, 0x9b,
|
132
|
+
0x7c, 0x75, 0x6e, 0x67, 0x58, 0x51, 0x4a, 0x43, 0x34, 0x3d, 0x26, 0x2f, 0x10, 0x19, 0x02, 0x0b,
|
133
|
+
0xd7, 0xde, 0xc5, 0xcc, 0xf3, 0xfa, 0xe1, 0xe8, 0x9f, 0x96, 0x8d, 0x84, 0xbb, 0xb2, 0xa9, 0xa0,
|
134
|
+
0x47, 0x4e, 0x55, 0x5c, 0x63, 0x6a, 0x71, 0x78, 0x0f, 0x06, 0x1d, 0x14, 0x2b, 0x22, 0x39, 0x30,
|
135
|
+
0x9a, 0x93, 0x88, 0x81, 0xbe, 0xb7, 0xac, 0xa5, 0xd2, 0xdb, 0xc0, 0xc9, 0xf6, 0xff, 0xe4, 0xed,
|
136
|
+
0x0a, 0x03, 0x18, 0x11, 0x2e, 0x27, 0x3c, 0x35, 0x42, 0x4b, 0x50, 0x59, 0x66, 0x6f, 0x74, 0x7d,
|
137
|
+
0xa1, 0xa8, 0xb3, 0xba, 0x85, 0x8c, 0x97, 0x9e, 0xe9, 0xe0, 0xfb, 0xf2, 0xcd, 0xc4, 0xdf, 0xd6,
|
138
|
+
0x31, 0x38, 0x23, 0x2a, 0x15, 0x1c, 0x07, 0x0e, 0x79, 0x70, 0x6b, 0x62, 0x5d, 0x54, 0x4f, 0x46];
|
139
|
+
private static const _XtimeB:Array = [
|
140
|
+
0x00, 0x0b, 0x16, 0x1d, 0x2c, 0x27, 0x3a, 0x31, 0x58, 0x53, 0x4e, 0x45, 0x74, 0x7f, 0x62, 0x69,
|
141
|
+
0xb0, 0xbb, 0xa6, 0xad, 0x9c, 0x97, 0x8a, 0x81, 0xe8, 0xe3, 0xfe, 0xf5, 0xc4, 0xcf, 0xd2, 0xd9,
|
142
|
+
0x7b, 0x70, 0x6d, 0x66, 0x57, 0x5c, 0x41, 0x4a, 0x23, 0x28, 0x35, 0x3e, 0x0f, 0x04, 0x19, 0x12,
|
143
|
+
0xcb, 0xc0, 0xdd, 0xd6, 0xe7, 0xec, 0xf1, 0xfa, 0x93, 0x98, 0x85, 0x8e, 0xbf, 0xb4, 0xa9, 0xa2,
|
144
|
+
0xf6, 0xfd, 0xe0, 0xeb, 0xda, 0xd1, 0xcc, 0xc7, 0xae, 0xa5, 0xb8, 0xb3, 0x82, 0x89, 0x94, 0x9f,
|
145
|
+
0x46, 0x4d, 0x50, 0x5b, 0x6a, 0x61, 0x7c, 0x77, 0x1e, 0x15, 0x08, 0x03, 0x32, 0x39, 0x24, 0x2f,
|
146
|
+
0x8d, 0x86, 0x9b, 0x90, 0xa1, 0xaa, 0xb7, 0xbc, 0xd5, 0xde, 0xc3, 0xc8, 0xf9, 0xf2, 0xef, 0xe4,
|
147
|
+
0x3d, 0x36, 0x2b, 0x20, 0x11, 0x1a, 0x07, 0x0c, 0x65, 0x6e, 0x73, 0x78, 0x49, 0x42, 0x5f, 0x54,
|
148
|
+
0xf7, 0xfc, 0xe1, 0xea, 0xdb, 0xd0, 0xcd, 0xc6, 0xaf, 0xa4, 0xb9, 0xb2, 0x83, 0x88, 0x95, 0x9e,
|
149
|
+
0x47, 0x4c, 0x51, 0x5a, 0x6b, 0x60, 0x7d, 0x76, 0x1f, 0x14, 0x09, 0x02, 0x33, 0x38, 0x25, 0x2e,
|
150
|
+
0x8c, 0x87, 0x9a, 0x91, 0xa0, 0xab, 0xb6, 0xbd, 0xd4, 0xdf, 0xc2, 0xc9, 0xf8, 0xf3, 0xee, 0xe5,
|
151
|
+
0x3c, 0x37, 0x2a, 0x21, 0x10, 0x1b, 0x06, 0x0d, 0x64, 0x6f, 0x72, 0x79, 0x48, 0x43, 0x5e, 0x55,
|
152
|
+
0x01, 0x0a, 0x17, 0x1c, 0x2d, 0x26, 0x3b, 0x30, 0x59, 0x52, 0x4f, 0x44, 0x75, 0x7e, 0x63, 0x68,
|
153
|
+
0xb1, 0xba, 0xa7, 0xac, 0x9d, 0x96, 0x8b, 0x80, 0xe9, 0xe2, 0xff, 0xf4, 0xc5, 0xce, 0xd3, 0xd8,
|
154
|
+
0x7a, 0x71, 0x6c, 0x67, 0x56, 0x5d, 0x40, 0x4b, 0x22, 0x29, 0x34, 0x3f, 0x0e, 0x05, 0x18, 0x13,
|
155
|
+
0xca, 0xc1, 0xdc, 0xd7, 0xe6, 0xed, 0xf0, 0xfb, 0x92, 0x99, 0x84, 0x8f, 0xbe, 0xb5, 0xa8, 0xa3];
|
156
|
+
private static const _XtimeD:Array = [
|
157
|
+
0x00, 0x0d, 0x1a, 0x17, 0x34, 0x39, 0x2e, 0x23, 0x68, 0x65, 0x72, 0x7f, 0x5c, 0x51, 0x46, 0x4b,
|
158
|
+
0xd0, 0xdd, 0xca, 0xc7, 0xe4, 0xe9, 0xfe, 0xf3, 0xb8, 0xb5, 0xa2, 0xaf, 0x8c, 0x81, 0x96, 0x9b,
|
159
|
+
0xbb, 0xb6, 0xa1, 0xac, 0x8f, 0x82, 0x95, 0x98, 0xd3, 0xde, 0xc9, 0xc4, 0xe7, 0xea, 0xfd, 0xf0,
|
160
|
+
0x6b, 0x66, 0x71, 0x7c, 0x5f, 0x52, 0x45, 0x48, 0x03, 0x0e, 0x19, 0x14, 0x37, 0x3a, 0x2d, 0x20,
|
161
|
+
0x6d, 0x60, 0x77, 0x7a, 0x59, 0x54, 0x43, 0x4e, 0x05, 0x08, 0x1f, 0x12, 0x31, 0x3c, 0x2b, 0x26,
|
162
|
+
0xbd, 0xb0, 0xa7, 0xaa, 0x89, 0x84, 0x93, 0x9e, 0xd5, 0xd8, 0xcf, 0xc2, 0xe1, 0xec, 0xfb, 0xf6,
|
163
|
+
0xd6, 0xdb, 0xcc, 0xc1, 0xe2, 0xef, 0xf8, 0xf5, 0xbe, 0xb3, 0xa4, 0xa9, 0x8a, 0x87, 0x90, 0x9d,
|
164
|
+
0x06, 0x0b, 0x1c, 0x11, 0x32, 0x3f, 0x28, 0x25, 0x6e, 0x63, 0x74, 0x79, 0x5a, 0x57, 0x40, 0x4d,
|
165
|
+
0xda, 0xd7, 0xc0, 0xcd, 0xee, 0xe3, 0xf4, 0xf9, 0xb2, 0xbf, 0xa8, 0xa5, 0x86, 0x8b, 0x9c, 0x91,
|
166
|
+
0x0a, 0x07, 0x10, 0x1d, 0x3e, 0x33, 0x24, 0x29, 0x62, 0x6f, 0x78, 0x75, 0x56, 0x5b, 0x4c, 0x41,
|
167
|
+
0x61, 0x6c, 0x7b, 0x76, 0x55, 0x58, 0x4f, 0x42, 0x09, 0x04, 0x13, 0x1e, 0x3d, 0x30, 0x27, 0x2a,
|
168
|
+
0xb1, 0xbc, 0xab, 0xa6, 0x85, 0x88, 0x9f, 0x92, 0xd9, 0xd4, 0xc3, 0xce, 0xed, 0xe0, 0xf7, 0xfa,
|
169
|
+
0xb7, 0xba, 0xad, 0xa0, 0x83, 0x8e, 0x99, 0x94, 0xdf, 0xd2, 0xc5, 0xc8, 0xeb, 0xe6, 0xf1, 0xfc,
|
170
|
+
0x67, 0x6a, 0x7d, 0x70, 0x53, 0x5e, 0x49, 0x44, 0x0f, 0x02, 0x15, 0x18, 0x3b, 0x36, 0x21, 0x2c,
|
171
|
+
0x0c, 0x01, 0x16, 0x1b, 0x38, 0x35, 0x22, 0x2f, 0x64, 0x69, 0x7e, 0x73, 0x50, 0x5d, 0x4a, 0x47,
|
172
|
+
0xdc, 0xd1, 0xc6, 0xcb, 0xe8, 0xe5, 0xf2, 0xff, 0xb4, 0xb9, 0xae, 0xa3, 0x80, 0x8d, 0x9a, 0x97];
|
173
|
+
private static const _XtimeE:Array = [
|
174
|
+
0x00, 0x0e, 0x1c, 0x12, 0x38, 0x36, 0x24, 0x2a, 0x70, 0x7e, 0x6c, 0x62, 0x48, 0x46, 0x54, 0x5a,
|
175
|
+
0xe0, 0xee, 0xfc, 0xf2, 0xd8, 0xd6, 0xc4, 0xca, 0x90, 0x9e, 0x8c, 0x82, 0xa8, 0xa6, 0xb4, 0xba,
|
176
|
+
0xdb, 0xd5, 0xc7, 0xc9, 0xe3, 0xed, 0xff, 0xf1, 0xab, 0xa5, 0xb7, 0xb9, 0x93, 0x9d, 0x8f, 0x81,
|
177
|
+
0x3b, 0x35, 0x27, 0x29, 0x03, 0x0d, 0x1f, 0x11, 0x4b, 0x45, 0x57, 0x59, 0x73, 0x7d, 0x6f, 0x61,
|
178
|
+
0xad, 0xa3, 0xb1, 0xbf, 0x95, 0x9b, 0x89, 0x87, 0xdd, 0xd3, 0xc1, 0xcf, 0xe5, 0xeb, 0xf9, 0xf7,
|
179
|
+
0x4d, 0x43, 0x51, 0x5f, 0x75, 0x7b, 0x69, 0x67, 0x3d, 0x33, 0x21, 0x2f, 0x05, 0x0b, 0x19, 0x17,
|
180
|
+
0x76, 0x78, 0x6a, 0x64, 0x4e, 0x40, 0x52, 0x5c, 0x06, 0x08, 0x1a, 0x14, 0x3e, 0x30, 0x22, 0x2c,
|
181
|
+
0x96, 0x98, 0x8a, 0x84, 0xae, 0xa0, 0xb2, 0xbc, 0xe6, 0xe8, 0xfa, 0xf4, 0xde, 0xd0, 0xc2, 0xcc,
|
182
|
+
0x41, 0x4f, 0x5d, 0x53, 0x79, 0x77, 0x65, 0x6b, 0x31, 0x3f, 0x2d, 0x23, 0x09, 0x07, 0x15, 0x1b,
|
183
|
+
0xa1, 0xaf, 0xbd, 0xb3, 0x99, 0x97, 0x85, 0x8b, 0xd1, 0xdf, 0xcd, 0xc3, 0xe9, 0xe7, 0xf5, 0xfb,
|
184
|
+
0x9a, 0x94, 0x86, 0x88, 0xa2, 0xac, 0xbe, 0xb0, 0xea, 0xe4, 0xf6, 0xf8, 0xd2, 0xdc, 0xce, 0xc0,
|
185
|
+
0x7a, 0x74, 0x66, 0x68, 0x42, 0x4c, 0x5e, 0x50, 0x0a, 0x04, 0x16, 0x18, 0x32, 0x3c, 0x2e, 0x20,
|
186
|
+
0xec, 0xe2, 0xf0, 0xfe, 0xd4, 0xda, 0xc8, 0xc6, 0x9c, 0x92, 0x80, 0x8e, 0xa4, 0xaa, 0xb8, 0xb6,
|
187
|
+
0x0c, 0x02, 0x10, 0x1e, 0x34, 0x3a, 0x28, 0x26, 0x7c, 0x72, 0x60, 0x6e, 0x44, 0x4a, 0x58, 0x56,
|
188
|
+
0x37, 0x39, 0x2b, 0x25, 0x0f, 0x01, 0x13, 0x1d, 0x47, 0x49, 0x5b, 0x55, 0x7f, 0x71, 0x63, 0x6d,
|
189
|
+
0xd7, 0xd9, 0xcb, 0xc5, 0xef, 0xe1, 0xf3, 0xfd, 0xa7, 0xa9, 0xbb, 0xb5, 0x9f, 0x91, 0x83, 0x8d];
|
190
|
+
static private var _Rcon:Array = [
|
191
|
+
0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];
|
192
|
+
static private var Sbox:ByteArray;
|
193
|
+
static private var InvSbox:ByteArray;
|
194
|
+
static private var Xtime2Sbox:ByteArray
|
195
|
+
static private var Xtime3Sbox:ByteArray
|
196
|
+
static private var Xtime2:ByteArray;
|
197
|
+
static private var Xtime9:ByteArray;
|
198
|
+
static private var XtimeB:ByteArray;
|
199
|
+
static private var XtimeD:ByteArray;
|
200
|
+
static private var XtimeE:ByteArray;
|
201
|
+
static private var Rcon:ByteArray;
|
202
|
+
// static initializer
|
203
|
+
{
|
204
|
+
static private var i:uint;
|
205
|
+
Sbox = new ByteArray;
|
206
|
+
InvSbox = new ByteArray;
|
207
|
+
Xtime2Sbox = new ByteArray;
|
208
|
+
Xtime3Sbox = new ByteArray;
|
209
|
+
Xtime2 = new ByteArray;
|
210
|
+
Xtime9 = new ByteArray;
|
211
|
+
XtimeB = new ByteArray;
|
212
|
+
XtimeD = new ByteArray;
|
213
|
+
XtimeE = new ByteArray;
|
214
|
+
/*
|
215
|
+
for (i=0;i<256;i++) {
|
216
|
+
Sbox[i] = _Sbox[i];
|
217
|
+
InvSbox[i] = _InvSbox[i];
|
218
|
+
Xtime2Sbox[i] = _Xtime2Sbox[i];
|
219
|
+
Xtime3Sbox[i] = _Xtime3Sbox[i];
|
220
|
+
Xtime2[i] = _Xtime2[i];
|
221
|
+
Xtime9[i] = _Xtime9[i];
|
222
|
+
XtimeB[i] = _XtimeB[i];
|
223
|
+
XtimeD[i] = _XtimeD[i];
|
224
|
+
XtimeE[i] = _XtimeE[i];
|
225
|
+
}
|
226
|
+
*/
|
227
|
+
Sbox[0] = _Sbox[0]
|
228
|
+
InvSbox[0] = _InvSbox[0]
|
229
|
+
Xtime2Sbox[0] = _Xtime2Sbox[0]
|
230
|
+
Xtime3Sbox[0] = _Xtime3Sbox[0]
|
231
|
+
Xtime2[0] = _Xtime2[0]
|
232
|
+
Xtime9[0] = _Xtime9[0]
|
233
|
+
XtimeB[0] = _XtimeB[0]
|
234
|
+
XtimeD[0] = _XtimeD[0]
|
235
|
+
XtimeE[0] = _XtimeE[0]
|
236
|
+
Sbox[1] = _Sbox[1]
|
237
|
+
InvSbox[1] = _InvSbox[1]
|
238
|
+
Xtime2Sbox[1] = _Xtime2Sbox[1]
|
239
|
+
Xtime3Sbox[1] = _Xtime3Sbox[1]
|
240
|
+
Xtime2[1] = _Xtime2[1]
|
241
|
+
Xtime9[1] = _Xtime9[1]
|
242
|
+
XtimeB[1] = _XtimeB[1]
|
243
|
+
XtimeD[1] = _XtimeD[1]
|
244
|
+
XtimeE[1] = _XtimeE[1]
|
245
|
+
Sbox[2] = _Sbox[2]
|
246
|
+
InvSbox[2] = _InvSbox[2]
|
247
|
+
Xtime2Sbox[2] = _Xtime2Sbox[2]
|
248
|
+
Xtime3Sbox[2] = _Xtime3Sbox[2]
|
249
|
+
Xtime2[2] = _Xtime2[2]
|
250
|
+
Xtime9[2] = _Xtime9[2]
|
251
|
+
XtimeB[2] = _XtimeB[2]
|
252
|
+
XtimeD[2] = _XtimeD[2]
|
253
|
+
XtimeE[2] = _XtimeE[2]
|
254
|
+
Sbox[3] = _Sbox[3]
|
255
|
+
InvSbox[3] = _InvSbox[3]
|
256
|
+
Xtime2Sbox[3] = _Xtime2Sbox[3]
|
257
|
+
Xtime3Sbox[3] = _Xtime3Sbox[3]
|
258
|
+
Xtime2[3] = _Xtime2[3]
|
259
|
+
Xtime9[3] = _Xtime9[3]
|
260
|
+
XtimeB[3] = _XtimeB[3]
|
261
|
+
XtimeD[3] = _XtimeD[3]
|
262
|
+
XtimeE[3] = _XtimeE[3]
|
263
|
+
Sbox[4] = _Sbox[4]
|
264
|
+
InvSbox[4] = _InvSbox[4]
|
265
|
+
Xtime2Sbox[4] = _Xtime2Sbox[4]
|
266
|
+
Xtime3Sbox[4] = _Xtime3Sbox[4]
|
267
|
+
Xtime2[4] = _Xtime2[4]
|
268
|
+
Xtime9[4] = _Xtime9[4]
|
269
|
+
XtimeB[4] = _XtimeB[4]
|
270
|
+
XtimeD[4] = _XtimeD[4]
|
271
|
+
XtimeE[4] = _XtimeE[4]
|
272
|
+
Sbox[5] = _Sbox[5]
|
273
|
+
InvSbox[5] = _InvSbox[5]
|
274
|
+
Xtime2Sbox[5] = _Xtime2Sbox[5]
|
275
|
+
Xtime3Sbox[5] = _Xtime3Sbox[5]
|
276
|
+
Xtime2[5] = _Xtime2[5]
|
277
|
+
Xtime9[5] = _Xtime9[5]
|
278
|
+
XtimeB[5] = _XtimeB[5]
|
279
|
+
XtimeD[5] = _XtimeD[5]
|
280
|
+
XtimeE[5] = _XtimeE[5]
|
281
|
+
Sbox[6] = _Sbox[6]
|
282
|
+
InvSbox[6] = _InvSbox[6]
|
283
|
+
Xtime2Sbox[6] = _Xtime2Sbox[6]
|
284
|
+
Xtime3Sbox[6] = _Xtime3Sbox[6]
|
285
|
+
Xtime2[6] = _Xtime2[6]
|
286
|
+
Xtime9[6] = _Xtime9[6]
|
287
|
+
XtimeB[6] = _XtimeB[6]
|
288
|
+
XtimeD[6] = _XtimeD[6]
|
289
|
+
XtimeE[6] = _XtimeE[6]
|
290
|
+
Sbox[7] = _Sbox[7]
|
291
|
+
InvSbox[7] = _InvSbox[7]
|
292
|
+
Xtime2Sbox[7] = _Xtime2Sbox[7]
|
293
|
+
Xtime3Sbox[7] = _Xtime3Sbox[7]
|
294
|
+
Xtime2[7] = _Xtime2[7]
|
295
|
+
Xtime9[7] = _Xtime9[7]
|
296
|
+
XtimeB[7] = _XtimeB[7]
|
297
|
+
XtimeD[7] = _XtimeD[7]
|
298
|
+
XtimeE[7] = _XtimeE[7]
|
299
|
+
Sbox[8] = _Sbox[8]
|
300
|
+
InvSbox[8] = _InvSbox[8]
|
301
|
+
Xtime2Sbox[8] = _Xtime2Sbox[8]
|
302
|
+
Xtime3Sbox[8] = _Xtime3Sbox[8]
|
303
|
+
Xtime2[8] = _Xtime2[8]
|
304
|
+
Xtime9[8] = _Xtime9[8]
|
305
|
+
XtimeB[8] = _XtimeB[8]
|
306
|
+
XtimeD[8] = _XtimeD[8]
|
307
|
+
XtimeE[8] = _XtimeE[8]
|
308
|
+
Sbox[9] = _Sbox[9]
|
309
|
+
InvSbox[9] = _InvSbox[9]
|
310
|
+
Xtime2Sbox[9] = _Xtime2Sbox[9]
|
311
|
+
Xtime3Sbox[9] = _Xtime3Sbox[9]
|
312
|
+
Xtime2[9] = _Xtime2[9]
|
313
|
+
Xtime9[9] = _Xtime9[9]
|
314
|
+
XtimeB[9] = _XtimeB[9]
|
315
|
+
XtimeD[9] = _XtimeD[9]
|
316
|
+
XtimeE[9] = _XtimeE[9]
|
317
|
+
Sbox[10] = _Sbox[10]
|
318
|
+
InvSbox[10] = _InvSbox[10]
|
319
|
+
Xtime2Sbox[10] = _Xtime2Sbox[10]
|
320
|
+
Xtime3Sbox[10] = _Xtime3Sbox[10]
|
321
|
+
Xtime2[10] = _Xtime2[10]
|
322
|
+
Xtime9[10] = _Xtime9[10]
|
323
|
+
XtimeB[10] = _XtimeB[10]
|
324
|
+
XtimeD[10] = _XtimeD[10]
|
325
|
+
XtimeE[10] = _XtimeE[10]
|
326
|
+
Sbox[11] = _Sbox[11]
|
327
|
+
InvSbox[11] = _InvSbox[11]
|
328
|
+
Xtime2Sbox[11] = _Xtime2Sbox[11]
|
329
|
+
Xtime3Sbox[11] = _Xtime3Sbox[11]
|
330
|
+
Xtime2[11] = _Xtime2[11]
|
331
|
+
Xtime9[11] = _Xtime9[11]
|
332
|
+
XtimeB[11] = _XtimeB[11]
|
333
|
+
XtimeD[11] = _XtimeD[11]
|
334
|
+
XtimeE[11] = _XtimeE[11]
|
335
|
+
Sbox[12] = _Sbox[12]
|
336
|
+
InvSbox[12] = _InvSbox[12]
|
337
|
+
Xtime2Sbox[12] = _Xtime2Sbox[12]
|
338
|
+
Xtime3Sbox[12] = _Xtime3Sbox[12]
|
339
|
+
Xtime2[12] = _Xtime2[12]
|
340
|
+
Xtime9[12] = _Xtime9[12]
|
341
|
+
XtimeB[12] = _XtimeB[12]
|
342
|
+
XtimeD[12] = _XtimeD[12]
|
343
|
+
XtimeE[12] = _XtimeE[12]
|
344
|
+
Sbox[13] = _Sbox[13]
|
345
|
+
InvSbox[13] = _InvSbox[13]
|
346
|
+
Xtime2Sbox[13] = _Xtime2Sbox[13]
|
347
|
+
Xtime3Sbox[13] = _Xtime3Sbox[13]
|
348
|
+
Xtime2[13] = _Xtime2[13]
|
349
|
+
Xtime9[13] = _Xtime9[13]
|
350
|
+
XtimeB[13] = _XtimeB[13]
|
351
|
+
XtimeD[13] = _XtimeD[13]
|
352
|
+
XtimeE[13] = _XtimeE[13]
|
353
|
+
Sbox[14] = _Sbox[14]
|
354
|
+
InvSbox[14] = _InvSbox[14]
|
355
|
+
Xtime2Sbox[14] = _Xtime2Sbox[14]
|
356
|
+
Xtime3Sbox[14] = _Xtime3Sbox[14]
|
357
|
+
Xtime2[14] = _Xtime2[14]
|
358
|
+
Xtime9[14] = _Xtime9[14]
|
359
|
+
XtimeB[14] = _XtimeB[14]
|
360
|
+
XtimeD[14] = _XtimeD[14]
|
361
|
+
XtimeE[14] = _XtimeE[14]
|
362
|
+
Sbox[15] = _Sbox[15]
|
363
|
+
InvSbox[15] = _InvSbox[15]
|
364
|
+
Xtime2Sbox[15] = _Xtime2Sbox[15]
|
365
|
+
Xtime3Sbox[15] = _Xtime3Sbox[15]
|
366
|
+
Xtime2[15] = _Xtime2[15]
|
367
|
+
Xtime9[15] = _Xtime9[15]
|
368
|
+
XtimeB[15] = _XtimeB[15]
|
369
|
+
XtimeD[15] = _XtimeD[15]
|
370
|
+
XtimeE[15] = _XtimeE[15]
|
371
|
+
Sbox[16] = _Sbox[16]
|
372
|
+
InvSbox[16] = _InvSbox[16]
|
373
|
+
Xtime2Sbox[16] = _Xtime2Sbox[16]
|
374
|
+
Xtime3Sbox[16] = _Xtime3Sbox[16]
|
375
|
+
Xtime2[16] = _Xtime2[16]
|
376
|
+
Xtime9[16] = _Xtime9[16]
|
377
|
+
XtimeB[16] = _XtimeB[16]
|
378
|
+
XtimeD[16] = _XtimeD[16]
|
379
|
+
XtimeE[16] = _XtimeE[16]
|
380
|
+
Sbox[17] = _Sbox[17]
|
381
|
+
InvSbox[17] = _InvSbox[17]
|
382
|
+
Xtime2Sbox[17] = _Xtime2Sbox[17]
|
383
|
+
Xtime3Sbox[17] = _Xtime3Sbox[17]
|
384
|
+
Xtime2[17] = _Xtime2[17]
|
385
|
+
Xtime9[17] = _Xtime9[17]
|
386
|
+
XtimeB[17] = _XtimeB[17]
|
387
|
+
XtimeD[17] = _XtimeD[17]
|
388
|
+
XtimeE[17] = _XtimeE[17]
|
389
|
+
Sbox[18] = _Sbox[18]
|
390
|
+
InvSbox[18] = _InvSbox[18]
|
391
|
+
Xtime2Sbox[18] = _Xtime2Sbox[18]
|
392
|
+
Xtime3Sbox[18] = _Xtime3Sbox[18]
|
393
|
+
Xtime2[18] = _Xtime2[18]
|
394
|
+
Xtime9[18] = _Xtime9[18]
|
395
|
+
XtimeB[18] = _XtimeB[18]
|
396
|
+
XtimeD[18] = _XtimeD[18]
|
397
|
+
XtimeE[18] = _XtimeE[18]
|
398
|
+
Sbox[19] = _Sbox[19]
|
399
|
+
InvSbox[19] = _InvSbox[19]
|
400
|
+
Xtime2Sbox[19] = _Xtime2Sbox[19]
|
401
|
+
Xtime3Sbox[19] = _Xtime3Sbox[19]
|
402
|
+
Xtime2[19] = _Xtime2[19]
|
403
|
+
Xtime9[19] = _Xtime9[19]
|
404
|
+
XtimeB[19] = _XtimeB[19]
|
405
|
+
XtimeD[19] = _XtimeD[19]
|
406
|
+
XtimeE[19] = _XtimeE[19]
|
407
|
+
Sbox[20] = _Sbox[20]
|
408
|
+
InvSbox[20] = _InvSbox[20]
|
409
|
+
Xtime2Sbox[20] = _Xtime2Sbox[20]
|
410
|
+
Xtime3Sbox[20] = _Xtime3Sbox[20]
|
411
|
+
Xtime2[20] = _Xtime2[20]
|
412
|
+
Xtime9[20] = _Xtime9[20]
|
413
|
+
XtimeB[20] = _XtimeB[20]
|
414
|
+
XtimeD[20] = _XtimeD[20]
|
415
|
+
XtimeE[20] = _XtimeE[20]
|
416
|
+
Sbox[21] = _Sbox[21]
|
417
|
+
InvSbox[21] = _InvSbox[21]
|
418
|
+
Xtime2Sbox[21] = _Xtime2Sbox[21]
|
419
|
+
Xtime3Sbox[21] = _Xtime3Sbox[21]
|
420
|
+
Xtime2[21] = _Xtime2[21]
|
421
|
+
Xtime9[21] = _Xtime9[21]
|
422
|
+
XtimeB[21] = _XtimeB[21]
|
423
|
+
XtimeD[21] = _XtimeD[21]
|
424
|
+
XtimeE[21] = _XtimeE[21]
|
425
|
+
Sbox[22] = _Sbox[22]
|
426
|
+
InvSbox[22] = _InvSbox[22]
|
427
|
+
Xtime2Sbox[22] = _Xtime2Sbox[22]
|
428
|
+
Xtime3Sbox[22] = _Xtime3Sbox[22]
|
429
|
+
Xtime2[22] = _Xtime2[22]
|
430
|
+
Xtime9[22] = _Xtime9[22]
|
431
|
+
XtimeB[22] = _XtimeB[22]
|
432
|
+
XtimeD[22] = _XtimeD[22]
|
433
|
+
XtimeE[22] = _XtimeE[22]
|
434
|
+
Sbox[23] = _Sbox[23]
|
435
|
+
InvSbox[23] = _InvSbox[23]
|
436
|
+
Xtime2Sbox[23] = _Xtime2Sbox[23]
|
437
|
+
Xtime3Sbox[23] = _Xtime3Sbox[23]
|
438
|
+
Xtime2[23] = _Xtime2[23]
|
439
|
+
Xtime9[23] = _Xtime9[23]
|
440
|
+
XtimeB[23] = _XtimeB[23]
|
441
|
+
XtimeD[23] = _XtimeD[23]
|
442
|
+
XtimeE[23] = _XtimeE[23]
|
443
|
+
Sbox[24] = _Sbox[24]
|
444
|
+
InvSbox[24] = _InvSbox[24]
|
445
|
+
Xtime2Sbox[24] = _Xtime2Sbox[24]
|
446
|
+
Xtime3Sbox[24] = _Xtime3Sbox[24]
|
447
|
+
Xtime2[24] = _Xtime2[24]
|
448
|
+
Xtime9[24] = _Xtime9[24]
|
449
|
+
XtimeB[24] = _XtimeB[24]
|
450
|
+
XtimeD[24] = _XtimeD[24]
|
451
|
+
XtimeE[24] = _XtimeE[24]
|
452
|
+
Sbox[25] = _Sbox[25]
|
453
|
+
InvSbox[25] = _InvSbox[25]
|
454
|
+
Xtime2Sbox[25] = _Xtime2Sbox[25]
|
455
|
+
Xtime3Sbox[25] = _Xtime3Sbox[25]
|
456
|
+
Xtime2[25] = _Xtime2[25]
|
457
|
+
Xtime9[25] = _Xtime9[25]
|
458
|
+
XtimeB[25] = _XtimeB[25]
|
459
|
+
XtimeD[25] = _XtimeD[25]
|
460
|
+
XtimeE[25] = _XtimeE[25]
|
461
|
+
Sbox[26] = _Sbox[26]
|
462
|
+
InvSbox[26] = _InvSbox[26]
|
463
|
+
Xtime2Sbox[26] = _Xtime2Sbox[26]
|
464
|
+
Xtime3Sbox[26] = _Xtime3Sbox[26]
|
465
|
+
Xtime2[26] = _Xtime2[26]
|
466
|
+
Xtime9[26] = _Xtime9[26]
|
467
|
+
XtimeB[26] = _XtimeB[26]
|
468
|
+
XtimeD[26] = _XtimeD[26]
|
469
|
+
XtimeE[26] = _XtimeE[26]
|
470
|
+
Sbox[27] = _Sbox[27]
|
471
|
+
InvSbox[27] = _InvSbox[27]
|
472
|
+
Xtime2Sbox[27] = _Xtime2Sbox[27]
|
473
|
+
Xtime3Sbox[27] = _Xtime3Sbox[27]
|
474
|
+
Xtime2[27] = _Xtime2[27]
|
475
|
+
Xtime9[27] = _Xtime9[27]
|
476
|
+
XtimeB[27] = _XtimeB[27]
|
477
|
+
XtimeD[27] = _XtimeD[27]
|
478
|
+
XtimeE[27] = _XtimeE[27]
|
479
|
+
Sbox[28] = _Sbox[28]
|
480
|
+
InvSbox[28] = _InvSbox[28]
|
481
|
+
Xtime2Sbox[28] = _Xtime2Sbox[28]
|
482
|
+
Xtime3Sbox[28] = _Xtime3Sbox[28]
|
483
|
+
Xtime2[28] = _Xtime2[28]
|
484
|
+
Xtime9[28] = _Xtime9[28]
|
485
|
+
XtimeB[28] = _XtimeB[28]
|
486
|
+
XtimeD[28] = _XtimeD[28]
|
487
|
+
XtimeE[28] = _XtimeE[28]
|
488
|
+
Sbox[29] = _Sbox[29]
|
489
|
+
InvSbox[29] = _InvSbox[29]
|
490
|
+
Xtime2Sbox[29] = _Xtime2Sbox[29]
|
491
|
+
Xtime3Sbox[29] = _Xtime3Sbox[29]
|
492
|
+
Xtime2[29] = _Xtime2[29]
|
493
|
+
Xtime9[29] = _Xtime9[29]
|
494
|
+
XtimeB[29] = _XtimeB[29]
|
495
|
+
XtimeD[29] = _XtimeD[29]
|
496
|
+
XtimeE[29] = _XtimeE[29]
|
497
|
+
Sbox[30] = _Sbox[30]
|
498
|
+
InvSbox[30] = _InvSbox[30]
|
499
|
+
Xtime2Sbox[30] = _Xtime2Sbox[30]
|
500
|
+
Xtime3Sbox[30] = _Xtime3Sbox[30]
|
501
|
+
Xtime2[30] = _Xtime2[30]
|
502
|
+
Xtime9[30] = _Xtime9[30]
|
503
|
+
XtimeB[30] = _XtimeB[30]
|
504
|
+
XtimeD[30] = _XtimeD[30]
|
505
|
+
XtimeE[30] = _XtimeE[30]
|
506
|
+
Sbox[31] = _Sbox[31]
|
507
|
+
InvSbox[31] = _InvSbox[31]
|
508
|
+
Xtime2Sbox[31] = _Xtime2Sbox[31]
|
509
|
+
Xtime3Sbox[31] = _Xtime3Sbox[31]
|
510
|
+
Xtime2[31] = _Xtime2[31]
|
511
|
+
Xtime9[31] = _Xtime9[31]
|
512
|
+
XtimeB[31] = _XtimeB[31]
|
513
|
+
XtimeD[31] = _XtimeD[31]
|
514
|
+
XtimeE[31] = _XtimeE[31]
|
515
|
+
Sbox[32] = _Sbox[32]
|
516
|
+
InvSbox[32] = _InvSbox[32]
|
517
|
+
Xtime2Sbox[32] = _Xtime2Sbox[32]
|
518
|
+
Xtime3Sbox[32] = _Xtime3Sbox[32]
|
519
|
+
Xtime2[32] = _Xtime2[32]
|
520
|
+
Xtime9[32] = _Xtime9[32]
|
521
|
+
XtimeB[32] = _XtimeB[32]
|
522
|
+
XtimeD[32] = _XtimeD[32]
|
523
|
+
XtimeE[32] = _XtimeE[32]
|
524
|
+
Sbox[33] = _Sbox[33]
|
525
|
+
InvSbox[33] = _InvSbox[33]
|
526
|
+
Xtime2Sbox[33] = _Xtime2Sbox[33]
|
527
|
+
Xtime3Sbox[33] = _Xtime3Sbox[33]
|
528
|
+
Xtime2[33] = _Xtime2[33]
|
529
|
+
Xtime9[33] = _Xtime9[33]
|
530
|
+
XtimeB[33] = _XtimeB[33]
|
531
|
+
XtimeD[33] = _XtimeD[33]
|
532
|
+
XtimeE[33] = _XtimeE[33]
|
533
|
+
Sbox[34] = _Sbox[34]
|
534
|
+
InvSbox[34] = _InvSbox[34]
|
535
|
+
Xtime2Sbox[34] = _Xtime2Sbox[34]
|
536
|
+
Xtime3Sbox[34] = _Xtime3Sbox[34]
|
537
|
+
Xtime2[34] = _Xtime2[34]
|
538
|
+
Xtime9[34] = _Xtime9[34]
|
539
|
+
XtimeB[34] = _XtimeB[34]
|
540
|
+
XtimeD[34] = _XtimeD[34]
|
541
|
+
XtimeE[34] = _XtimeE[34]
|
542
|
+
Sbox[35] = _Sbox[35]
|
543
|
+
InvSbox[35] = _InvSbox[35]
|
544
|
+
Xtime2Sbox[35] = _Xtime2Sbox[35]
|
545
|
+
Xtime3Sbox[35] = _Xtime3Sbox[35]
|
546
|
+
Xtime2[35] = _Xtime2[35]
|
547
|
+
Xtime9[35] = _Xtime9[35]
|
548
|
+
XtimeB[35] = _XtimeB[35]
|
549
|
+
XtimeD[35] = _XtimeD[35]
|
550
|
+
XtimeE[35] = _XtimeE[35]
|
551
|
+
Sbox[36] = _Sbox[36]
|
552
|
+
InvSbox[36] = _InvSbox[36]
|
553
|
+
Xtime2Sbox[36] = _Xtime2Sbox[36]
|
554
|
+
Xtime3Sbox[36] = _Xtime3Sbox[36]
|
555
|
+
Xtime2[36] = _Xtime2[36]
|
556
|
+
Xtime9[36] = _Xtime9[36]
|
557
|
+
XtimeB[36] = _XtimeB[36]
|
558
|
+
XtimeD[36] = _XtimeD[36]
|
559
|
+
XtimeE[36] = _XtimeE[36]
|
560
|
+
Sbox[37] = _Sbox[37]
|
561
|
+
InvSbox[37] = _InvSbox[37]
|
562
|
+
Xtime2Sbox[37] = _Xtime2Sbox[37]
|
563
|
+
Xtime3Sbox[37] = _Xtime3Sbox[37]
|
564
|
+
Xtime2[37] = _Xtime2[37]
|
565
|
+
Xtime9[37] = _Xtime9[37]
|
566
|
+
XtimeB[37] = _XtimeB[37]
|
567
|
+
XtimeD[37] = _XtimeD[37]
|
568
|
+
XtimeE[37] = _XtimeE[37]
|
569
|
+
Sbox[38] = _Sbox[38]
|
570
|
+
InvSbox[38] = _InvSbox[38]
|
571
|
+
Xtime2Sbox[38] = _Xtime2Sbox[38]
|
572
|
+
Xtime3Sbox[38] = _Xtime3Sbox[38]
|
573
|
+
Xtime2[38] = _Xtime2[38]
|
574
|
+
Xtime9[38] = _Xtime9[38]
|
575
|
+
XtimeB[38] = _XtimeB[38]
|
576
|
+
XtimeD[38] = _XtimeD[38]
|
577
|
+
XtimeE[38] = _XtimeE[38]
|
578
|
+
Sbox[39] = _Sbox[39]
|
579
|
+
InvSbox[39] = _InvSbox[39]
|
580
|
+
Xtime2Sbox[39] = _Xtime2Sbox[39]
|
581
|
+
Xtime3Sbox[39] = _Xtime3Sbox[39]
|
582
|
+
Xtime2[39] = _Xtime2[39]
|
583
|
+
Xtime9[39] = _Xtime9[39]
|
584
|
+
XtimeB[39] = _XtimeB[39]
|
585
|
+
XtimeD[39] = _XtimeD[39]
|
586
|
+
XtimeE[39] = _XtimeE[39]
|
587
|
+
Sbox[40] = _Sbox[40]
|
588
|
+
InvSbox[40] = _InvSbox[40]
|
589
|
+
Xtime2Sbox[40] = _Xtime2Sbox[40]
|
590
|
+
Xtime3Sbox[40] = _Xtime3Sbox[40]
|
591
|
+
Xtime2[40] = _Xtime2[40]
|
592
|
+
Xtime9[40] = _Xtime9[40]
|
593
|
+
XtimeB[40] = _XtimeB[40]
|
594
|
+
XtimeD[40] = _XtimeD[40]
|
595
|
+
XtimeE[40] = _XtimeE[40]
|
596
|
+
Sbox[41] = _Sbox[41]
|
597
|
+
InvSbox[41] = _InvSbox[41]
|
598
|
+
Xtime2Sbox[41] = _Xtime2Sbox[41]
|
599
|
+
Xtime3Sbox[41] = _Xtime3Sbox[41]
|
600
|
+
Xtime2[41] = _Xtime2[41]
|
601
|
+
Xtime9[41] = _Xtime9[41]
|
602
|
+
XtimeB[41] = _XtimeB[41]
|
603
|
+
XtimeD[41] = _XtimeD[41]
|
604
|
+
XtimeE[41] = _XtimeE[41]
|
605
|
+
Sbox[42] = _Sbox[42]
|
606
|
+
InvSbox[42] = _InvSbox[42]
|
607
|
+
Xtime2Sbox[42] = _Xtime2Sbox[42]
|
608
|
+
Xtime3Sbox[42] = _Xtime3Sbox[42]
|
609
|
+
Xtime2[42] = _Xtime2[42]
|
610
|
+
Xtime9[42] = _Xtime9[42]
|
611
|
+
XtimeB[42] = _XtimeB[42]
|
612
|
+
XtimeD[42] = _XtimeD[42]
|
613
|
+
XtimeE[42] = _XtimeE[42]
|
614
|
+
Sbox[43] = _Sbox[43]
|
615
|
+
InvSbox[43] = _InvSbox[43]
|
616
|
+
Xtime2Sbox[43] = _Xtime2Sbox[43]
|
617
|
+
Xtime3Sbox[43] = _Xtime3Sbox[43]
|
618
|
+
Xtime2[43] = _Xtime2[43]
|
619
|
+
Xtime9[43] = _Xtime9[43]
|
620
|
+
XtimeB[43] = _XtimeB[43]
|
621
|
+
XtimeD[43] = _XtimeD[43]
|
622
|
+
XtimeE[43] = _XtimeE[43]
|
623
|
+
Sbox[44] = _Sbox[44]
|
624
|
+
InvSbox[44] = _InvSbox[44]
|
625
|
+
Xtime2Sbox[44] = _Xtime2Sbox[44]
|
626
|
+
Xtime3Sbox[44] = _Xtime3Sbox[44]
|
627
|
+
Xtime2[44] = _Xtime2[44]
|
628
|
+
Xtime9[44] = _Xtime9[44]
|
629
|
+
XtimeB[44] = _XtimeB[44]
|
630
|
+
XtimeD[44] = _XtimeD[44]
|
631
|
+
XtimeE[44] = _XtimeE[44]
|
632
|
+
Sbox[45] = _Sbox[45]
|
633
|
+
InvSbox[45] = _InvSbox[45]
|
634
|
+
Xtime2Sbox[45] = _Xtime2Sbox[45]
|
635
|
+
Xtime3Sbox[45] = _Xtime3Sbox[45]
|
636
|
+
Xtime2[45] = _Xtime2[45]
|
637
|
+
Xtime9[45] = _Xtime9[45]
|
638
|
+
XtimeB[45] = _XtimeB[45]
|
639
|
+
XtimeD[45] = _XtimeD[45]
|
640
|
+
XtimeE[45] = _XtimeE[45]
|
641
|
+
Sbox[46] = _Sbox[46]
|
642
|
+
InvSbox[46] = _InvSbox[46]
|
643
|
+
Xtime2Sbox[46] = _Xtime2Sbox[46]
|
644
|
+
Xtime3Sbox[46] = _Xtime3Sbox[46]
|
645
|
+
Xtime2[46] = _Xtime2[46]
|
646
|
+
Xtime9[46] = _Xtime9[46]
|
647
|
+
XtimeB[46] = _XtimeB[46]
|
648
|
+
XtimeD[46] = _XtimeD[46]
|
649
|
+
XtimeE[46] = _XtimeE[46]
|
650
|
+
Sbox[47] = _Sbox[47]
|
651
|
+
InvSbox[47] = _InvSbox[47]
|
652
|
+
Xtime2Sbox[47] = _Xtime2Sbox[47]
|
653
|
+
Xtime3Sbox[47] = _Xtime3Sbox[47]
|
654
|
+
Xtime2[47] = _Xtime2[47]
|
655
|
+
Xtime9[47] = _Xtime9[47]
|
656
|
+
XtimeB[47] = _XtimeB[47]
|
657
|
+
XtimeD[47] = _XtimeD[47]
|
658
|
+
XtimeE[47] = _XtimeE[47]
|
659
|
+
Sbox[48] = _Sbox[48]
|
660
|
+
InvSbox[48] = _InvSbox[48]
|
661
|
+
Xtime2Sbox[48] = _Xtime2Sbox[48]
|
662
|
+
Xtime3Sbox[48] = _Xtime3Sbox[48]
|
663
|
+
Xtime2[48] = _Xtime2[48]
|
664
|
+
Xtime9[48] = _Xtime9[48]
|
665
|
+
XtimeB[48] = _XtimeB[48]
|
666
|
+
XtimeD[48] = _XtimeD[48]
|
667
|
+
XtimeE[48] = _XtimeE[48]
|
668
|
+
Sbox[49] = _Sbox[49]
|
669
|
+
InvSbox[49] = _InvSbox[49]
|
670
|
+
Xtime2Sbox[49] = _Xtime2Sbox[49]
|
671
|
+
Xtime3Sbox[49] = _Xtime3Sbox[49]
|
672
|
+
Xtime2[49] = _Xtime2[49]
|
673
|
+
Xtime9[49] = _Xtime9[49]
|
674
|
+
XtimeB[49] = _XtimeB[49]
|
675
|
+
XtimeD[49] = _XtimeD[49]
|
676
|
+
XtimeE[49] = _XtimeE[49]
|
677
|
+
Sbox[50] = _Sbox[50]
|
678
|
+
InvSbox[50] = _InvSbox[50]
|
679
|
+
Xtime2Sbox[50] = _Xtime2Sbox[50]
|
680
|
+
Xtime3Sbox[50] = _Xtime3Sbox[50]
|
681
|
+
Xtime2[50] = _Xtime2[50]
|
682
|
+
Xtime9[50] = _Xtime9[50]
|
683
|
+
XtimeB[50] = _XtimeB[50]
|
684
|
+
XtimeD[50] = _XtimeD[50]
|
685
|
+
XtimeE[50] = _XtimeE[50]
|
686
|
+
Sbox[51] = _Sbox[51]
|
687
|
+
InvSbox[51] = _InvSbox[51]
|
688
|
+
Xtime2Sbox[51] = _Xtime2Sbox[51]
|
689
|
+
Xtime3Sbox[51] = _Xtime3Sbox[51]
|
690
|
+
Xtime2[51] = _Xtime2[51]
|
691
|
+
Xtime9[51] = _Xtime9[51]
|
692
|
+
XtimeB[51] = _XtimeB[51]
|
693
|
+
XtimeD[51] = _XtimeD[51]
|
694
|
+
XtimeE[51] = _XtimeE[51]
|
695
|
+
Sbox[52] = _Sbox[52]
|
696
|
+
InvSbox[52] = _InvSbox[52]
|
697
|
+
Xtime2Sbox[52] = _Xtime2Sbox[52]
|
698
|
+
Xtime3Sbox[52] = _Xtime3Sbox[52]
|
699
|
+
Xtime2[52] = _Xtime2[52]
|
700
|
+
Xtime9[52] = _Xtime9[52]
|
701
|
+
XtimeB[52] = _XtimeB[52]
|
702
|
+
XtimeD[52] = _XtimeD[52]
|
703
|
+
XtimeE[52] = _XtimeE[52]
|
704
|
+
Sbox[53] = _Sbox[53]
|
705
|
+
InvSbox[53] = _InvSbox[53]
|
706
|
+
Xtime2Sbox[53] = _Xtime2Sbox[53]
|
707
|
+
Xtime3Sbox[53] = _Xtime3Sbox[53]
|
708
|
+
Xtime2[53] = _Xtime2[53]
|
709
|
+
Xtime9[53] = _Xtime9[53]
|
710
|
+
XtimeB[53] = _XtimeB[53]
|
711
|
+
XtimeD[53] = _XtimeD[53]
|
712
|
+
XtimeE[53] = _XtimeE[53]
|
713
|
+
Sbox[54] = _Sbox[54]
|
714
|
+
InvSbox[54] = _InvSbox[54]
|
715
|
+
Xtime2Sbox[54] = _Xtime2Sbox[54]
|
716
|
+
Xtime3Sbox[54] = _Xtime3Sbox[54]
|
717
|
+
Xtime2[54] = _Xtime2[54]
|
718
|
+
Xtime9[54] = _Xtime9[54]
|
719
|
+
XtimeB[54] = _XtimeB[54]
|
720
|
+
XtimeD[54] = _XtimeD[54]
|
721
|
+
XtimeE[54] = _XtimeE[54]
|
722
|
+
Sbox[55] = _Sbox[55]
|
723
|
+
InvSbox[55] = _InvSbox[55]
|
724
|
+
Xtime2Sbox[55] = _Xtime2Sbox[55]
|
725
|
+
Xtime3Sbox[55] = _Xtime3Sbox[55]
|
726
|
+
Xtime2[55] = _Xtime2[55]
|
727
|
+
Xtime9[55] = _Xtime9[55]
|
728
|
+
XtimeB[55] = _XtimeB[55]
|
729
|
+
XtimeD[55] = _XtimeD[55]
|
730
|
+
XtimeE[55] = _XtimeE[55]
|
731
|
+
Sbox[56] = _Sbox[56]
|
732
|
+
InvSbox[56] = _InvSbox[56]
|
733
|
+
Xtime2Sbox[56] = _Xtime2Sbox[56]
|
734
|
+
Xtime3Sbox[56] = _Xtime3Sbox[56]
|
735
|
+
Xtime2[56] = _Xtime2[56]
|
736
|
+
Xtime9[56] = _Xtime9[56]
|
737
|
+
XtimeB[56] = _XtimeB[56]
|
738
|
+
XtimeD[56] = _XtimeD[56]
|
739
|
+
XtimeE[56] = _XtimeE[56]
|
740
|
+
Sbox[57] = _Sbox[57]
|
741
|
+
InvSbox[57] = _InvSbox[57]
|
742
|
+
Xtime2Sbox[57] = _Xtime2Sbox[57]
|
743
|
+
Xtime3Sbox[57] = _Xtime3Sbox[57]
|
744
|
+
Xtime2[57] = _Xtime2[57]
|
745
|
+
Xtime9[57] = _Xtime9[57]
|
746
|
+
XtimeB[57] = _XtimeB[57]
|
747
|
+
XtimeD[57] = _XtimeD[57]
|
748
|
+
XtimeE[57] = _XtimeE[57]
|
749
|
+
Sbox[58] = _Sbox[58]
|
750
|
+
InvSbox[58] = _InvSbox[58]
|
751
|
+
Xtime2Sbox[58] = _Xtime2Sbox[58]
|
752
|
+
Xtime3Sbox[58] = _Xtime3Sbox[58]
|
753
|
+
Xtime2[58] = _Xtime2[58]
|
754
|
+
Xtime9[58] = _Xtime9[58]
|
755
|
+
XtimeB[58] = _XtimeB[58]
|
756
|
+
XtimeD[58] = _XtimeD[58]
|
757
|
+
XtimeE[58] = _XtimeE[58]
|
758
|
+
Sbox[59] = _Sbox[59]
|
759
|
+
InvSbox[59] = _InvSbox[59]
|
760
|
+
Xtime2Sbox[59] = _Xtime2Sbox[59]
|
761
|
+
Xtime3Sbox[59] = _Xtime3Sbox[59]
|
762
|
+
Xtime2[59] = _Xtime2[59]
|
763
|
+
Xtime9[59] = _Xtime9[59]
|
764
|
+
XtimeB[59] = _XtimeB[59]
|
765
|
+
XtimeD[59] = _XtimeD[59]
|
766
|
+
XtimeE[59] = _XtimeE[59]
|
767
|
+
Sbox[60] = _Sbox[60]
|
768
|
+
InvSbox[60] = _InvSbox[60]
|
769
|
+
Xtime2Sbox[60] = _Xtime2Sbox[60]
|
770
|
+
Xtime3Sbox[60] = _Xtime3Sbox[60]
|
771
|
+
Xtime2[60] = _Xtime2[60]
|
772
|
+
Xtime9[60] = _Xtime9[60]
|
773
|
+
XtimeB[60] = _XtimeB[60]
|
774
|
+
XtimeD[60] = _XtimeD[60]
|
775
|
+
XtimeE[60] = _XtimeE[60]
|
776
|
+
Sbox[61] = _Sbox[61]
|
777
|
+
InvSbox[61] = _InvSbox[61]
|
778
|
+
Xtime2Sbox[61] = _Xtime2Sbox[61]
|
779
|
+
Xtime3Sbox[61] = _Xtime3Sbox[61]
|
780
|
+
Xtime2[61] = _Xtime2[61]
|
781
|
+
Xtime9[61] = _Xtime9[61]
|
782
|
+
XtimeB[61] = _XtimeB[61]
|
783
|
+
XtimeD[61] = _XtimeD[61]
|
784
|
+
XtimeE[61] = _XtimeE[61]
|
785
|
+
Sbox[62] = _Sbox[62]
|
786
|
+
InvSbox[62] = _InvSbox[62]
|
787
|
+
Xtime2Sbox[62] = _Xtime2Sbox[62]
|
788
|
+
Xtime3Sbox[62] = _Xtime3Sbox[62]
|
789
|
+
Xtime2[62] = _Xtime2[62]
|
790
|
+
Xtime9[62] = _Xtime9[62]
|
791
|
+
XtimeB[62] = _XtimeB[62]
|
792
|
+
XtimeD[62] = _XtimeD[62]
|
793
|
+
XtimeE[62] = _XtimeE[62]
|
794
|
+
Sbox[63] = _Sbox[63]
|
795
|
+
InvSbox[63] = _InvSbox[63]
|
796
|
+
Xtime2Sbox[63] = _Xtime2Sbox[63]
|
797
|
+
Xtime3Sbox[63] = _Xtime3Sbox[63]
|
798
|
+
Xtime2[63] = _Xtime2[63]
|
799
|
+
Xtime9[63] = _Xtime9[63]
|
800
|
+
XtimeB[63] = _XtimeB[63]
|
801
|
+
XtimeD[63] = _XtimeD[63]
|
802
|
+
XtimeE[63] = _XtimeE[63]
|
803
|
+
Sbox[64] = _Sbox[64]
|
804
|
+
InvSbox[64] = _InvSbox[64]
|
805
|
+
Xtime2Sbox[64] = _Xtime2Sbox[64]
|
806
|
+
Xtime3Sbox[64] = _Xtime3Sbox[64]
|
807
|
+
Xtime2[64] = _Xtime2[64]
|
808
|
+
Xtime9[64] = _Xtime9[64]
|
809
|
+
XtimeB[64] = _XtimeB[64]
|
810
|
+
XtimeD[64] = _XtimeD[64]
|
811
|
+
XtimeE[64] = _XtimeE[64]
|
812
|
+
Sbox[65] = _Sbox[65]
|
813
|
+
InvSbox[65] = _InvSbox[65]
|
814
|
+
Xtime2Sbox[65] = _Xtime2Sbox[65]
|
815
|
+
Xtime3Sbox[65] = _Xtime3Sbox[65]
|
816
|
+
Xtime2[65] = _Xtime2[65]
|
817
|
+
Xtime9[65] = _Xtime9[65]
|
818
|
+
XtimeB[65] = _XtimeB[65]
|
819
|
+
XtimeD[65] = _XtimeD[65]
|
820
|
+
XtimeE[65] = _XtimeE[65]
|
821
|
+
Sbox[66] = _Sbox[66]
|
822
|
+
InvSbox[66] = _InvSbox[66]
|
823
|
+
Xtime2Sbox[66] = _Xtime2Sbox[66]
|
824
|
+
Xtime3Sbox[66] = _Xtime3Sbox[66]
|
825
|
+
Xtime2[66] = _Xtime2[66]
|
826
|
+
Xtime9[66] = _Xtime9[66]
|
827
|
+
XtimeB[66] = _XtimeB[66]
|
828
|
+
XtimeD[66] = _XtimeD[66]
|
829
|
+
XtimeE[66] = _XtimeE[66]
|
830
|
+
Sbox[67] = _Sbox[67]
|
831
|
+
InvSbox[67] = _InvSbox[67]
|
832
|
+
Xtime2Sbox[67] = _Xtime2Sbox[67]
|
833
|
+
Xtime3Sbox[67] = _Xtime3Sbox[67]
|
834
|
+
Xtime2[67] = _Xtime2[67]
|
835
|
+
Xtime9[67] = _Xtime9[67]
|
836
|
+
XtimeB[67] = _XtimeB[67]
|
837
|
+
XtimeD[67] = _XtimeD[67]
|
838
|
+
XtimeE[67] = _XtimeE[67]
|
839
|
+
Sbox[68] = _Sbox[68]
|
840
|
+
InvSbox[68] = _InvSbox[68]
|
841
|
+
Xtime2Sbox[68] = _Xtime2Sbox[68]
|
842
|
+
Xtime3Sbox[68] = _Xtime3Sbox[68]
|
843
|
+
Xtime2[68] = _Xtime2[68]
|
844
|
+
Xtime9[68] = _Xtime9[68]
|
845
|
+
XtimeB[68] = _XtimeB[68]
|
846
|
+
XtimeD[68] = _XtimeD[68]
|
847
|
+
XtimeE[68] = _XtimeE[68]
|
848
|
+
Sbox[69] = _Sbox[69]
|
849
|
+
InvSbox[69] = _InvSbox[69]
|
850
|
+
Xtime2Sbox[69] = _Xtime2Sbox[69]
|
851
|
+
Xtime3Sbox[69] = _Xtime3Sbox[69]
|
852
|
+
Xtime2[69] = _Xtime2[69]
|
853
|
+
Xtime9[69] = _Xtime9[69]
|
854
|
+
XtimeB[69] = _XtimeB[69]
|
855
|
+
XtimeD[69] = _XtimeD[69]
|
856
|
+
XtimeE[69] = _XtimeE[69]
|
857
|
+
Sbox[70] = _Sbox[70]
|
858
|
+
InvSbox[70] = _InvSbox[70]
|
859
|
+
Xtime2Sbox[70] = _Xtime2Sbox[70]
|
860
|
+
Xtime3Sbox[70] = _Xtime3Sbox[70]
|
861
|
+
Xtime2[70] = _Xtime2[70]
|
862
|
+
Xtime9[70] = _Xtime9[70]
|
863
|
+
XtimeB[70] = _XtimeB[70]
|
864
|
+
XtimeD[70] = _XtimeD[70]
|
865
|
+
XtimeE[70] = _XtimeE[70]
|
866
|
+
Sbox[71] = _Sbox[71]
|
867
|
+
InvSbox[71] = _InvSbox[71]
|
868
|
+
Xtime2Sbox[71] = _Xtime2Sbox[71]
|
869
|
+
Xtime3Sbox[71] = _Xtime3Sbox[71]
|
870
|
+
Xtime2[71] = _Xtime2[71]
|
871
|
+
Xtime9[71] = _Xtime9[71]
|
872
|
+
XtimeB[71] = _XtimeB[71]
|
873
|
+
XtimeD[71] = _XtimeD[71]
|
874
|
+
XtimeE[71] = _XtimeE[71]
|
875
|
+
Sbox[72] = _Sbox[72]
|
876
|
+
InvSbox[72] = _InvSbox[72]
|
877
|
+
Xtime2Sbox[72] = _Xtime2Sbox[72]
|
878
|
+
Xtime3Sbox[72] = _Xtime3Sbox[72]
|
879
|
+
Xtime2[72] = _Xtime2[72]
|
880
|
+
Xtime9[72] = _Xtime9[72]
|
881
|
+
XtimeB[72] = _XtimeB[72]
|
882
|
+
XtimeD[72] = _XtimeD[72]
|
883
|
+
XtimeE[72] = _XtimeE[72]
|
884
|
+
Sbox[73] = _Sbox[73]
|
885
|
+
InvSbox[73] = _InvSbox[73]
|
886
|
+
Xtime2Sbox[73] = _Xtime2Sbox[73]
|
887
|
+
Xtime3Sbox[73] = _Xtime3Sbox[73]
|
888
|
+
Xtime2[73] = _Xtime2[73]
|
889
|
+
Xtime9[73] = _Xtime9[73]
|
890
|
+
XtimeB[73] = _XtimeB[73]
|
891
|
+
XtimeD[73] = _XtimeD[73]
|
892
|
+
XtimeE[73] = _XtimeE[73]
|
893
|
+
Sbox[74] = _Sbox[74]
|
894
|
+
InvSbox[74] = _InvSbox[74]
|
895
|
+
Xtime2Sbox[74] = _Xtime2Sbox[74]
|
896
|
+
Xtime3Sbox[74] = _Xtime3Sbox[74]
|
897
|
+
Xtime2[74] = _Xtime2[74]
|
898
|
+
Xtime9[74] = _Xtime9[74]
|
899
|
+
XtimeB[74] = _XtimeB[74]
|
900
|
+
XtimeD[74] = _XtimeD[74]
|
901
|
+
XtimeE[74] = _XtimeE[74]
|
902
|
+
Sbox[75] = _Sbox[75]
|
903
|
+
InvSbox[75] = _InvSbox[75]
|
904
|
+
Xtime2Sbox[75] = _Xtime2Sbox[75]
|
905
|
+
Xtime3Sbox[75] = _Xtime3Sbox[75]
|
906
|
+
Xtime2[75] = _Xtime2[75]
|
907
|
+
Xtime9[75] = _Xtime9[75]
|
908
|
+
XtimeB[75] = _XtimeB[75]
|
909
|
+
XtimeD[75] = _XtimeD[75]
|
910
|
+
XtimeE[75] = _XtimeE[75]
|
911
|
+
Sbox[76] = _Sbox[76]
|
912
|
+
InvSbox[76] = _InvSbox[76]
|
913
|
+
Xtime2Sbox[76] = _Xtime2Sbox[76]
|
914
|
+
Xtime3Sbox[76] = _Xtime3Sbox[76]
|
915
|
+
Xtime2[76] = _Xtime2[76]
|
916
|
+
Xtime9[76] = _Xtime9[76]
|
917
|
+
XtimeB[76] = _XtimeB[76]
|
918
|
+
XtimeD[76] = _XtimeD[76]
|
919
|
+
XtimeE[76] = _XtimeE[76]
|
920
|
+
Sbox[77] = _Sbox[77]
|
921
|
+
InvSbox[77] = _InvSbox[77]
|
922
|
+
Xtime2Sbox[77] = _Xtime2Sbox[77]
|
923
|
+
Xtime3Sbox[77] = _Xtime3Sbox[77]
|
924
|
+
Xtime2[77] = _Xtime2[77]
|
925
|
+
Xtime9[77] = _Xtime9[77]
|
926
|
+
XtimeB[77] = _XtimeB[77]
|
927
|
+
XtimeD[77] = _XtimeD[77]
|
928
|
+
XtimeE[77] = _XtimeE[77]
|
929
|
+
Sbox[78] = _Sbox[78]
|
930
|
+
InvSbox[78] = _InvSbox[78]
|
931
|
+
Xtime2Sbox[78] = _Xtime2Sbox[78]
|
932
|
+
Xtime3Sbox[78] = _Xtime3Sbox[78]
|
933
|
+
Xtime2[78] = _Xtime2[78]
|
934
|
+
Xtime9[78] = _Xtime9[78]
|
935
|
+
XtimeB[78] = _XtimeB[78]
|
936
|
+
XtimeD[78] = _XtimeD[78]
|
937
|
+
XtimeE[78] = _XtimeE[78]
|
938
|
+
Sbox[79] = _Sbox[79]
|
939
|
+
InvSbox[79] = _InvSbox[79]
|
940
|
+
Xtime2Sbox[79] = _Xtime2Sbox[79]
|
941
|
+
Xtime3Sbox[79] = _Xtime3Sbox[79]
|
942
|
+
Xtime2[79] = _Xtime2[79]
|
943
|
+
Xtime9[79] = _Xtime9[79]
|
944
|
+
XtimeB[79] = _XtimeB[79]
|
945
|
+
XtimeD[79] = _XtimeD[79]
|
946
|
+
XtimeE[79] = _XtimeE[79]
|
947
|
+
Sbox[80] = _Sbox[80]
|
948
|
+
InvSbox[80] = _InvSbox[80]
|
949
|
+
Xtime2Sbox[80] = _Xtime2Sbox[80]
|
950
|
+
Xtime3Sbox[80] = _Xtime3Sbox[80]
|
951
|
+
Xtime2[80] = _Xtime2[80]
|
952
|
+
Xtime9[80] = _Xtime9[80]
|
953
|
+
XtimeB[80] = _XtimeB[80]
|
954
|
+
XtimeD[80] = _XtimeD[80]
|
955
|
+
XtimeE[80] = _XtimeE[80]
|
956
|
+
Sbox[81] = _Sbox[81]
|
957
|
+
InvSbox[81] = _InvSbox[81]
|
958
|
+
Xtime2Sbox[81] = _Xtime2Sbox[81]
|
959
|
+
Xtime3Sbox[81] = _Xtime3Sbox[81]
|
960
|
+
Xtime2[81] = _Xtime2[81]
|
961
|
+
Xtime9[81] = _Xtime9[81]
|
962
|
+
XtimeB[81] = _XtimeB[81]
|
963
|
+
XtimeD[81] = _XtimeD[81]
|
964
|
+
XtimeE[81] = _XtimeE[81]
|
965
|
+
Sbox[82] = _Sbox[82]
|
966
|
+
InvSbox[82] = _InvSbox[82]
|
967
|
+
Xtime2Sbox[82] = _Xtime2Sbox[82]
|
968
|
+
Xtime3Sbox[82] = _Xtime3Sbox[82]
|
969
|
+
Xtime2[82] = _Xtime2[82]
|
970
|
+
Xtime9[82] = _Xtime9[82]
|
971
|
+
XtimeB[82] = _XtimeB[82]
|
972
|
+
XtimeD[82] = _XtimeD[82]
|
973
|
+
XtimeE[82] = _XtimeE[82]
|
974
|
+
Sbox[83] = _Sbox[83]
|
975
|
+
InvSbox[83] = _InvSbox[83]
|
976
|
+
Xtime2Sbox[83] = _Xtime2Sbox[83]
|
977
|
+
Xtime3Sbox[83] = _Xtime3Sbox[83]
|
978
|
+
Xtime2[83] = _Xtime2[83]
|
979
|
+
Xtime9[83] = _Xtime9[83]
|
980
|
+
XtimeB[83] = _XtimeB[83]
|
981
|
+
XtimeD[83] = _XtimeD[83]
|
982
|
+
XtimeE[83] = _XtimeE[83]
|
983
|
+
Sbox[84] = _Sbox[84]
|
984
|
+
InvSbox[84] = _InvSbox[84]
|
985
|
+
Xtime2Sbox[84] = _Xtime2Sbox[84]
|
986
|
+
Xtime3Sbox[84] = _Xtime3Sbox[84]
|
987
|
+
Xtime2[84] = _Xtime2[84]
|
988
|
+
Xtime9[84] = _Xtime9[84]
|
989
|
+
XtimeB[84] = _XtimeB[84]
|
990
|
+
XtimeD[84] = _XtimeD[84]
|
991
|
+
XtimeE[84] = _XtimeE[84]
|
992
|
+
Sbox[85] = _Sbox[85]
|
993
|
+
InvSbox[85] = _InvSbox[85]
|
994
|
+
Xtime2Sbox[85] = _Xtime2Sbox[85]
|
995
|
+
Xtime3Sbox[85] = _Xtime3Sbox[85]
|
996
|
+
Xtime2[85] = _Xtime2[85]
|
997
|
+
Xtime9[85] = _Xtime9[85]
|
998
|
+
XtimeB[85] = _XtimeB[85]
|
999
|
+
XtimeD[85] = _XtimeD[85]
|
1000
|
+
XtimeE[85] = _XtimeE[85]
|
1001
|
+
Sbox[86] = _Sbox[86]
|
1002
|
+
InvSbox[86] = _InvSbox[86]
|
1003
|
+
Xtime2Sbox[86] = _Xtime2Sbox[86]
|
1004
|
+
Xtime3Sbox[86] = _Xtime3Sbox[86]
|
1005
|
+
Xtime2[86] = _Xtime2[86]
|
1006
|
+
Xtime9[86] = _Xtime9[86]
|
1007
|
+
XtimeB[86] = _XtimeB[86]
|
1008
|
+
XtimeD[86] = _XtimeD[86]
|
1009
|
+
XtimeE[86] = _XtimeE[86]
|
1010
|
+
Sbox[87] = _Sbox[87]
|
1011
|
+
InvSbox[87] = _InvSbox[87]
|
1012
|
+
Xtime2Sbox[87] = _Xtime2Sbox[87]
|
1013
|
+
Xtime3Sbox[87] = _Xtime3Sbox[87]
|
1014
|
+
Xtime2[87] = _Xtime2[87]
|
1015
|
+
Xtime9[87] = _Xtime9[87]
|
1016
|
+
XtimeB[87] = _XtimeB[87]
|
1017
|
+
XtimeD[87] = _XtimeD[87]
|
1018
|
+
XtimeE[87] = _XtimeE[87]
|
1019
|
+
Sbox[88] = _Sbox[88]
|
1020
|
+
InvSbox[88] = _InvSbox[88]
|
1021
|
+
Xtime2Sbox[88] = _Xtime2Sbox[88]
|
1022
|
+
Xtime3Sbox[88] = _Xtime3Sbox[88]
|
1023
|
+
Xtime2[88] = _Xtime2[88]
|
1024
|
+
Xtime9[88] = _Xtime9[88]
|
1025
|
+
XtimeB[88] = _XtimeB[88]
|
1026
|
+
XtimeD[88] = _XtimeD[88]
|
1027
|
+
XtimeE[88] = _XtimeE[88]
|
1028
|
+
Sbox[89] = _Sbox[89]
|
1029
|
+
InvSbox[89] = _InvSbox[89]
|
1030
|
+
Xtime2Sbox[89] = _Xtime2Sbox[89]
|
1031
|
+
Xtime3Sbox[89] = _Xtime3Sbox[89]
|
1032
|
+
Xtime2[89] = _Xtime2[89]
|
1033
|
+
Xtime9[89] = _Xtime9[89]
|
1034
|
+
XtimeB[89] = _XtimeB[89]
|
1035
|
+
XtimeD[89] = _XtimeD[89]
|
1036
|
+
XtimeE[89] = _XtimeE[89]
|
1037
|
+
Sbox[90] = _Sbox[90]
|
1038
|
+
InvSbox[90] = _InvSbox[90]
|
1039
|
+
Xtime2Sbox[90] = _Xtime2Sbox[90]
|
1040
|
+
Xtime3Sbox[90] = _Xtime3Sbox[90]
|
1041
|
+
Xtime2[90] = _Xtime2[90]
|
1042
|
+
Xtime9[90] = _Xtime9[90]
|
1043
|
+
XtimeB[90] = _XtimeB[90]
|
1044
|
+
XtimeD[90] = _XtimeD[90]
|
1045
|
+
XtimeE[90] = _XtimeE[90]
|
1046
|
+
Sbox[91] = _Sbox[91]
|
1047
|
+
InvSbox[91] = _InvSbox[91]
|
1048
|
+
Xtime2Sbox[91] = _Xtime2Sbox[91]
|
1049
|
+
Xtime3Sbox[91] = _Xtime3Sbox[91]
|
1050
|
+
Xtime2[91] = _Xtime2[91]
|
1051
|
+
Xtime9[91] = _Xtime9[91]
|
1052
|
+
XtimeB[91] = _XtimeB[91]
|
1053
|
+
XtimeD[91] = _XtimeD[91]
|
1054
|
+
XtimeE[91] = _XtimeE[91]
|
1055
|
+
Sbox[92] = _Sbox[92]
|
1056
|
+
InvSbox[92] = _InvSbox[92]
|
1057
|
+
Xtime2Sbox[92] = _Xtime2Sbox[92]
|
1058
|
+
Xtime3Sbox[92] = _Xtime3Sbox[92]
|
1059
|
+
Xtime2[92] = _Xtime2[92]
|
1060
|
+
Xtime9[92] = _Xtime9[92]
|
1061
|
+
XtimeB[92] = _XtimeB[92]
|
1062
|
+
XtimeD[92] = _XtimeD[92]
|
1063
|
+
XtimeE[92] = _XtimeE[92]
|
1064
|
+
Sbox[93] = _Sbox[93]
|
1065
|
+
InvSbox[93] = _InvSbox[93]
|
1066
|
+
Xtime2Sbox[93] = _Xtime2Sbox[93]
|
1067
|
+
Xtime3Sbox[93] = _Xtime3Sbox[93]
|
1068
|
+
Xtime2[93] = _Xtime2[93]
|
1069
|
+
Xtime9[93] = _Xtime9[93]
|
1070
|
+
XtimeB[93] = _XtimeB[93]
|
1071
|
+
XtimeD[93] = _XtimeD[93]
|
1072
|
+
XtimeE[93] = _XtimeE[93]
|
1073
|
+
Sbox[94] = _Sbox[94]
|
1074
|
+
InvSbox[94] = _InvSbox[94]
|
1075
|
+
Xtime2Sbox[94] = _Xtime2Sbox[94]
|
1076
|
+
Xtime3Sbox[94] = _Xtime3Sbox[94]
|
1077
|
+
Xtime2[94] = _Xtime2[94]
|
1078
|
+
Xtime9[94] = _Xtime9[94]
|
1079
|
+
XtimeB[94] = _XtimeB[94]
|
1080
|
+
XtimeD[94] = _XtimeD[94]
|
1081
|
+
XtimeE[94] = _XtimeE[94]
|
1082
|
+
Sbox[95] = _Sbox[95]
|
1083
|
+
InvSbox[95] = _InvSbox[95]
|
1084
|
+
Xtime2Sbox[95] = _Xtime2Sbox[95]
|
1085
|
+
Xtime3Sbox[95] = _Xtime3Sbox[95]
|
1086
|
+
Xtime2[95] = _Xtime2[95]
|
1087
|
+
Xtime9[95] = _Xtime9[95]
|
1088
|
+
XtimeB[95] = _XtimeB[95]
|
1089
|
+
XtimeD[95] = _XtimeD[95]
|
1090
|
+
XtimeE[95] = _XtimeE[95]
|
1091
|
+
Sbox[96] = _Sbox[96]
|
1092
|
+
InvSbox[96] = _InvSbox[96]
|
1093
|
+
Xtime2Sbox[96] = _Xtime2Sbox[96]
|
1094
|
+
Xtime3Sbox[96] = _Xtime3Sbox[96]
|
1095
|
+
Xtime2[96] = _Xtime2[96]
|
1096
|
+
Xtime9[96] = _Xtime9[96]
|
1097
|
+
XtimeB[96] = _XtimeB[96]
|
1098
|
+
XtimeD[96] = _XtimeD[96]
|
1099
|
+
XtimeE[96] = _XtimeE[96]
|
1100
|
+
Sbox[97] = _Sbox[97]
|
1101
|
+
InvSbox[97] = _InvSbox[97]
|
1102
|
+
Xtime2Sbox[97] = _Xtime2Sbox[97]
|
1103
|
+
Xtime3Sbox[97] = _Xtime3Sbox[97]
|
1104
|
+
Xtime2[97] = _Xtime2[97]
|
1105
|
+
Xtime9[97] = _Xtime9[97]
|
1106
|
+
XtimeB[97] = _XtimeB[97]
|
1107
|
+
XtimeD[97] = _XtimeD[97]
|
1108
|
+
XtimeE[97] = _XtimeE[97]
|
1109
|
+
Sbox[98] = _Sbox[98]
|
1110
|
+
InvSbox[98] = _InvSbox[98]
|
1111
|
+
Xtime2Sbox[98] = _Xtime2Sbox[98]
|
1112
|
+
Xtime3Sbox[98] = _Xtime3Sbox[98]
|
1113
|
+
Xtime2[98] = _Xtime2[98]
|
1114
|
+
Xtime9[98] = _Xtime9[98]
|
1115
|
+
XtimeB[98] = _XtimeB[98]
|
1116
|
+
XtimeD[98] = _XtimeD[98]
|
1117
|
+
XtimeE[98] = _XtimeE[98]
|
1118
|
+
Sbox[99] = _Sbox[99]
|
1119
|
+
InvSbox[99] = _InvSbox[99]
|
1120
|
+
Xtime2Sbox[99] = _Xtime2Sbox[99]
|
1121
|
+
Xtime3Sbox[99] = _Xtime3Sbox[99]
|
1122
|
+
Xtime2[99] = _Xtime2[99]
|
1123
|
+
Xtime9[99] = _Xtime9[99]
|
1124
|
+
XtimeB[99] = _XtimeB[99]
|
1125
|
+
XtimeD[99] = _XtimeD[99]
|
1126
|
+
XtimeE[99] = _XtimeE[99]
|
1127
|
+
Sbox[100] = _Sbox[100]
|
1128
|
+
InvSbox[100] = _InvSbox[100]
|
1129
|
+
Xtime2Sbox[100] = _Xtime2Sbox[100]
|
1130
|
+
Xtime3Sbox[100] = _Xtime3Sbox[100]
|
1131
|
+
Xtime2[100] = _Xtime2[100]
|
1132
|
+
Xtime9[100] = _Xtime9[100]
|
1133
|
+
XtimeB[100] = _XtimeB[100]
|
1134
|
+
XtimeD[100] = _XtimeD[100]
|
1135
|
+
XtimeE[100] = _XtimeE[100]
|
1136
|
+
Sbox[101] = _Sbox[101]
|
1137
|
+
InvSbox[101] = _InvSbox[101]
|
1138
|
+
Xtime2Sbox[101] = _Xtime2Sbox[101]
|
1139
|
+
Xtime3Sbox[101] = _Xtime3Sbox[101]
|
1140
|
+
Xtime2[101] = _Xtime2[101]
|
1141
|
+
Xtime9[101] = _Xtime9[101]
|
1142
|
+
XtimeB[101] = _XtimeB[101]
|
1143
|
+
XtimeD[101] = _XtimeD[101]
|
1144
|
+
XtimeE[101] = _XtimeE[101]
|
1145
|
+
Sbox[102] = _Sbox[102]
|
1146
|
+
InvSbox[102] = _InvSbox[102]
|
1147
|
+
Xtime2Sbox[102] = _Xtime2Sbox[102]
|
1148
|
+
Xtime3Sbox[102] = _Xtime3Sbox[102]
|
1149
|
+
Xtime2[102] = _Xtime2[102]
|
1150
|
+
Xtime9[102] = _Xtime9[102]
|
1151
|
+
XtimeB[102] = _XtimeB[102]
|
1152
|
+
XtimeD[102] = _XtimeD[102]
|
1153
|
+
XtimeE[102] = _XtimeE[102]
|
1154
|
+
Sbox[103] = _Sbox[103]
|
1155
|
+
InvSbox[103] = _InvSbox[103]
|
1156
|
+
Xtime2Sbox[103] = _Xtime2Sbox[103]
|
1157
|
+
Xtime3Sbox[103] = _Xtime3Sbox[103]
|
1158
|
+
Xtime2[103] = _Xtime2[103]
|
1159
|
+
Xtime9[103] = _Xtime9[103]
|
1160
|
+
XtimeB[103] = _XtimeB[103]
|
1161
|
+
XtimeD[103] = _XtimeD[103]
|
1162
|
+
XtimeE[103] = _XtimeE[103]
|
1163
|
+
Sbox[104] = _Sbox[104]
|
1164
|
+
InvSbox[104] = _InvSbox[104]
|
1165
|
+
Xtime2Sbox[104] = _Xtime2Sbox[104]
|
1166
|
+
Xtime3Sbox[104] = _Xtime3Sbox[104]
|
1167
|
+
Xtime2[104] = _Xtime2[104]
|
1168
|
+
Xtime9[104] = _Xtime9[104]
|
1169
|
+
XtimeB[104] = _XtimeB[104]
|
1170
|
+
XtimeD[104] = _XtimeD[104]
|
1171
|
+
XtimeE[104] = _XtimeE[104]
|
1172
|
+
Sbox[105] = _Sbox[105]
|
1173
|
+
InvSbox[105] = _InvSbox[105]
|
1174
|
+
Xtime2Sbox[105] = _Xtime2Sbox[105]
|
1175
|
+
Xtime3Sbox[105] = _Xtime3Sbox[105]
|
1176
|
+
Xtime2[105] = _Xtime2[105]
|
1177
|
+
Xtime9[105] = _Xtime9[105]
|
1178
|
+
XtimeB[105] = _XtimeB[105]
|
1179
|
+
XtimeD[105] = _XtimeD[105]
|
1180
|
+
XtimeE[105] = _XtimeE[105]
|
1181
|
+
Sbox[106] = _Sbox[106]
|
1182
|
+
InvSbox[106] = _InvSbox[106]
|
1183
|
+
Xtime2Sbox[106] = _Xtime2Sbox[106]
|
1184
|
+
Xtime3Sbox[106] = _Xtime3Sbox[106]
|
1185
|
+
Xtime2[106] = _Xtime2[106]
|
1186
|
+
Xtime9[106] = _Xtime9[106]
|
1187
|
+
XtimeB[106] = _XtimeB[106]
|
1188
|
+
XtimeD[106] = _XtimeD[106]
|
1189
|
+
XtimeE[106] = _XtimeE[106]
|
1190
|
+
Sbox[107] = _Sbox[107]
|
1191
|
+
InvSbox[107] = _InvSbox[107]
|
1192
|
+
Xtime2Sbox[107] = _Xtime2Sbox[107]
|
1193
|
+
Xtime3Sbox[107] = _Xtime3Sbox[107]
|
1194
|
+
Xtime2[107] = _Xtime2[107]
|
1195
|
+
Xtime9[107] = _Xtime9[107]
|
1196
|
+
XtimeB[107] = _XtimeB[107]
|
1197
|
+
XtimeD[107] = _XtimeD[107]
|
1198
|
+
XtimeE[107] = _XtimeE[107]
|
1199
|
+
Sbox[108] = _Sbox[108]
|
1200
|
+
InvSbox[108] = _InvSbox[108]
|
1201
|
+
Xtime2Sbox[108] = _Xtime2Sbox[108]
|
1202
|
+
Xtime3Sbox[108] = _Xtime3Sbox[108]
|
1203
|
+
Xtime2[108] = _Xtime2[108]
|
1204
|
+
Xtime9[108] = _Xtime9[108]
|
1205
|
+
XtimeB[108] = _XtimeB[108]
|
1206
|
+
XtimeD[108] = _XtimeD[108]
|
1207
|
+
XtimeE[108] = _XtimeE[108]
|
1208
|
+
Sbox[109] = _Sbox[109]
|
1209
|
+
InvSbox[109] = _InvSbox[109]
|
1210
|
+
Xtime2Sbox[109] = _Xtime2Sbox[109]
|
1211
|
+
Xtime3Sbox[109] = _Xtime3Sbox[109]
|
1212
|
+
Xtime2[109] = _Xtime2[109]
|
1213
|
+
Xtime9[109] = _Xtime9[109]
|
1214
|
+
XtimeB[109] = _XtimeB[109]
|
1215
|
+
XtimeD[109] = _XtimeD[109]
|
1216
|
+
XtimeE[109] = _XtimeE[109]
|
1217
|
+
Sbox[110] = _Sbox[110]
|
1218
|
+
InvSbox[110] = _InvSbox[110]
|
1219
|
+
Xtime2Sbox[110] = _Xtime2Sbox[110]
|
1220
|
+
Xtime3Sbox[110] = _Xtime3Sbox[110]
|
1221
|
+
Xtime2[110] = _Xtime2[110]
|
1222
|
+
Xtime9[110] = _Xtime9[110]
|
1223
|
+
XtimeB[110] = _XtimeB[110]
|
1224
|
+
XtimeD[110] = _XtimeD[110]
|
1225
|
+
XtimeE[110] = _XtimeE[110]
|
1226
|
+
Sbox[111] = _Sbox[111]
|
1227
|
+
InvSbox[111] = _InvSbox[111]
|
1228
|
+
Xtime2Sbox[111] = _Xtime2Sbox[111]
|
1229
|
+
Xtime3Sbox[111] = _Xtime3Sbox[111]
|
1230
|
+
Xtime2[111] = _Xtime2[111]
|
1231
|
+
Xtime9[111] = _Xtime9[111]
|
1232
|
+
XtimeB[111] = _XtimeB[111]
|
1233
|
+
XtimeD[111] = _XtimeD[111]
|
1234
|
+
XtimeE[111] = _XtimeE[111]
|
1235
|
+
Sbox[112] = _Sbox[112]
|
1236
|
+
InvSbox[112] = _InvSbox[112]
|
1237
|
+
Xtime2Sbox[112] = _Xtime2Sbox[112]
|
1238
|
+
Xtime3Sbox[112] = _Xtime3Sbox[112]
|
1239
|
+
Xtime2[112] = _Xtime2[112]
|
1240
|
+
Xtime9[112] = _Xtime9[112]
|
1241
|
+
XtimeB[112] = _XtimeB[112]
|
1242
|
+
XtimeD[112] = _XtimeD[112]
|
1243
|
+
XtimeE[112] = _XtimeE[112]
|
1244
|
+
Sbox[113] = _Sbox[113]
|
1245
|
+
InvSbox[113] = _InvSbox[113]
|
1246
|
+
Xtime2Sbox[113] = _Xtime2Sbox[113]
|
1247
|
+
Xtime3Sbox[113] = _Xtime3Sbox[113]
|
1248
|
+
Xtime2[113] = _Xtime2[113]
|
1249
|
+
Xtime9[113] = _Xtime9[113]
|
1250
|
+
XtimeB[113] = _XtimeB[113]
|
1251
|
+
XtimeD[113] = _XtimeD[113]
|
1252
|
+
XtimeE[113] = _XtimeE[113]
|
1253
|
+
Sbox[114] = _Sbox[114]
|
1254
|
+
InvSbox[114] = _InvSbox[114]
|
1255
|
+
Xtime2Sbox[114] = _Xtime2Sbox[114]
|
1256
|
+
Xtime3Sbox[114] = _Xtime3Sbox[114]
|
1257
|
+
Xtime2[114] = _Xtime2[114]
|
1258
|
+
Xtime9[114] = _Xtime9[114]
|
1259
|
+
XtimeB[114] = _XtimeB[114]
|
1260
|
+
XtimeD[114] = _XtimeD[114]
|
1261
|
+
XtimeE[114] = _XtimeE[114]
|
1262
|
+
Sbox[115] = _Sbox[115]
|
1263
|
+
InvSbox[115] = _InvSbox[115]
|
1264
|
+
Xtime2Sbox[115] = _Xtime2Sbox[115]
|
1265
|
+
Xtime3Sbox[115] = _Xtime3Sbox[115]
|
1266
|
+
Xtime2[115] = _Xtime2[115]
|
1267
|
+
Xtime9[115] = _Xtime9[115]
|
1268
|
+
XtimeB[115] = _XtimeB[115]
|
1269
|
+
XtimeD[115] = _XtimeD[115]
|
1270
|
+
XtimeE[115] = _XtimeE[115]
|
1271
|
+
Sbox[116] = _Sbox[116]
|
1272
|
+
InvSbox[116] = _InvSbox[116]
|
1273
|
+
Xtime2Sbox[116] = _Xtime2Sbox[116]
|
1274
|
+
Xtime3Sbox[116] = _Xtime3Sbox[116]
|
1275
|
+
Xtime2[116] = _Xtime2[116]
|
1276
|
+
Xtime9[116] = _Xtime9[116]
|
1277
|
+
XtimeB[116] = _XtimeB[116]
|
1278
|
+
XtimeD[116] = _XtimeD[116]
|
1279
|
+
XtimeE[116] = _XtimeE[116]
|
1280
|
+
Sbox[117] = _Sbox[117]
|
1281
|
+
InvSbox[117] = _InvSbox[117]
|
1282
|
+
Xtime2Sbox[117] = _Xtime2Sbox[117]
|
1283
|
+
Xtime3Sbox[117] = _Xtime3Sbox[117]
|
1284
|
+
Xtime2[117] = _Xtime2[117]
|
1285
|
+
Xtime9[117] = _Xtime9[117]
|
1286
|
+
XtimeB[117] = _XtimeB[117]
|
1287
|
+
XtimeD[117] = _XtimeD[117]
|
1288
|
+
XtimeE[117] = _XtimeE[117]
|
1289
|
+
Sbox[118] = _Sbox[118]
|
1290
|
+
InvSbox[118] = _InvSbox[118]
|
1291
|
+
Xtime2Sbox[118] = _Xtime2Sbox[118]
|
1292
|
+
Xtime3Sbox[118] = _Xtime3Sbox[118]
|
1293
|
+
Xtime2[118] = _Xtime2[118]
|
1294
|
+
Xtime9[118] = _Xtime9[118]
|
1295
|
+
XtimeB[118] = _XtimeB[118]
|
1296
|
+
XtimeD[118] = _XtimeD[118]
|
1297
|
+
XtimeE[118] = _XtimeE[118]
|
1298
|
+
Sbox[119] = _Sbox[119]
|
1299
|
+
InvSbox[119] = _InvSbox[119]
|
1300
|
+
Xtime2Sbox[119] = _Xtime2Sbox[119]
|
1301
|
+
Xtime3Sbox[119] = _Xtime3Sbox[119]
|
1302
|
+
Xtime2[119] = _Xtime2[119]
|
1303
|
+
Xtime9[119] = _Xtime9[119]
|
1304
|
+
XtimeB[119] = _XtimeB[119]
|
1305
|
+
XtimeD[119] = _XtimeD[119]
|
1306
|
+
XtimeE[119] = _XtimeE[119]
|
1307
|
+
Sbox[120] = _Sbox[120]
|
1308
|
+
InvSbox[120] = _InvSbox[120]
|
1309
|
+
Xtime2Sbox[120] = _Xtime2Sbox[120]
|
1310
|
+
Xtime3Sbox[120] = _Xtime3Sbox[120]
|
1311
|
+
Xtime2[120] = _Xtime2[120]
|
1312
|
+
Xtime9[120] = _Xtime9[120]
|
1313
|
+
XtimeB[120] = _XtimeB[120]
|
1314
|
+
XtimeD[120] = _XtimeD[120]
|
1315
|
+
XtimeE[120] = _XtimeE[120]
|
1316
|
+
Sbox[121] = _Sbox[121]
|
1317
|
+
InvSbox[121] = _InvSbox[121]
|
1318
|
+
Xtime2Sbox[121] = _Xtime2Sbox[121]
|
1319
|
+
Xtime3Sbox[121] = _Xtime3Sbox[121]
|
1320
|
+
Xtime2[121] = _Xtime2[121]
|
1321
|
+
Xtime9[121] = _Xtime9[121]
|
1322
|
+
XtimeB[121] = _XtimeB[121]
|
1323
|
+
XtimeD[121] = _XtimeD[121]
|
1324
|
+
XtimeE[121] = _XtimeE[121]
|
1325
|
+
Sbox[122] = _Sbox[122]
|
1326
|
+
InvSbox[122] = _InvSbox[122]
|
1327
|
+
Xtime2Sbox[122] = _Xtime2Sbox[122]
|
1328
|
+
Xtime3Sbox[122] = _Xtime3Sbox[122]
|
1329
|
+
Xtime2[122] = _Xtime2[122]
|
1330
|
+
Xtime9[122] = _Xtime9[122]
|
1331
|
+
XtimeB[122] = _XtimeB[122]
|
1332
|
+
XtimeD[122] = _XtimeD[122]
|
1333
|
+
XtimeE[122] = _XtimeE[122]
|
1334
|
+
Sbox[123] = _Sbox[123]
|
1335
|
+
InvSbox[123] = _InvSbox[123]
|
1336
|
+
Xtime2Sbox[123] = _Xtime2Sbox[123]
|
1337
|
+
Xtime3Sbox[123] = _Xtime3Sbox[123]
|
1338
|
+
Xtime2[123] = _Xtime2[123]
|
1339
|
+
Xtime9[123] = _Xtime9[123]
|
1340
|
+
XtimeB[123] = _XtimeB[123]
|
1341
|
+
XtimeD[123] = _XtimeD[123]
|
1342
|
+
XtimeE[123] = _XtimeE[123]
|
1343
|
+
Sbox[124] = _Sbox[124]
|
1344
|
+
InvSbox[124] = _InvSbox[124]
|
1345
|
+
Xtime2Sbox[124] = _Xtime2Sbox[124]
|
1346
|
+
Xtime3Sbox[124] = _Xtime3Sbox[124]
|
1347
|
+
Xtime2[124] = _Xtime2[124]
|
1348
|
+
Xtime9[124] = _Xtime9[124]
|
1349
|
+
XtimeB[124] = _XtimeB[124]
|
1350
|
+
XtimeD[124] = _XtimeD[124]
|
1351
|
+
XtimeE[124] = _XtimeE[124]
|
1352
|
+
Sbox[125] = _Sbox[125]
|
1353
|
+
InvSbox[125] = _InvSbox[125]
|
1354
|
+
Xtime2Sbox[125] = _Xtime2Sbox[125]
|
1355
|
+
Xtime3Sbox[125] = _Xtime3Sbox[125]
|
1356
|
+
Xtime2[125] = _Xtime2[125]
|
1357
|
+
Xtime9[125] = _Xtime9[125]
|
1358
|
+
XtimeB[125] = _XtimeB[125]
|
1359
|
+
XtimeD[125] = _XtimeD[125]
|
1360
|
+
XtimeE[125] = _XtimeE[125]
|
1361
|
+
Sbox[126] = _Sbox[126]
|
1362
|
+
InvSbox[126] = _InvSbox[126]
|
1363
|
+
Xtime2Sbox[126] = _Xtime2Sbox[126]
|
1364
|
+
Xtime3Sbox[126] = _Xtime3Sbox[126]
|
1365
|
+
Xtime2[126] = _Xtime2[126]
|
1366
|
+
Xtime9[126] = _Xtime9[126]
|
1367
|
+
XtimeB[126] = _XtimeB[126]
|
1368
|
+
XtimeD[126] = _XtimeD[126]
|
1369
|
+
XtimeE[126] = _XtimeE[126]
|
1370
|
+
Sbox[127] = _Sbox[127]
|
1371
|
+
InvSbox[127] = _InvSbox[127]
|
1372
|
+
Xtime2Sbox[127] = _Xtime2Sbox[127]
|
1373
|
+
Xtime3Sbox[127] = _Xtime3Sbox[127]
|
1374
|
+
Xtime2[127] = _Xtime2[127]
|
1375
|
+
Xtime9[127] = _Xtime9[127]
|
1376
|
+
XtimeB[127] = _XtimeB[127]
|
1377
|
+
XtimeD[127] = _XtimeD[127]
|
1378
|
+
XtimeE[127] = _XtimeE[127]
|
1379
|
+
Sbox[128] = _Sbox[128]
|
1380
|
+
InvSbox[128] = _InvSbox[128]
|
1381
|
+
Xtime2Sbox[128] = _Xtime2Sbox[128]
|
1382
|
+
Xtime3Sbox[128] = _Xtime3Sbox[128]
|
1383
|
+
Xtime2[128] = _Xtime2[128]
|
1384
|
+
Xtime9[128] = _Xtime9[128]
|
1385
|
+
XtimeB[128] = _XtimeB[128]
|
1386
|
+
XtimeD[128] = _XtimeD[128]
|
1387
|
+
XtimeE[128] = _XtimeE[128]
|
1388
|
+
Sbox[129] = _Sbox[129]
|
1389
|
+
InvSbox[129] = _InvSbox[129]
|
1390
|
+
Xtime2Sbox[129] = _Xtime2Sbox[129]
|
1391
|
+
Xtime3Sbox[129] = _Xtime3Sbox[129]
|
1392
|
+
Xtime2[129] = _Xtime2[129]
|
1393
|
+
Xtime9[129] = _Xtime9[129]
|
1394
|
+
XtimeB[129] = _XtimeB[129]
|
1395
|
+
XtimeD[129] = _XtimeD[129]
|
1396
|
+
XtimeE[129] = _XtimeE[129]
|
1397
|
+
Sbox[130] = _Sbox[130]
|
1398
|
+
InvSbox[130] = _InvSbox[130]
|
1399
|
+
Xtime2Sbox[130] = _Xtime2Sbox[130]
|
1400
|
+
Xtime3Sbox[130] = _Xtime3Sbox[130]
|
1401
|
+
Xtime2[130] = _Xtime2[130]
|
1402
|
+
Xtime9[130] = _Xtime9[130]
|
1403
|
+
XtimeB[130] = _XtimeB[130]
|
1404
|
+
XtimeD[130] = _XtimeD[130]
|
1405
|
+
XtimeE[130] = _XtimeE[130]
|
1406
|
+
Sbox[131] = _Sbox[131]
|
1407
|
+
InvSbox[131] = _InvSbox[131]
|
1408
|
+
Xtime2Sbox[131] = _Xtime2Sbox[131]
|
1409
|
+
Xtime3Sbox[131] = _Xtime3Sbox[131]
|
1410
|
+
Xtime2[131] = _Xtime2[131]
|
1411
|
+
Xtime9[131] = _Xtime9[131]
|
1412
|
+
XtimeB[131] = _XtimeB[131]
|
1413
|
+
XtimeD[131] = _XtimeD[131]
|
1414
|
+
XtimeE[131] = _XtimeE[131]
|
1415
|
+
Sbox[132] = _Sbox[132]
|
1416
|
+
InvSbox[132] = _InvSbox[132]
|
1417
|
+
Xtime2Sbox[132] = _Xtime2Sbox[132]
|
1418
|
+
Xtime3Sbox[132] = _Xtime3Sbox[132]
|
1419
|
+
Xtime2[132] = _Xtime2[132]
|
1420
|
+
Xtime9[132] = _Xtime9[132]
|
1421
|
+
XtimeB[132] = _XtimeB[132]
|
1422
|
+
XtimeD[132] = _XtimeD[132]
|
1423
|
+
XtimeE[132] = _XtimeE[132]
|
1424
|
+
Sbox[133] = _Sbox[133]
|
1425
|
+
InvSbox[133] = _InvSbox[133]
|
1426
|
+
Xtime2Sbox[133] = _Xtime2Sbox[133]
|
1427
|
+
Xtime3Sbox[133] = _Xtime3Sbox[133]
|
1428
|
+
Xtime2[133] = _Xtime2[133]
|
1429
|
+
Xtime9[133] = _Xtime9[133]
|
1430
|
+
XtimeB[133] = _XtimeB[133]
|
1431
|
+
XtimeD[133] = _XtimeD[133]
|
1432
|
+
XtimeE[133] = _XtimeE[133]
|
1433
|
+
Sbox[134] = _Sbox[134]
|
1434
|
+
InvSbox[134] = _InvSbox[134]
|
1435
|
+
Xtime2Sbox[134] = _Xtime2Sbox[134]
|
1436
|
+
Xtime3Sbox[134] = _Xtime3Sbox[134]
|
1437
|
+
Xtime2[134] = _Xtime2[134]
|
1438
|
+
Xtime9[134] = _Xtime9[134]
|
1439
|
+
XtimeB[134] = _XtimeB[134]
|
1440
|
+
XtimeD[134] = _XtimeD[134]
|
1441
|
+
XtimeE[134] = _XtimeE[134]
|
1442
|
+
Sbox[135] = _Sbox[135]
|
1443
|
+
InvSbox[135] = _InvSbox[135]
|
1444
|
+
Xtime2Sbox[135] = _Xtime2Sbox[135]
|
1445
|
+
Xtime3Sbox[135] = _Xtime3Sbox[135]
|
1446
|
+
Xtime2[135] = _Xtime2[135]
|
1447
|
+
Xtime9[135] = _Xtime9[135]
|
1448
|
+
XtimeB[135] = _XtimeB[135]
|
1449
|
+
XtimeD[135] = _XtimeD[135]
|
1450
|
+
XtimeE[135] = _XtimeE[135]
|
1451
|
+
Sbox[136] = _Sbox[136]
|
1452
|
+
InvSbox[136] = _InvSbox[136]
|
1453
|
+
Xtime2Sbox[136] = _Xtime2Sbox[136]
|
1454
|
+
Xtime3Sbox[136] = _Xtime3Sbox[136]
|
1455
|
+
Xtime2[136] = _Xtime2[136]
|
1456
|
+
Xtime9[136] = _Xtime9[136]
|
1457
|
+
XtimeB[136] = _XtimeB[136]
|
1458
|
+
XtimeD[136] = _XtimeD[136]
|
1459
|
+
XtimeE[136] = _XtimeE[136]
|
1460
|
+
Sbox[137] = _Sbox[137]
|
1461
|
+
InvSbox[137] = _InvSbox[137]
|
1462
|
+
Xtime2Sbox[137] = _Xtime2Sbox[137]
|
1463
|
+
Xtime3Sbox[137] = _Xtime3Sbox[137]
|
1464
|
+
Xtime2[137] = _Xtime2[137]
|
1465
|
+
Xtime9[137] = _Xtime9[137]
|
1466
|
+
XtimeB[137] = _XtimeB[137]
|
1467
|
+
XtimeD[137] = _XtimeD[137]
|
1468
|
+
XtimeE[137] = _XtimeE[137]
|
1469
|
+
Sbox[138] = _Sbox[138]
|
1470
|
+
InvSbox[138] = _InvSbox[138]
|
1471
|
+
Xtime2Sbox[138] = _Xtime2Sbox[138]
|
1472
|
+
Xtime3Sbox[138] = _Xtime3Sbox[138]
|
1473
|
+
Xtime2[138] = _Xtime2[138]
|
1474
|
+
Xtime9[138] = _Xtime9[138]
|
1475
|
+
XtimeB[138] = _XtimeB[138]
|
1476
|
+
XtimeD[138] = _XtimeD[138]
|
1477
|
+
XtimeE[138] = _XtimeE[138]
|
1478
|
+
Sbox[139] = _Sbox[139]
|
1479
|
+
InvSbox[139] = _InvSbox[139]
|
1480
|
+
Xtime2Sbox[139] = _Xtime2Sbox[139]
|
1481
|
+
Xtime3Sbox[139] = _Xtime3Sbox[139]
|
1482
|
+
Xtime2[139] = _Xtime2[139]
|
1483
|
+
Xtime9[139] = _Xtime9[139]
|
1484
|
+
XtimeB[139] = _XtimeB[139]
|
1485
|
+
XtimeD[139] = _XtimeD[139]
|
1486
|
+
XtimeE[139] = _XtimeE[139]
|
1487
|
+
Sbox[140] = _Sbox[140]
|
1488
|
+
InvSbox[140] = _InvSbox[140]
|
1489
|
+
Xtime2Sbox[140] = _Xtime2Sbox[140]
|
1490
|
+
Xtime3Sbox[140] = _Xtime3Sbox[140]
|
1491
|
+
Xtime2[140] = _Xtime2[140]
|
1492
|
+
Xtime9[140] = _Xtime9[140]
|
1493
|
+
XtimeB[140] = _XtimeB[140]
|
1494
|
+
XtimeD[140] = _XtimeD[140]
|
1495
|
+
XtimeE[140] = _XtimeE[140]
|
1496
|
+
Sbox[141] = _Sbox[141]
|
1497
|
+
InvSbox[141] = _InvSbox[141]
|
1498
|
+
Xtime2Sbox[141] = _Xtime2Sbox[141]
|
1499
|
+
Xtime3Sbox[141] = _Xtime3Sbox[141]
|
1500
|
+
Xtime2[141] = _Xtime2[141]
|
1501
|
+
Xtime9[141] = _Xtime9[141]
|
1502
|
+
XtimeB[141] = _XtimeB[141]
|
1503
|
+
XtimeD[141] = _XtimeD[141]
|
1504
|
+
XtimeE[141] = _XtimeE[141]
|
1505
|
+
Sbox[142] = _Sbox[142]
|
1506
|
+
InvSbox[142] = _InvSbox[142]
|
1507
|
+
Xtime2Sbox[142] = _Xtime2Sbox[142]
|
1508
|
+
Xtime3Sbox[142] = _Xtime3Sbox[142]
|
1509
|
+
Xtime2[142] = _Xtime2[142]
|
1510
|
+
Xtime9[142] = _Xtime9[142]
|
1511
|
+
XtimeB[142] = _XtimeB[142]
|
1512
|
+
XtimeD[142] = _XtimeD[142]
|
1513
|
+
XtimeE[142] = _XtimeE[142]
|
1514
|
+
Sbox[143] = _Sbox[143]
|
1515
|
+
InvSbox[143] = _InvSbox[143]
|
1516
|
+
Xtime2Sbox[143] = _Xtime2Sbox[143]
|
1517
|
+
Xtime3Sbox[143] = _Xtime3Sbox[143]
|
1518
|
+
Xtime2[143] = _Xtime2[143]
|
1519
|
+
Xtime9[143] = _Xtime9[143]
|
1520
|
+
XtimeB[143] = _XtimeB[143]
|
1521
|
+
XtimeD[143] = _XtimeD[143]
|
1522
|
+
XtimeE[143] = _XtimeE[143]
|
1523
|
+
Sbox[144] = _Sbox[144]
|
1524
|
+
InvSbox[144] = _InvSbox[144]
|
1525
|
+
Xtime2Sbox[144] = _Xtime2Sbox[144]
|
1526
|
+
Xtime3Sbox[144] = _Xtime3Sbox[144]
|
1527
|
+
Xtime2[144] = _Xtime2[144]
|
1528
|
+
Xtime9[144] = _Xtime9[144]
|
1529
|
+
XtimeB[144] = _XtimeB[144]
|
1530
|
+
XtimeD[144] = _XtimeD[144]
|
1531
|
+
XtimeE[144] = _XtimeE[144]
|
1532
|
+
Sbox[145] = _Sbox[145]
|
1533
|
+
InvSbox[145] = _InvSbox[145]
|
1534
|
+
Xtime2Sbox[145] = _Xtime2Sbox[145]
|
1535
|
+
Xtime3Sbox[145] = _Xtime3Sbox[145]
|
1536
|
+
Xtime2[145] = _Xtime2[145]
|
1537
|
+
Xtime9[145] = _Xtime9[145]
|
1538
|
+
XtimeB[145] = _XtimeB[145]
|
1539
|
+
XtimeD[145] = _XtimeD[145]
|
1540
|
+
XtimeE[145] = _XtimeE[145]
|
1541
|
+
Sbox[146] = _Sbox[146]
|
1542
|
+
InvSbox[146] = _InvSbox[146]
|
1543
|
+
Xtime2Sbox[146] = _Xtime2Sbox[146]
|
1544
|
+
Xtime3Sbox[146] = _Xtime3Sbox[146]
|
1545
|
+
Xtime2[146] = _Xtime2[146]
|
1546
|
+
Xtime9[146] = _Xtime9[146]
|
1547
|
+
XtimeB[146] = _XtimeB[146]
|
1548
|
+
XtimeD[146] = _XtimeD[146]
|
1549
|
+
XtimeE[146] = _XtimeE[146]
|
1550
|
+
Sbox[147] = _Sbox[147]
|
1551
|
+
InvSbox[147] = _InvSbox[147]
|
1552
|
+
Xtime2Sbox[147] = _Xtime2Sbox[147]
|
1553
|
+
Xtime3Sbox[147] = _Xtime3Sbox[147]
|
1554
|
+
Xtime2[147] = _Xtime2[147]
|
1555
|
+
Xtime9[147] = _Xtime9[147]
|
1556
|
+
XtimeB[147] = _XtimeB[147]
|
1557
|
+
XtimeD[147] = _XtimeD[147]
|
1558
|
+
XtimeE[147] = _XtimeE[147]
|
1559
|
+
Sbox[148] = _Sbox[148]
|
1560
|
+
InvSbox[148] = _InvSbox[148]
|
1561
|
+
Xtime2Sbox[148] = _Xtime2Sbox[148]
|
1562
|
+
Xtime3Sbox[148] = _Xtime3Sbox[148]
|
1563
|
+
Xtime2[148] = _Xtime2[148]
|
1564
|
+
Xtime9[148] = _Xtime9[148]
|
1565
|
+
XtimeB[148] = _XtimeB[148]
|
1566
|
+
XtimeD[148] = _XtimeD[148]
|
1567
|
+
XtimeE[148] = _XtimeE[148]
|
1568
|
+
Sbox[149] = _Sbox[149]
|
1569
|
+
InvSbox[149] = _InvSbox[149]
|
1570
|
+
Xtime2Sbox[149] = _Xtime2Sbox[149]
|
1571
|
+
Xtime3Sbox[149] = _Xtime3Sbox[149]
|
1572
|
+
Xtime2[149] = _Xtime2[149]
|
1573
|
+
Xtime9[149] = _Xtime9[149]
|
1574
|
+
XtimeB[149] = _XtimeB[149]
|
1575
|
+
XtimeD[149] = _XtimeD[149]
|
1576
|
+
XtimeE[149] = _XtimeE[149]
|
1577
|
+
Sbox[150] = _Sbox[150]
|
1578
|
+
InvSbox[150] = _InvSbox[150]
|
1579
|
+
Xtime2Sbox[150] = _Xtime2Sbox[150]
|
1580
|
+
Xtime3Sbox[150] = _Xtime3Sbox[150]
|
1581
|
+
Xtime2[150] = _Xtime2[150]
|
1582
|
+
Xtime9[150] = _Xtime9[150]
|
1583
|
+
XtimeB[150] = _XtimeB[150]
|
1584
|
+
XtimeD[150] = _XtimeD[150]
|
1585
|
+
XtimeE[150] = _XtimeE[150]
|
1586
|
+
Sbox[151] = _Sbox[151]
|
1587
|
+
InvSbox[151] = _InvSbox[151]
|
1588
|
+
Xtime2Sbox[151] = _Xtime2Sbox[151]
|
1589
|
+
Xtime3Sbox[151] = _Xtime3Sbox[151]
|
1590
|
+
Xtime2[151] = _Xtime2[151]
|
1591
|
+
Xtime9[151] = _Xtime9[151]
|
1592
|
+
XtimeB[151] = _XtimeB[151]
|
1593
|
+
XtimeD[151] = _XtimeD[151]
|
1594
|
+
XtimeE[151] = _XtimeE[151]
|
1595
|
+
Sbox[152] = _Sbox[152]
|
1596
|
+
InvSbox[152] = _InvSbox[152]
|
1597
|
+
Xtime2Sbox[152] = _Xtime2Sbox[152]
|
1598
|
+
Xtime3Sbox[152] = _Xtime3Sbox[152]
|
1599
|
+
Xtime2[152] = _Xtime2[152]
|
1600
|
+
Xtime9[152] = _Xtime9[152]
|
1601
|
+
XtimeB[152] = _XtimeB[152]
|
1602
|
+
XtimeD[152] = _XtimeD[152]
|
1603
|
+
XtimeE[152] = _XtimeE[152]
|
1604
|
+
Sbox[153] = _Sbox[153]
|
1605
|
+
InvSbox[153] = _InvSbox[153]
|
1606
|
+
Xtime2Sbox[153] = _Xtime2Sbox[153]
|
1607
|
+
Xtime3Sbox[153] = _Xtime3Sbox[153]
|
1608
|
+
Xtime2[153] = _Xtime2[153]
|
1609
|
+
Xtime9[153] = _Xtime9[153]
|
1610
|
+
XtimeB[153] = _XtimeB[153]
|
1611
|
+
XtimeD[153] = _XtimeD[153]
|
1612
|
+
XtimeE[153] = _XtimeE[153]
|
1613
|
+
Sbox[154] = _Sbox[154]
|
1614
|
+
InvSbox[154] = _InvSbox[154]
|
1615
|
+
Xtime2Sbox[154] = _Xtime2Sbox[154]
|
1616
|
+
Xtime3Sbox[154] = _Xtime3Sbox[154]
|
1617
|
+
Xtime2[154] = _Xtime2[154]
|
1618
|
+
Xtime9[154] = _Xtime9[154]
|
1619
|
+
XtimeB[154] = _XtimeB[154]
|
1620
|
+
XtimeD[154] = _XtimeD[154]
|
1621
|
+
XtimeE[154] = _XtimeE[154]
|
1622
|
+
Sbox[155] = _Sbox[155]
|
1623
|
+
InvSbox[155] = _InvSbox[155]
|
1624
|
+
Xtime2Sbox[155] = _Xtime2Sbox[155]
|
1625
|
+
Xtime3Sbox[155] = _Xtime3Sbox[155]
|
1626
|
+
Xtime2[155] = _Xtime2[155]
|
1627
|
+
Xtime9[155] = _Xtime9[155]
|
1628
|
+
XtimeB[155] = _XtimeB[155]
|
1629
|
+
XtimeD[155] = _XtimeD[155]
|
1630
|
+
XtimeE[155] = _XtimeE[155]
|
1631
|
+
Sbox[156] = _Sbox[156]
|
1632
|
+
InvSbox[156] = _InvSbox[156]
|
1633
|
+
Xtime2Sbox[156] = _Xtime2Sbox[156]
|
1634
|
+
Xtime3Sbox[156] = _Xtime3Sbox[156]
|
1635
|
+
Xtime2[156] = _Xtime2[156]
|
1636
|
+
Xtime9[156] = _Xtime9[156]
|
1637
|
+
XtimeB[156] = _XtimeB[156]
|
1638
|
+
XtimeD[156] = _XtimeD[156]
|
1639
|
+
XtimeE[156] = _XtimeE[156]
|
1640
|
+
Sbox[157] = _Sbox[157]
|
1641
|
+
InvSbox[157] = _InvSbox[157]
|
1642
|
+
Xtime2Sbox[157] = _Xtime2Sbox[157]
|
1643
|
+
Xtime3Sbox[157] = _Xtime3Sbox[157]
|
1644
|
+
Xtime2[157] = _Xtime2[157]
|
1645
|
+
Xtime9[157] = _Xtime9[157]
|
1646
|
+
XtimeB[157] = _XtimeB[157]
|
1647
|
+
XtimeD[157] = _XtimeD[157]
|
1648
|
+
XtimeE[157] = _XtimeE[157]
|
1649
|
+
Sbox[158] = _Sbox[158]
|
1650
|
+
InvSbox[158] = _InvSbox[158]
|
1651
|
+
Xtime2Sbox[158] = _Xtime2Sbox[158]
|
1652
|
+
Xtime3Sbox[158] = _Xtime3Sbox[158]
|
1653
|
+
Xtime2[158] = _Xtime2[158]
|
1654
|
+
Xtime9[158] = _Xtime9[158]
|
1655
|
+
XtimeB[158] = _XtimeB[158]
|
1656
|
+
XtimeD[158] = _XtimeD[158]
|
1657
|
+
XtimeE[158] = _XtimeE[158]
|
1658
|
+
Sbox[159] = _Sbox[159]
|
1659
|
+
InvSbox[159] = _InvSbox[159]
|
1660
|
+
Xtime2Sbox[159] = _Xtime2Sbox[159]
|
1661
|
+
Xtime3Sbox[159] = _Xtime3Sbox[159]
|
1662
|
+
Xtime2[159] = _Xtime2[159]
|
1663
|
+
Xtime9[159] = _Xtime9[159]
|
1664
|
+
XtimeB[159] = _XtimeB[159]
|
1665
|
+
XtimeD[159] = _XtimeD[159]
|
1666
|
+
XtimeE[159] = _XtimeE[159]
|
1667
|
+
Sbox[160] = _Sbox[160]
|
1668
|
+
InvSbox[160] = _InvSbox[160]
|
1669
|
+
Xtime2Sbox[160] = _Xtime2Sbox[160]
|
1670
|
+
Xtime3Sbox[160] = _Xtime3Sbox[160]
|
1671
|
+
Xtime2[160] = _Xtime2[160]
|
1672
|
+
Xtime9[160] = _Xtime9[160]
|
1673
|
+
XtimeB[160] = _XtimeB[160]
|
1674
|
+
XtimeD[160] = _XtimeD[160]
|
1675
|
+
XtimeE[160] = _XtimeE[160]
|
1676
|
+
Sbox[161] = _Sbox[161]
|
1677
|
+
InvSbox[161] = _InvSbox[161]
|
1678
|
+
Xtime2Sbox[161] = _Xtime2Sbox[161]
|
1679
|
+
Xtime3Sbox[161] = _Xtime3Sbox[161]
|
1680
|
+
Xtime2[161] = _Xtime2[161]
|
1681
|
+
Xtime9[161] = _Xtime9[161]
|
1682
|
+
XtimeB[161] = _XtimeB[161]
|
1683
|
+
XtimeD[161] = _XtimeD[161]
|
1684
|
+
XtimeE[161] = _XtimeE[161]
|
1685
|
+
Sbox[162] = _Sbox[162]
|
1686
|
+
InvSbox[162] = _InvSbox[162]
|
1687
|
+
Xtime2Sbox[162] = _Xtime2Sbox[162]
|
1688
|
+
Xtime3Sbox[162] = _Xtime3Sbox[162]
|
1689
|
+
Xtime2[162] = _Xtime2[162]
|
1690
|
+
Xtime9[162] = _Xtime9[162]
|
1691
|
+
XtimeB[162] = _XtimeB[162]
|
1692
|
+
XtimeD[162] = _XtimeD[162]
|
1693
|
+
XtimeE[162] = _XtimeE[162]
|
1694
|
+
Sbox[163] = _Sbox[163]
|
1695
|
+
InvSbox[163] = _InvSbox[163]
|
1696
|
+
Xtime2Sbox[163] = _Xtime2Sbox[163]
|
1697
|
+
Xtime3Sbox[163] = _Xtime3Sbox[163]
|
1698
|
+
Xtime2[163] = _Xtime2[163]
|
1699
|
+
Xtime9[163] = _Xtime9[163]
|
1700
|
+
XtimeB[163] = _XtimeB[163]
|
1701
|
+
XtimeD[163] = _XtimeD[163]
|
1702
|
+
XtimeE[163] = _XtimeE[163]
|
1703
|
+
Sbox[164] = _Sbox[164]
|
1704
|
+
InvSbox[164] = _InvSbox[164]
|
1705
|
+
Xtime2Sbox[164] = _Xtime2Sbox[164]
|
1706
|
+
Xtime3Sbox[164] = _Xtime3Sbox[164]
|
1707
|
+
Xtime2[164] = _Xtime2[164]
|
1708
|
+
Xtime9[164] = _Xtime9[164]
|
1709
|
+
XtimeB[164] = _XtimeB[164]
|
1710
|
+
XtimeD[164] = _XtimeD[164]
|
1711
|
+
XtimeE[164] = _XtimeE[164]
|
1712
|
+
Sbox[165] = _Sbox[165]
|
1713
|
+
InvSbox[165] = _InvSbox[165]
|
1714
|
+
Xtime2Sbox[165] = _Xtime2Sbox[165]
|
1715
|
+
Xtime3Sbox[165] = _Xtime3Sbox[165]
|
1716
|
+
Xtime2[165] = _Xtime2[165]
|
1717
|
+
Xtime9[165] = _Xtime9[165]
|
1718
|
+
XtimeB[165] = _XtimeB[165]
|
1719
|
+
XtimeD[165] = _XtimeD[165]
|
1720
|
+
XtimeE[165] = _XtimeE[165]
|
1721
|
+
Sbox[166] = _Sbox[166]
|
1722
|
+
InvSbox[166] = _InvSbox[166]
|
1723
|
+
Xtime2Sbox[166] = _Xtime2Sbox[166]
|
1724
|
+
Xtime3Sbox[166] = _Xtime3Sbox[166]
|
1725
|
+
Xtime2[166] = _Xtime2[166]
|
1726
|
+
Xtime9[166] = _Xtime9[166]
|
1727
|
+
XtimeB[166] = _XtimeB[166]
|
1728
|
+
XtimeD[166] = _XtimeD[166]
|
1729
|
+
XtimeE[166] = _XtimeE[166]
|
1730
|
+
Sbox[167] = _Sbox[167]
|
1731
|
+
InvSbox[167] = _InvSbox[167]
|
1732
|
+
Xtime2Sbox[167] = _Xtime2Sbox[167]
|
1733
|
+
Xtime3Sbox[167] = _Xtime3Sbox[167]
|
1734
|
+
Xtime2[167] = _Xtime2[167]
|
1735
|
+
Xtime9[167] = _Xtime9[167]
|
1736
|
+
XtimeB[167] = _XtimeB[167]
|
1737
|
+
XtimeD[167] = _XtimeD[167]
|
1738
|
+
XtimeE[167] = _XtimeE[167]
|
1739
|
+
Sbox[168] = _Sbox[168]
|
1740
|
+
InvSbox[168] = _InvSbox[168]
|
1741
|
+
Xtime2Sbox[168] = _Xtime2Sbox[168]
|
1742
|
+
Xtime3Sbox[168] = _Xtime3Sbox[168]
|
1743
|
+
Xtime2[168] = _Xtime2[168]
|
1744
|
+
Xtime9[168] = _Xtime9[168]
|
1745
|
+
XtimeB[168] = _XtimeB[168]
|
1746
|
+
XtimeD[168] = _XtimeD[168]
|
1747
|
+
XtimeE[168] = _XtimeE[168]
|
1748
|
+
Sbox[169] = _Sbox[169]
|
1749
|
+
InvSbox[169] = _InvSbox[169]
|
1750
|
+
Xtime2Sbox[169] = _Xtime2Sbox[169]
|
1751
|
+
Xtime3Sbox[169] = _Xtime3Sbox[169]
|
1752
|
+
Xtime2[169] = _Xtime2[169]
|
1753
|
+
Xtime9[169] = _Xtime9[169]
|
1754
|
+
XtimeB[169] = _XtimeB[169]
|
1755
|
+
XtimeD[169] = _XtimeD[169]
|
1756
|
+
XtimeE[169] = _XtimeE[169]
|
1757
|
+
Sbox[170] = _Sbox[170]
|
1758
|
+
InvSbox[170] = _InvSbox[170]
|
1759
|
+
Xtime2Sbox[170] = _Xtime2Sbox[170]
|
1760
|
+
Xtime3Sbox[170] = _Xtime3Sbox[170]
|
1761
|
+
Xtime2[170] = _Xtime2[170]
|
1762
|
+
Xtime9[170] = _Xtime9[170]
|
1763
|
+
XtimeB[170] = _XtimeB[170]
|
1764
|
+
XtimeD[170] = _XtimeD[170]
|
1765
|
+
XtimeE[170] = _XtimeE[170]
|
1766
|
+
Sbox[171] = _Sbox[171]
|
1767
|
+
InvSbox[171] = _InvSbox[171]
|
1768
|
+
Xtime2Sbox[171] = _Xtime2Sbox[171]
|
1769
|
+
Xtime3Sbox[171] = _Xtime3Sbox[171]
|
1770
|
+
Xtime2[171] = _Xtime2[171]
|
1771
|
+
Xtime9[171] = _Xtime9[171]
|
1772
|
+
XtimeB[171] = _XtimeB[171]
|
1773
|
+
XtimeD[171] = _XtimeD[171]
|
1774
|
+
XtimeE[171] = _XtimeE[171]
|
1775
|
+
Sbox[172] = _Sbox[172]
|
1776
|
+
InvSbox[172] = _InvSbox[172]
|
1777
|
+
Xtime2Sbox[172] = _Xtime2Sbox[172]
|
1778
|
+
Xtime3Sbox[172] = _Xtime3Sbox[172]
|
1779
|
+
Xtime2[172] = _Xtime2[172]
|
1780
|
+
Xtime9[172] = _Xtime9[172]
|
1781
|
+
XtimeB[172] = _XtimeB[172]
|
1782
|
+
XtimeD[172] = _XtimeD[172]
|
1783
|
+
XtimeE[172] = _XtimeE[172]
|
1784
|
+
Sbox[173] = _Sbox[173]
|
1785
|
+
InvSbox[173] = _InvSbox[173]
|
1786
|
+
Xtime2Sbox[173] = _Xtime2Sbox[173]
|
1787
|
+
Xtime3Sbox[173] = _Xtime3Sbox[173]
|
1788
|
+
Xtime2[173] = _Xtime2[173]
|
1789
|
+
Xtime9[173] = _Xtime9[173]
|
1790
|
+
XtimeB[173] = _XtimeB[173]
|
1791
|
+
XtimeD[173] = _XtimeD[173]
|
1792
|
+
XtimeE[173] = _XtimeE[173]
|
1793
|
+
Sbox[174] = _Sbox[174]
|
1794
|
+
InvSbox[174] = _InvSbox[174]
|
1795
|
+
Xtime2Sbox[174] = _Xtime2Sbox[174]
|
1796
|
+
Xtime3Sbox[174] = _Xtime3Sbox[174]
|
1797
|
+
Xtime2[174] = _Xtime2[174]
|
1798
|
+
Xtime9[174] = _Xtime9[174]
|
1799
|
+
XtimeB[174] = _XtimeB[174]
|
1800
|
+
XtimeD[174] = _XtimeD[174]
|
1801
|
+
XtimeE[174] = _XtimeE[174]
|
1802
|
+
Sbox[175] = _Sbox[175]
|
1803
|
+
InvSbox[175] = _InvSbox[175]
|
1804
|
+
Xtime2Sbox[175] = _Xtime2Sbox[175]
|
1805
|
+
Xtime3Sbox[175] = _Xtime3Sbox[175]
|
1806
|
+
Xtime2[175] = _Xtime2[175]
|
1807
|
+
Xtime9[175] = _Xtime9[175]
|
1808
|
+
XtimeB[175] = _XtimeB[175]
|
1809
|
+
XtimeD[175] = _XtimeD[175]
|
1810
|
+
XtimeE[175] = _XtimeE[175]
|
1811
|
+
Sbox[176] = _Sbox[176]
|
1812
|
+
InvSbox[176] = _InvSbox[176]
|
1813
|
+
Xtime2Sbox[176] = _Xtime2Sbox[176]
|
1814
|
+
Xtime3Sbox[176] = _Xtime3Sbox[176]
|
1815
|
+
Xtime2[176] = _Xtime2[176]
|
1816
|
+
Xtime9[176] = _Xtime9[176]
|
1817
|
+
XtimeB[176] = _XtimeB[176]
|
1818
|
+
XtimeD[176] = _XtimeD[176]
|
1819
|
+
XtimeE[176] = _XtimeE[176]
|
1820
|
+
Sbox[177] = _Sbox[177]
|
1821
|
+
InvSbox[177] = _InvSbox[177]
|
1822
|
+
Xtime2Sbox[177] = _Xtime2Sbox[177]
|
1823
|
+
Xtime3Sbox[177] = _Xtime3Sbox[177]
|
1824
|
+
Xtime2[177] = _Xtime2[177]
|
1825
|
+
Xtime9[177] = _Xtime9[177]
|
1826
|
+
XtimeB[177] = _XtimeB[177]
|
1827
|
+
XtimeD[177] = _XtimeD[177]
|
1828
|
+
XtimeE[177] = _XtimeE[177]
|
1829
|
+
Sbox[178] = _Sbox[178]
|
1830
|
+
InvSbox[178] = _InvSbox[178]
|
1831
|
+
Xtime2Sbox[178] = _Xtime2Sbox[178]
|
1832
|
+
Xtime3Sbox[178] = _Xtime3Sbox[178]
|
1833
|
+
Xtime2[178] = _Xtime2[178]
|
1834
|
+
Xtime9[178] = _Xtime9[178]
|
1835
|
+
XtimeB[178] = _XtimeB[178]
|
1836
|
+
XtimeD[178] = _XtimeD[178]
|
1837
|
+
XtimeE[178] = _XtimeE[178]
|
1838
|
+
Sbox[179] = _Sbox[179]
|
1839
|
+
InvSbox[179] = _InvSbox[179]
|
1840
|
+
Xtime2Sbox[179] = _Xtime2Sbox[179]
|
1841
|
+
Xtime3Sbox[179] = _Xtime3Sbox[179]
|
1842
|
+
Xtime2[179] = _Xtime2[179]
|
1843
|
+
Xtime9[179] = _Xtime9[179]
|
1844
|
+
XtimeB[179] = _XtimeB[179]
|
1845
|
+
XtimeD[179] = _XtimeD[179]
|
1846
|
+
XtimeE[179] = _XtimeE[179]
|
1847
|
+
Sbox[180] = _Sbox[180]
|
1848
|
+
InvSbox[180] = _InvSbox[180]
|
1849
|
+
Xtime2Sbox[180] = _Xtime2Sbox[180]
|
1850
|
+
Xtime3Sbox[180] = _Xtime3Sbox[180]
|
1851
|
+
Xtime2[180] = _Xtime2[180]
|
1852
|
+
Xtime9[180] = _Xtime9[180]
|
1853
|
+
XtimeB[180] = _XtimeB[180]
|
1854
|
+
XtimeD[180] = _XtimeD[180]
|
1855
|
+
XtimeE[180] = _XtimeE[180]
|
1856
|
+
Sbox[181] = _Sbox[181]
|
1857
|
+
InvSbox[181] = _InvSbox[181]
|
1858
|
+
Xtime2Sbox[181] = _Xtime2Sbox[181]
|
1859
|
+
Xtime3Sbox[181] = _Xtime3Sbox[181]
|
1860
|
+
Xtime2[181] = _Xtime2[181]
|
1861
|
+
Xtime9[181] = _Xtime9[181]
|
1862
|
+
XtimeB[181] = _XtimeB[181]
|
1863
|
+
XtimeD[181] = _XtimeD[181]
|
1864
|
+
XtimeE[181] = _XtimeE[181]
|
1865
|
+
Sbox[182] = _Sbox[182]
|
1866
|
+
InvSbox[182] = _InvSbox[182]
|
1867
|
+
Xtime2Sbox[182] = _Xtime2Sbox[182]
|
1868
|
+
Xtime3Sbox[182] = _Xtime3Sbox[182]
|
1869
|
+
Xtime2[182] = _Xtime2[182]
|
1870
|
+
Xtime9[182] = _Xtime9[182]
|
1871
|
+
XtimeB[182] = _XtimeB[182]
|
1872
|
+
XtimeD[182] = _XtimeD[182]
|
1873
|
+
XtimeE[182] = _XtimeE[182]
|
1874
|
+
Sbox[183] = _Sbox[183]
|
1875
|
+
InvSbox[183] = _InvSbox[183]
|
1876
|
+
Xtime2Sbox[183] = _Xtime2Sbox[183]
|
1877
|
+
Xtime3Sbox[183] = _Xtime3Sbox[183]
|
1878
|
+
Xtime2[183] = _Xtime2[183]
|
1879
|
+
Xtime9[183] = _Xtime9[183]
|
1880
|
+
XtimeB[183] = _XtimeB[183]
|
1881
|
+
XtimeD[183] = _XtimeD[183]
|
1882
|
+
XtimeE[183] = _XtimeE[183]
|
1883
|
+
Sbox[184] = _Sbox[184]
|
1884
|
+
InvSbox[184] = _InvSbox[184]
|
1885
|
+
Xtime2Sbox[184] = _Xtime2Sbox[184]
|
1886
|
+
Xtime3Sbox[184] = _Xtime3Sbox[184]
|
1887
|
+
Xtime2[184] = _Xtime2[184]
|
1888
|
+
Xtime9[184] = _Xtime9[184]
|
1889
|
+
XtimeB[184] = _XtimeB[184]
|
1890
|
+
XtimeD[184] = _XtimeD[184]
|
1891
|
+
XtimeE[184] = _XtimeE[184]
|
1892
|
+
Sbox[185] = _Sbox[185]
|
1893
|
+
InvSbox[185] = _InvSbox[185]
|
1894
|
+
Xtime2Sbox[185] = _Xtime2Sbox[185]
|
1895
|
+
Xtime3Sbox[185] = _Xtime3Sbox[185]
|
1896
|
+
Xtime2[185] = _Xtime2[185]
|
1897
|
+
Xtime9[185] = _Xtime9[185]
|
1898
|
+
XtimeB[185] = _XtimeB[185]
|
1899
|
+
XtimeD[185] = _XtimeD[185]
|
1900
|
+
XtimeE[185] = _XtimeE[185]
|
1901
|
+
Sbox[186] = _Sbox[186]
|
1902
|
+
InvSbox[186] = _InvSbox[186]
|
1903
|
+
Xtime2Sbox[186] = _Xtime2Sbox[186]
|
1904
|
+
Xtime3Sbox[186] = _Xtime3Sbox[186]
|
1905
|
+
Xtime2[186] = _Xtime2[186]
|
1906
|
+
Xtime9[186] = _Xtime9[186]
|
1907
|
+
XtimeB[186] = _XtimeB[186]
|
1908
|
+
XtimeD[186] = _XtimeD[186]
|
1909
|
+
XtimeE[186] = _XtimeE[186]
|
1910
|
+
Sbox[187] = _Sbox[187]
|
1911
|
+
InvSbox[187] = _InvSbox[187]
|
1912
|
+
Xtime2Sbox[187] = _Xtime2Sbox[187]
|
1913
|
+
Xtime3Sbox[187] = _Xtime3Sbox[187]
|
1914
|
+
Xtime2[187] = _Xtime2[187]
|
1915
|
+
Xtime9[187] = _Xtime9[187]
|
1916
|
+
XtimeB[187] = _XtimeB[187]
|
1917
|
+
XtimeD[187] = _XtimeD[187]
|
1918
|
+
XtimeE[187] = _XtimeE[187]
|
1919
|
+
Sbox[188] = _Sbox[188]
|
1920
|
+
InvSbox[188] = _InvSbox[188]
|
1921
|
+
Xtime2Sbox[188] = _Xtime2Sbox[188]
|
1922
|
+
Xtime3Sbox[188] = _Xtime3Sbox[188]
|
1923
|
+
Xtime2[188] = _Xtime2[188]
|
1924
|
+
Xtime9[188] = _Xtime9[188]
|
1925
|
+
XtimeB[188] = _XtimeB[188]
|
1926
|
+
XtimeD[188] = _XtimeD[188]
|
1927
|
+
XtimeE[188] = _XtimeE[188]
|
1928
|
+
Sbox[189] = _Sbox[189]
|
1929
|
+
InvSbox[189] = _InvSbox[189]
|
1930
|
+
Xtime2Sbox[189] = _Xtime2Sbox[189]
|
1931
|
+
Xtime3Sbox[189] = _Xtime3Sbox[189]
|
1932
|
+
Xtime2[189] = _Xtime2[189]
|
1933
|
+
Xtime9[189] = _Xtime9[189]
|
1934
|
+
XtimeB[189] = _XtimeB[189]
|
1935
|
+
XtimeD[189] = _XtimeD[189]
|
1936
|
+
XtimeE[189] = _XtimeE[189]
|
1937
|
+
Sbox[190] = _Sbox[190]
|
1938
|
+
InvSbox[190] = _InvSbox[190]
|
1939
|
+
Xtime2Sbox[190] = _Xtime2Sbox[190]
|
1940
|
+
Xtime3Sbox[190] = _Xtime3Sbox[190]
|
1941
|
+
Xtime2[190] = _Xtime2[190]
|
1942
|
+
Xtime9[190] = _Xtime9[190]
|
1943
|
+
XtimeB[190] = _XtimeB[190]
|
1944
|
+
XtimeD[190] = _XtimeD[190]
|
1945
|
+
XtimeE[190] = _XtimeE[190]
|
1946
|
+
Sbox[191] = _Sbox[191]
|
1947
|
+
InvSbox[191] = _InvSbox[191]
|
1948
|
+
Xtime2Sbox[191] = _Xtime2Sbox[191]
|
1949
|
+
Xtime3Sbox[191] = _Xtime3Sbox[191]
|
1950
|
+
Xtime2[191] = _Xtime2[191]
|
1951
|
+
Xtime9[191] = _Xtime9[191]
|
1952
|
+
XtimeB[191] = _XtimeB[191]
|
1953
|
+
XtimeD[191] = _XtimeD[191]
|
1954
|
+
XtimeE[191] = _XtimeE[191]
|
1955
|
+
Sbox[192] = _Sbox[192]
|
1956
|
+
InvSbox[192] = _InvSbox[192]
|
1957
|
+
Xtime2Sbox[192] = _Xtime2Sbox[192]
|
1958
|
+
Xtime3Sbox[192] = _Xtime3Sbox[192]
|
1959
|
+
Xtime2[192] = _Xtime2[192]
|
1960
|
+
Xtime9[192] = _Xtime9[192]
|
1961
|
+
XtimeB[192] = _XtimeB[192]
|
1962
|
+
XtimeD[192] = _XtimeD[192]
|
1963
|
+
XtimeE[192] = _XtimeE[192]
|
1964
|
+
Sbox[193] = _Sbox[193]
|
1965
|
+
InvSbox[193] = _InvSbox[193]
|
1966
|
+
Xtime2Sbox[193] = _Xtime2Sbox[193]
|
1967
|
+
Xtime3Sbox[193] = _Xtime3Sbox[193]
|
1968
|
+
Xtime2[193] = _Xtime2[193]
|
1969
|
+
Xtime9[193] = _Xtime9[193]
|
1970
|
+
XtimeB[193] = _XtimeB[193]
|
1971
|
+
XtimeD[193] = _XtimeD[193]
|
1972
|
+
XtimeE[193] = _XtimeE[193]
|
1973
|
+
Sbox[194] = _Sbox[194]
|
1974
|
+
InvSbox[194] = _InvSbox[194]
|
1975
|
+
Xtime2Sbox[194] = _Xtime2Sbox[194]
|
1976
|
+
Xtime3Sbox[194] = _Xtime3Sbox[194]
|
1977
|
+
Xtime2[194] = _Xtime2[194]
|
1978
|
+
Xtime9[194] = _Xtime9[194]
|
1979
|
+
XtimeB[194] = _XtimeB[194]
|
1980
|
+
XtimeD[194] = _XtimeD[194]
|
1981
|
+
XtimeE[194] = _XtimeE[194]
|
1982
|
+
Sbox[195] = _Sbox[195]
|
1983
|
+
InvSbox[195] = _InvSbox[195]
|
1984
|
+
Xtime2Sbox[195] = _Xtime2Sbox[195]
|
1985
|
+
Xtime3Sbox[195] = _Xtime3Sbox[195]
|
1986
|
+
Xtime2[195] = _Xtime2[195]
|
1987
|
+
Xtime9[195] = _Xtime9[195]
|
1988
|
+
XtimeB[195] = _XtimeB[195]
|
1989
|
+
XtimeD[195] = _XtimeD[195]
|
1990
|
+
XtimeE[195] = _XtimeE[195]
|
1991
|
+
Sbox[196] = _Sbox[196]
|
1992
|
+
InvSbox[196] = _InvSbox[196]
|
1993
|
+
Xtime2Sbox[196] = _Xtime2Sbox[196]
|
1994
|
+
Xtime3Sbox[196] = _Xtime3Sbox[196]
|
1995
|
+
Xtime2[196] = _Xtime2[196]
|
1996
|
+
Xtime9[196] = _Xtime9[196]
|
1997
|
+
XtimeB[196] = _XtimeB[196]
|
1998
|
+
XtimeD[196] = _XtimeD[196]
|
1999
|
+
XtimeE[196] = _XtimeE[196]
|
2000
|
+
Sbox[197] = _Sbox[197]
|
2001
|
+
InvSbox[197] = _InvSbox[197]
|
2002
|
+
Xtime2Sbox[197] = _Xtime2Sbox[197]
|
2003
|
+
Xtime3Sbox[197] = _Xtime3Sbox[197]
|
2004
|
+
Xtime2[197] = _Xtime2[197]
|
2005
|
+
Xtime9[197] = _Xtime9[197]
|
2006
|
+
XtimeB[197] = _XtimeB[197]
|
2007
|
+
XtimeD[197] = _XtimeD[197]
|
2008
|
+
XtimeE[197] = _XtimeE[197]
|
2009
|
+
Sbox[198] = _Sbox[198]
|
2010
|
+
InvSbox[198] = _InvSbox[198]
|
2011
|
+
Xtime2Sbox[198] = _Xtime2Sbox[198]
|
2012
|
+
Xtime3Sbox[198] = _Xtime3Sbox[198]
|
2013
|
+
Xtime2[198] = _Xtime2[198]
|
2014
|
+
Xtime9[198] = _Xtime9[198]
|
2015
|
+
XtimeB[198] = _XtimeB[198]
|
2016
|
+
XtimeD[198] = _XtimeD[198]
|
2017
|
+
XtimeE[198] = _XtimeE[198]
|
2018
|
+
Sbox[199] = _Sbox[199]
|
2019
|
+
InvSbox[199] = _InvSbox[199]
|
2020
|
+
Xtime2Sbox[199] = _Xtime2Sbox[199]
|
2021
|
+
Xtime3Sbox[199] = _Xtime3Sbox[199]
|
2022
|
+
Xtime2[199] = _Xtime2[199]
|
2023
|
+
Xtime9[199] = _Xtime9[199]
|
2024
|
+
XtimeB[199] = _XtimeB[199]
|
2025
|
+
XtimeD[199] = _XtimeD[199]
|
2026
|
+
XtimeE[199] = _XtimeE[199]
|
2027
|
+
Sbox[200] = _Sbox[200]
|
2028
|
+
InvSbox[200] = _InvSbox[200]
|
2029
|
+
Xtime2Sbox[200] = _Xtime2Sbox[200]
|
2030
|
+
Xtime3Sbox[200] = _Xtime3Sbox[200]
|
2031
|
+
Xtime2[200] = _Xtime2[200]
|
2032
|
+
Xtime9[200] = _Xtime9[200]
|
2033
|
+
XtimeB[200] = _XtimeB[200]
|
2034
|
+
XtimeD[200] = _XtimeD[200]
|
2035
|
+
XtimeE[200] = _XtimeE[200]
|
2036
|
+
Sbox[201] = _Sbox[201]
|
2037
|
+
InvSbox[201] = _InvSbox[201]
|
2038
|
+
Xtime2Sbox[201] = _Xtime2Sbox[201]
|
2039
|
+
Xtime3Sbox[201] = _Xtime3Sbox[201]
|
2040
|
+
Xtime2[201] = _Xtime2[201]
|
2041
|
+
Xtime9[201] = _Xtime9[201]
|
2042
|
+
XtimeB[201] = _XtimeB[201]
|
2043
|
+
XtimeD[201] = _XtimeD[201]
|
2044
|
+
XtimeE[201] = _XtimeE[201]
|
2045
|
+
Sbox[202] = _Sbox[202]
|
2046
|
+
InvSbox[202] = _InvSbox[202]
|
2047
|
+
Xtime2Sbox[202] = _Xtime2Sbox[202]
|
2048
|
+
Xtime3Sbox[202] = _Xtime3Sbox[202]
|
2049
|
+
Xtime2[202] = _Xtime2[202]
|
2050
|
+
Xtime9[202] = _Xtime9[202]
|
2051
|
+
XtimeB[202] = _XtimeB[202]
|
2052
|
+
XtimeD[202] = _XtimeD[202]
|
2053
|
+
XtimeE[202] = _XtimeE[202]
|
2054
|
+
Sbox[203] = _Sbox[203]
|
2055
|
+
InvSbox[203] = _InvSbox[203]
|
2056
|
+
Xtime2Sbox[203] = _Xtime2Sbox[203]
|
2057
|
+
Xtime3Sbox[203] = _Xtime3Sbox[203]
|
2058
|
+
Xtime2[203] = _Xtime2[203]
|
2059
|
+
Xtime9[203] = _Xtime9[203]
|
2060
|
+
XtimeB[203] = _XtimeB[203]
|
2061
|
+
XtimeD[203] = _XtimeD[203]
|
2062
|
+
XtimeE[203] = _XtimeE[203]
|
2063
|
+
Sbox[204] = _Sbox[204]
|
2064
|
+
InvSbox[204] = _InvSbox[204]
|
2065
|
+
Xtime2Sbox[204] = _Xtime2Sbox[204]
|
2066
|
+
Xtime3Sbox[204] = _Xtime3Sbox[204]
|
2067
|
+
Xtime2[204] = _Xtime2[204]
|
2068
|
+
Xtime9[204] = _Xtime9[204]
|
2069
|
+
XtimeB[204] = _XtimeB[204]
|
2070
|
+
XtimeD[204] = _XtimeD[204]
|
2071
|
+
XtimeE[204] = _XtimeE[204]
|
2072
|
+
Sbox[205] = _Sbox[205]
|
2073
|
+
InvSbox[205] = _InvSbox[205]
|
2074
|
+
Xtime2Sbox[205] = _Xtime2Sbox[205]
|
2075
|
+
Xtime3Sbox[205] = _Xtime3Sbox[205]
|
2076
|
+
Xtime2[205] = _Xtime2[205]
|
2077
|
+
Xtime9[205] = _Xtime9[205]
|
2078
|
+
XtimeB[205] = _XtimeB[205]
|
2079
|
+
XtimeD[205] = _XtimeD[205]
|
2080
|
+
XtimeE[205] = _XtimeE[205]
|
2081
|
+
Sbox[206] = _Sbox[206]
|
2082
|
+
InvSbox[206] = _InvSbox[206]
|
2083
|
+
Xtime2Sbox[206] = _Xtime2Sbox[206]
|
2084
|
+
Xtime3Sbox[206] = _Xtime3Sbox[206]
|
2085
|
+
Xtime2[206] = _Xtime2[206]
|
2086
|
+
Xtime9[206] = _Xtime9[206]
|
2087
|
+
XtimeB[206] = _XtimeB[206]
|
2088
|
+
XtimeD[206] = _XtimeD[206]
|
2089
|
+
XtimeE[206] = _XtimeE[206]
|
2090
|
+
Sbox[207] = _Sbox[207]
|
2091
|
+
InvSbox[207] = _InvSbox[207]
|
2092
|
+
Xtime2Sbox[207] = _Xtime2Sbox[207]
|
2093
|
+
Xtime3Sbox[207] = _Xtime3Sbox[207]
|
2094
|
+
Xtime2[207] = _Xtime2[207]
|
2095
|
+
Xtime9[207] = _Xtime9[207]
|
2096
|
+
XtimeB[207] = _XtimeB[207]
|
2097
|
+
XtimeD[207] = _XtimeD[207]
|
2098
|
+
XtimeE[207] = _XtimeE[207]
|
2099
|
+
Sbox[208] = _Sbox[208]
|
2100
|
+
InvSbox[208] = _InvSbox[208]
|
2101
|
+
Xtime2Sbox[208] = _Xtime2Sbox[208]
|
2102
|
+
Xtime3Sbox[208] = _Xtime3Sbox[208]
|
2103
|
+
Xtime2[208] = _Xtime2[208]
|
2104
|
+
Xtime9[208] = _Xtime9[208]
|
2105
|
+
XtimeB[208] = _XtimeB[208]
|
2106
|
+
XtimeD[208] = _XtimeD[208]
|
2107
|
+
XtimeE[208] = _XtimeE[208]
|
2108
|
+
Sbox[209] = _Sbox[209]
|
2109
|
+
InvSbox[209] = _InvSbox[209]
|
2110
|
+
Xtime2Sbox[209] = _Xtime2Sbox[209]
|
2111
|
+
Xtime3Sbox[209] = _Xtime3Sbox[209]
|
2112
|
+
Xtime2[209] = _Xtime2[209]
|
2113
|
+
Xtime9[209] = _Xtime9[209]
|
2114
|
+
XtimeB[209] = _XtimeB[209]
|
2115
|
+
XtimeD[209] = _XtimeD[209]
|
2116
|
+
XtimeE[209] = _XtimeE[209]
|
2117
|
+
Sbox[210] = _Sbox[210]
|
2118
|
+
InvSbox[210] = _InvSbox[210]
|
2119
|
+
Xtime2Sbox[210] = _Xtime2Sbox[210]
|
2120
|
+
Xtime3Sbox[210] = _Xtime3Sbox[210]
|
2121
|
+
Xtime2[210] = _Xtime2[210]
|
2122
|
+
Xtime9[210] = _Xtime9[210]
|
2123
|
+
XtimeB[210] = _XtimeB[210]
|
2124
|
+
XtimeD[210] = _XtimeD[210]
|
2125
|
+
XtimeE[210] = _XtimeE[210]
|
2126
|
+
Sbox[211] = _Sbox[211]
|
2127
|
+
InvSbox[211] = _InvSbox[211]
|
2128
|
+
Xtime2Sbox[211] = _Xtime2Sbox[211]
|
2129
|
+
Xtime3Sbox[211] = _Xtime3Sbox[211]
|
2130
|
+
Xtime2[211] = _Xtime2[211]
|
2131
|
+
Xtime9[211] = _Xtime9[211]
|
2132
|
+
XtimeB[211] = _XtimeB[211]
|
2133
|
+
XtimeD[211] = _XtimeD[211]
|
2134
|
+
XtimeE[211] = _XtimeE[211]
|
2135
|
+
Sbox[212] = _Sbox[212]
|
2136
|
+
InvSbox[212] = _InvSbox[212]
|
2137
|
+
Xtime2Sbox[212] = _Xtime2Sbox[212]
|
2138
|
+
Xtime3Sbox[212] = _Xtime3Sbox[212]
|
2139
|
+
Xtime2[212] = _Xtime2[212]
|
2140
|
+
Xtime9[212] = _Xtime9[212]
|
2141
|
+
XtimeB[212] = _XtimeB[212]
|
2142
|
+
XtimeD[212] = _XtimeD[212]
|
2143
|
+
XtimeE[212] = _XtimeE[212]
|
2144
|
+
Sbox[213] = _Sbox[213]
|
2145
|
+
InvSbox[213] = _InvSbox[213]
|
2146
|
+
Xtime2Sbox[213] = _Xtime2Sbox[213]
|
2147
|
+
Xtime3Sbox[213] = _Xtime3Sbox[213]
|
2148
|
+
Xtime2[213] = _Xtime2[213]
|
2149
|
+
Xtime9[213] = _Xtime9[213]
|
2150
|
+
XtimeB[213] = _XtimeB[213]
|
2151
|
+
XtimeD[213] = _XtimeD[213]
|
2152
|
+
XtimeE[213] = _XtimeE[213]
|
2153
|
+
Sbox[214] = _Sbox[214]
|
2154
|
+
InvSbox[214] = _InvSbox[214]
|
2155
|
+
Xtime2Sbox[214] = _Xtime2Sbox[214]
|
2156
|
+
Xtime3Sbox[214] = _Xtime3Sbox[214]
|
2157
|
+
Xtime2[214] = _Xtime2[214]
|
2158
|
+
Xtime9[214] = _Xtime9[214]
|
2159
|
+
XtimeB[214] = _XtimeB[214]
|
2160
|
+
XtimeD[214] = _XtimeD[214]
|
2161
|
+
XtimeE[214] = _XtimeE[214]
|
2162
|
+
Sbox[215] = _Sbox[215]
|
2163
|
+
InvSbox[215] = _InvSbox[215]
|
2164
|
+
Xtime2Sbox[215] = _Xtime2Sbox[215]
|
2165
|
+
Xtime3Sbox[215] = _Xtime3Sbox[215]
|
2166
|
+
Xtime2[215] = _Xtime2[215]
|
2167
|
+
Xtime9[215] = _Xtime9[215]
|
2168
|
+
XtimeB[215] = _XtimeB[215]
|
2169
|
+
XtimeD[215] = _XtimeD[215]
|
2170
|
+
XtimeE[215] = _XtimeE[215]
|
2171
|
+
Sbox[216] = _Sbox[216]
|
2172
|
+
InvSbox[216] = _InvSbox[216]
|
2173
|
+
Xtime2Sbox[216] = _Xtime2Sbox[216]
|
2174
|
+
Xtime3Sbox[216] = _Xtime3Sbox[216]
|
2175
|
+
Xtime2[216] = _Xtime2[216]
|
2176
|
+
Xtime9[216] = _Xtime9[216]
|
2177
|
+
XtimeB[216] = _XtimeB[216]
|
2178
|
+
XtimeD[216] = _XtimeD[216]
|
2179
|
+
XtimeE[216] = _XtimeE[216]
|
2180
|
+
Sbox[217] = _Sbox[217]
|
2181
|
+
InvSbox[217] = _InvSbox[217]
|
2182
|
+
Xtime2Sbox[217] = _Xtime2Sbox[217]
|
2183
|
+
Xtime3Sbox[217] = _Xtime3Sbox[217]
|
2184
|
+
Xtime2[217] = _Xtime2[217]
|
2185
|
+
Xtime9[217] = _Xtime9[217]
|
2186
|
+
XtimeB[217] = _XtimeB[217]
|
2187
|
+
XtimeD[217] = _XtimeD[217]
|
2188
|
+
XtimeE[217] = _XtimeE[217]
|
2189
|
+
Sbox[218] = _Sbox[218]
|
2190
|
+
InvSbox[218] = _InvSbox[218]
|
2191
|
+
Xtime2Sbox[218] = _Xtime2Sbox[218]
|
2192
|
+
Xtime3Sbox[218] = _Xtime3Sbox[218]
|
2193
|
+
Xtime2[218] = _Xtime2[218]
|
2194
|
+
Xtime9[218] = _Xtime9[218]
|
2195
|
+
XtimeB[218] = _XtimeB[218]
|
2196
|
+
XtimeD[218] = _XtimeD[218]
|
2197
|
+
XtimeE[218] = _XtimeE[218]
|
2198
|
+
Sbox[219] = _Sbox[219]
|
2199
|
+
InvSbox[219] = _InvSbox[219]
|
2200
|
+
Xtime2Sbox[219] = _Xtime2Sbox[219]
|
2201
|
+
Xtime3Sbox[219] = _Xtime3Sbox[219]
|
2202
|
+
Xtime2[219] = _Xtime2[219]
|
2203
|
+
Xtime9[219] = _Xtime9[219]
|
2204
|
+
XtimeB[219] = _XtimeB[219]
|
2205
|
+
XtimeD[219] = _XtimeD[219]
|
2206
|
+
XtimeE[219] = _XtimeE[219]
|
2207
|
+
Sbox[220] = _Sbox[220]
|
2208
|
+
InvSbox[220] = _InvSbox[220]
|
2209
|
+
Xtime2Sbox[220] = _Xtime2Sbox[220]
|
2210
|
+
Xtime3Sbox[220] = _Xtime3Sbox[220]
|
2211
|
+
Xtime2[220] = _Xtime2[220]
|
2212
|
+
Xtime9[220] = _Xtime9[220]
|
2213
|
+
XtimeB[220] = _XtimeB[220]
|
2214
|
+
XtimeD[220] = _XtimeD[220]
|
2215
|
+
XtimeE[220] = _XtimeE[220]
|
2216
|
+
Sbox[221] = _Sbox[221]
|
2217
|
+
InvSbox[221] = _InvSbox[221]
|
2218
|
+
Xtime2Sbox[221] = _Xtime2Sbox[221]
|
2219
|
+
Xtime3Sbox[221] = _Xtime3Sbox[221]
|
2220
|
+
Xtime2[221] = _Xtime2[221]
|
2221
|
+
Xtime9[221] = _Xtime9[221]
|
2222
|
+
XtimeB[221] = _XtimeB[221]
|
2223
|
+
XtimeD[221] = _XtimeD[221]
|
2224
|
+
XtimeE[221] = _XtimeE[221]
|
2225
|
+
Sbox[222] = _Sbox[222]
|
2226
|
+
InvSbox[222] = _InvSbox[222]
|
2227
|
+
Xtime2Sbox[222] = _Xtime2Sbox[222]
|
2228
|
+
Xtime3Sbox[222] = _Xtime3Sbox[222]
|
2229
|
+
Xtime2[222] = _Xtime2[222]
|
2230
|
+
Xtime9[222] = _Xtime9[222]
|
2231
|
+
XtimeB[222] = _XtimeB[222]
|
2232
|
+
XtimeD[222] = _XtimeD[222]
|
2233
|
+
XtimeE[222] = _XtimeE[222]
|
2234
|
+
Sbox[223] = _Sbox[223]
|
2235
|
+
InvSbox[223] = _InvSbox[223]
|
2236
|
+
Xtime2Sbox[223] = _Xtime2Sbox[223]
|
2237
|
+
Xtime3Sbox[223] = _Xtime3Sbox[223]
|
2238
|
+
Xtime2[223] = _Xtime2[223]
|
2239
|
+
Xtime9[223] = _Xtime9[223]
|
2240
|
+
XtimeB[223] = _XtimeB[223]
|
2241
|
+
XtimeD[223] = _XtimeD[223]
|
2242
|
+
XtimeE[223] = _XtimeE[223]
|
2243
|
+
Sbox[224] = _Sbox[224]
|
2244
|
+
InvSbox[224] = _InvSbox[224]
|
2245
|
+
Xtime2Sbox[224] = _Xtime2Sbox[224]
|
2246
|
+
Xtime3Sbox[224] = _Xtime3Sbox[224]
|
2247
|
+
Xtime2[224] = _Xtime2[224]
|
2248
|
+
Xtime9[224] = _Xtime9[224]
|
2249
|
+
XtimeB[224] = _XtimeB[224]
|
2250
|
+
XtimeD[224] = _XtimeD[224]
|
2251
|
+
XtimeE[224] = _XtimeE[224]
|
2252
|
+
Sbox[225] = _Sbox[225]
|
2253
|
+
InvSbox[225] = _InvSbox[225]
|
2254
|
+
Xtime2Sbox[225] = _Xtime2Sbox[225]
|
2255
|
+
Xtime3Sbox[225] = _Xtime3Sbox[225]
|
2256
|
+
Xtime2[225] = _Xtime2[225]
|
2257
|
+
Xtime9[225] = _Xtime9[225]
|
2258
|
+
XtimeB[225] = _XtimeB[225]
|
2259
|
+
XtimeD[225] = _XtimeD[225]
|
2260
|
+
XtimeE[225] = _XtimeE[225]
|
2261
|
+
Sbox[226] = _Sbox[226]
|
2262
|
+
InvSbox[226] = _InvSbox[226]
|
2263
|
+
Xtime2Sbox[226] = _Xtime2Sbox[226]
|
2264
|
+
Xtime3Sbox[226] = _Xtime3Sbox[226]
|
2265
|
+
Xtime2[226] = _Xtime2[226]
|
2266
|
+
Xtime9[226] = _Xtime9[226]
|
2267
|
+
XtimeB[226] = _XtimeB[226]
|
2268
|
+
XtimeD[226] = _XtimeD[226]
|
2269
|
+
XtimeE[226] = _XtimeE[226]
|
2270
|
+
Sbox[227] = _Sbox[227]
|
2271
|
+
InvSbox[227] = _InvSbox[227]
|
2272
|
+
Xtime2Sbox[227] = _Xtime2Sbox[227]
|
2273
|
+
Xtime3Sbox[227] = _Xtime3Sbox[227]
|
2274
|
+
Xtime2[227] = _Xtime2[227]
|
2275
|
+
Xtime9[227] = _Xtime9[227]
|
2276
|
+
XtimeB[227] = _XtimeB[227]
|
2277
|
+
XtimeD[227] = _XtimeD[227]
|
2278
|
+
XtimeE[227] = _XtimeE[227]
|
2279
|
+
Sbox[228] = _Sbox[228]
|
2280
|
+
InvSbox[228] = _InvSbox[228]
|
2281
|
+
Xtime2Sbox[228] = _Xtime2Sbox[228]
|
2282
|
+
Xtime3Sbox[228] = _Xtime3Sbox[228]
|
2283
|
+
Xtime2[228] = _Xtime2[228]
|
2284
|
+
Xtime9[228] = _Xtime9[228]
|
2285
|
+
XtimeB[228] = _XtimeB[228]
|
2286
|
+
XtimeD[228] = _XtimeD[228]
|
2287
|
+
XtimeE[228] = _XtimeE[228]
|
2288
|
+
Sbox[229] = _Sbox[229]
|
2289
|
+
InvSbox[229] = _InvSbox[229]
|
2290
|
+
Xtime2Sbox[229] = _Xtime2Sbox[229]
|
2291
|
+
Xtime3Sbox[229] = _Xtime3Sbox[229]
|
2292
|
+
Xtime2[229] = _Xtime2[229]
|
2293
|
+
Xtime9[229] = _Xtime9[229]
|
2294
|
+
XtimeB[229] = _XtimeB[229]
|
2295
|
+
XtimeD[229] = _XtimeD[229]
|
2296
|
+
XtimeE[229] = _XtimeE[229]
|
2297
|
+
Sbox[230] = _Sbox[230]
|
2298
|
+
InvSbox[230] = _InvSbox[230]
|
2299
|
+
Xtime2Sbox[230] = _Xtime2Sbox[230]
|
2300
|
+
Xtime3Sbox[230] = _Xtime3Sbox[230]
|
2301
|
+
Xtime2[230] = _Xtime2[230]
|
2302
|
+
Xtime9[230] = _Xtime9[230]
|
2303
|
+
XtimeB[230] = _XtimeB[230]
|
2304
|
+
XtimeD[230] = _XtimeD[230]
|
2305
|
+
XtimeE[230] = _XtimeE[230]
|
2306
|
+
Sbox[231] = _Sbox[231]
|
2307
|
+
InvSbox[231] = _InvSbox[231]
|
2308
|
+
Xtime2Sbox[231] = _Xtime2Sbox[231]
|
2309
|
+
Xtime3Sbox[231] = _Xtime3Sbox[231]
|
2310
|
+
Xtime2[231] = _Xtime2[231]
|
2311
|
+
Xtime9[231] = _Xtime9[231]
|
2312
|
+
XtimeB[231] = _XtimeB[231]
|
2313
|
+
XtimeD[231] = _XtimeD[231]
|
2314
|
+
XtimeE[231] = _XtimeE[231]
|
2315
|
+
Sbox[232] = _Sbox[232]
|
2316
|
+
InvSbox[232] = _InvSbox[232]
|
2317
|
+
Xtime2Sbox[232] = _Xtime2Sbox[232]
|
2318
|
+
Xtime3Sbox[232] = _Xtime3Sbox[232]
|
2319
|
+
Xtime2[232] = _Xtime2[232]
|
2320
|
+
Xtime9[232] = _Xtime9[232]
|
2321
|
+
XtimeB[232] = _XtimeB[232]
|
2322
|
+
XtimeD[232] = _XtimeD[232]
|
2323
|
+
XtimeE[232] = _XtimeE[232]
|
2324
|
+
Sbox[233] = _Sbox[233]
|
2325
|
+
InvSbox[233] = _InvSbox[233]
|
2326
|
+
Xtime2Sbox[233] = _Xtime2Sbox[233]
|
2327
|
+
Xtime3Sbox[233] = _Xtime3Sbox[233]
|
2328
|
+
Xtime2[233] = _Xtime2[233]
|
2329
|
+
Xtime9[233] = _Xtime9[233]
|
2330
|
+
XtimeB[233] = _XtimeB[233]
|
2331
|
+
XtimeD[233] = _XtimeD[233]
|
2332
|
+
XtimeE[233] = _XtimeE[233]
|
2333
|
+
Sbox[234] = _Sbox[234]
|
2334
|
+
InvSbox[234] = _InvSbox[234]
|
2335
|
+
Xtime2Sbox[234] = _Xtime2Sbox[234]
|
2336
|
+
Xtime3Sbox[234] = _Xtime3Sbox[234]
|
2337
|
+
Xtime2[234] = _Xtime2[234]
|
2338
|
+
Xtime9[234] = _Xtime9[234]
|
2339
|
+
XtimeB[234] = _XtimeB[234]
|
2340
|
+
XtimeD[234] = _XtimeD[234]
|
2341
|
+
XtimeE[234] = _XtimeE[234]
|
2342
|
+
Sbox[235] = _Sbox[235]
|
2343
|
+
InvSbox[235] = _InvSbox[235]
|
2344
|
+
Xtime2Sbox[235] = _Xtime2Sbox[235]
|
2345
|
+
Xtime3Sbox[235] = _Xtime3Sbox[235]
|
2346
|
+
Xtime2[235] = _Xtime2[235]
|
2347
|
+
Xtime9[235] = _Xtime9[235]
|
2348
|
+
XtimeB[235] = _XtimeB[235]
|
2349
|
+
XtimeD[235] = _XtimeD[235]
|
2350
|
+
XtimeE[235] = _XtimeE[235]
|
2351
|
+
Sbox[236] = _Sbox[236]
|
2352
|
+
InvSbox[236] = _InvSbox[236]
|
2353
|
+
Xtime2Sbox[236] = _Xtime2Sbox[236]
|
2354
|
+
Xtime3Sbox[236] = _Xtime3Sbox[236]
|
2355
|
+
Xtime2[236] = _Xtime2[236]
|
2356
|
+
Xtime9[236] = _Xtime9[236]
|
2357
|
+
XtimeB[236] = _XtimeB[236]
|
2358
|
+
XtimeD[236] = _XtimeD[236]
|
2359
|
+
XtimeE[236] = _XtimeE[236]
|
2360
|
+
Sbox[237] = _Sbox[237]
|
2361
|
+
InvSbox[237] = _InvSbox[237]
|
2362
|
+
Xtime2Sbox[237] = _Xtime2Sbox[237]
|
2363
|
+
Xtime3Sbox[237] = _Xtime3Sbox[237]
|
2364
|
+
Xtime2[237] = _Xtime2[237]
|
2365
|
+
Xtime9[237] = _Xtime9[237]
|
2366
|
+
XtimeB[237] = _XtimeB[237]
|
2367
|
+
XtimeD[237] = _XtimeD[237]
|
2368
|
+
XtimeE[237] = _XtimeE[237]
|
2369
|
+
Sbox[238] = _Sbox[238]
|
2370
|
+
InvSbox[238] = _InvSbox[238]
|
2371
|
+
Xtime2Sbox[238] = _Xtime2Sbox[238]
|
2372
|
+
Xtime3Sbox[238] = _Xtime3Sbox[238]
|
2373
|
+
Xtime2[238] = _Xtime2[238]
|
2374
|
+
Xtime9[238] = _Xtime9[238]
|
2375
|
+
XtimeB[238] = _XtimeB[238]
|
2376
|
+
XtimeD[238] = _XtimeD[238]
|
2377
|
+
XtimeE[238] = _XtimeE[238]
|
2378
|
+
Sbox[239] = _Sbox[239]
|
2379
|
+
InvSbox[239] = _InvSbox[239]
|
2380
|
+
Xtime2Sbox[239] = _Xtime2Sbox[239]
|
2381
|
+
Xtime3Sbox[239] = _Xtime3Sbox[239]
|
2382
|
+
Xtime2[239] = _Xtime2[239]
|
2383
|
+
Xtime9[239] = _Xtime9[239]
|
2384
|
+
XtimeB[239] = _XtimeB[239]
|
2385
|
+
XtimeD[239] = _XtimeD[239]
|
2386
|
+
XtimeE[239] = _XtimeE[239]
|
2387
|
+
Sbox[240] = _Sbox[240]
|
2388
|
+
InvSbox[240] = _InvSbox[240]
|
2389
|
+
Xtime2Sbox[240] = _Xtime2Sbox[240]
|
2390
|
+
Xtime3Sbox[240] = _Xtime3Sbox[240]
|
2391
|
+
Xtime2[240] = _Xtime2[240]
|
2392
|
+
Xtime9[240] = _Xtime9[240]
|
2393
|
+
XtimeB[240] = _XtimeB[240]
|
2394
|
+
XtimeD[240] = _XtimeD[240]
|
2395
|
+
XtimeE[240] = _XtimeE[240]
|
2396
|
+
Sbox[241] = _Sbox[241]
|
2397
|
+
InvSbox[241] = _InvSbox[241]
|
2398
|
+
Xtime2Sbox[241] = _Xtime2Sbox[241]
|
2399
|
+
Xtime3Sbox[241] = _Xtime3Sbox[241]
|
2400
|
+
Xtime2[241] = _Xtime2[241]
|
2401
|
+
Xtime9[241] = _Xtime9[241]
|
2402
|
+
XtimeB[241] = _XtimeB[241]
|
2403
|
+
XtimeD[241] = _XtimeD[241]
|
2404
|
+
XtimeE[241] = _XtimeE[241]
|
2405
|
+
Sbox[242] = _Sbox[242]
|
2406
|
+
InvSbox[242] = _InvSbox[242]
|
2407
|
+
Xtime2Sbox[242] = _Xtime2Sbox[242]
|
2408
|
+
Xtime3Sbox[242] = _Xtime3Sbox[242]
|
2409
|
+
Xtime2[242] = _Xtime2[242]
|
2410
|
+
Xtime9[242] = _Xtime9[242]
|
2411
|
+
XtimeB[242] = _XtimeB[242]
|
2412
|
+
XtimeD[242] = _XtimeD[242]
|
2413
|
+
XtimeE[242] = _XtimeE[242]
|
2414
|
+
Sbox[243] = _Sbox[243]
|
2415
|
+
InvSbox[243] = _InvSbox[243]
|
2416
|
+
Xtime2Sbox[243] = _Xtime2Sbox[243]
|
2417
|
+
Xtime3Sbox[243] = _Xtime3Sbox[243]
|
2418
|
+
Xtime2[243] = _Xtime2[243]
|
2419
|
+
Xtime9[243] = _Xtime9[243]
|
2420
|
+
XtimeB[243] = _XtimeB[243]
|
2421
|
+
XtimeD[243] = _XtimeD[243]
|
2422
|
+
XtimeE[243] = _XtimeE[243]
|
2423
|
+
Sbox[244] = _Sbox[244]
|
2424
|
+
InvSbox[244] = _InvSbox[244]
|
2425
|
+
Xtime2Sbox[244] = _Xtime2Sbox[244]
|
2426
|
+
Xtime3Sbox[244] = _Xtime3Sbox[244]
|
2427
|
+
Xtime2[244] = _Xtime2[244]
|
2428
|
+
Xtime9[244] = _Xtime9[244]
|
2429
|
+
XtimeB[244] = _XtimeB[244]
|
2430
|
+
XtimeD[244] = _XtimeD[244]
|
2431
|
+
XtimeE[244] = _XtimeE[244]
|
2432
|
+
Sbox[245] = _Sbox[245]
|
2433
|
+
InvSbox[245] = _InvSbox[245]
|
2434
|
+
Xtime2Sbox[245] = _Xtime2Sbox[245]
|
2435
|
+
Xtime3Sbox[245] = _Xtime3Sbox[245]
|
2436
|
+
Xtime2[245] = _Xtime2[245]
|
2437
|
+
Xtime9[245] = _Xtime9[245]
|
2438
|
+
XtimeB[245] = _XtimeB[245]
|
2439
|
+
XtimeD[245] = _XtimeD[245]
|
2440
|
+
XtimeE[245] = _XtimeE[245]
|
2441
|
+
Sbox[246] = _Sbox[246]
|
2442
|
+
InvSbox[246] = _InvSbox[246]
|
2443
|
+
Xtime2Sbox[246] = _Xtime2Sbox[246]
|
2444
|
+
Xtime3Sbox[246] = _Xtime3Sbox[246]
|
2445
|
+
Xtime2[246] = _Xtime2[246]
|
2446
|
+
Xtime9[246] = _Xtime9[246]
|
2447
|
+
XtimeB[246] = _XtimeB[246]
|
2448
|
+
XtimeD[246] = _XtimeD[246]
|
2449
|
+
XtimeE[246] = _XtimeE[246]
|
2450
|
+
Sbox[247] = _Sbox[247]
|
2451
|
+
InvSbox[247] = _InvSbox[247]
|
2452
|
+
Xtime2Sbox[247] = _Xtime2Sbox[247]
|
2453
|
+
Xtime3Sbox[247] = _Xtime3Sbox[247]
|
2454
|
+
Xtime2[247] = _Xtime2[247]
|
2455
|
+
Xtime9[247] = _Xtime9[247]
|
2456
|
+
XtimeB[247] = _XtimeB[247]
|
2457
|
+
XtimeD[247] = _XtimeD[247]
|
2458
|
+
XtimeE[247] = _XtimeE[247]
|
2459
|
+
Sbox[248] = _Sbox[248]
|
2460
|
+
InvSbox[248] = _InvSbox[248]
|
2461
|
+
Xtime2Sbox[248] = _Xtime2Sbox[248]
|
2462
|
+
Xtime3Sbox[248] = _Xtime3Sbox[248]
|
2463
|
+
Xtime2[248] = _Xtime2[248]
|
2464
|
+
Xtime9[248] = _Xtime9[248]
|
2465
|
+
XtimeB[248] = _XtimeB[248]
|
2466
|
+
XtimeD[248] = _XtimeD[248]
|
2467
|
+
XtimeE[248] = _XtimeE[248]
|
2468
|
+
Sbox[249] = _Sbox[249]
|
2469
|
+
InvSbox[249] = _InvSbox[249]
|
2470
|
+
Xtime2Sbox[249] = _Xtime2Sbox[249]
|
2471
|
+
Xtime3Sbox[249] = _Xtime3Sbox[249]
|
2472
|
+
Xtime2[249] = _Xtime2[249]
|
2473
|
+
Xtime9[249] = _Xtime9[249]
|
2474
|
+
XtimeB[249] = _XtimeB[249]
|
2475
|
+
XtimeD[249] = _XtimeD[249]
|
2476
|
+
XtimeE[249] = _XtimeE[249]
|
2477
|
+
Sbox[250] = _Sbox[250]
|
2478
|
+
InvSbox[250] = _InvSbox[250]
|
2479
|
+
Xtime2Sbox[250] = _Xtime2Sbox[250]
|
2480
|
+
Xtime3Sbox[250] = _Xtime3Sbox[250]
|
2481
|
+
Xtime2[250] = _Xtime2[250]
|
2482
|
+
Xtime9[250] = _Xtime9[250]
|
2483
|
+
XtimeB[250] = _XtimeB[250]
|
2484
|
+
XtimeD[250] = _XtimeD[250]
|
2485
|
+
XtimeE[250] = _XtimeE[250]
|
2486
|
+
Sbox[251] = _Sbox[251]
|
2487
|
+
InvSbox[251] = _InvSbox[251]
|
2488
|
+
Xtime2Sbox[251] = _Xtime2Sbox[251]
|
2489
|
+
Xtime3Sbox[251] = _Xtime3Sbox[251]
|
2490
|
+
Xtime2[251] = _Xtime2[251]
|
2491
|
+
Xtime9[251] = _Xtime9[251]
|
2492
|
+
XtimeB[251] = _XtimeB[251]
|
2493
|
+
XtimeD[251] = _XtimeD[251]
|
2494
|
+
XtimeE[251] = _XtimeE[251]
|
2495
|
+
Sbox[252] = _Sbox[252]
|
2496
|
+
InvSbox[252] = _InvSbox[252]
|
2497
|
+
Xtime2Sbox[252] = _Xtime2Sbox[252]
|
2498
|
+
Xtime3Sbox[252] = _Xtime3Sbox[252]
|
2499
|
+
Xtime2[252] = _Xtime2[252]
|
2500
|
+
Xtime9[252] = _Xtime9[252]
|
2501
|
+
XtimeB[252] = _XtimeB[252]
|
2502
|
+
XtimeD[252] = _XtimeD[252]
|
2503
|
+
XtimeE[252] = _XtimeE[252]
|
2504
|
+
Sbox[253] = _Sbox[253]
|
2505
|
+
InvSbox[253] = _InvSbox[253]
|
2506
|
+
Xtime2Sbox[253] = _Xtime2Sbox[253]
|
2507
|
+
Xtime3Sbox[253] = _Xtime3Sbox[253]
|
2508
|
+
Xtime2[253] = _Xtime2[253]
|
2509
|
+
Xtime9[253] = _Xtime9[253]
|
2510
|
+
XtimeB[253] = _XtimeB[253]
|
2511
|
+
XtimeD[253] = _XtimeD[253]
|
2512
|
+
XtimeE[253] = _XtimeE[253]
|
2513
|
+
Sbox[254] = _Sbox[254]
|
2514
|
+
InvSbox[254] = _InvSbox[254]
|
2515
|
+
Xtime2Sbox[254] = _Xtime2Sbox[254]
|
2516
|
+
Xtime3Sbox[254] = _Xtime3Sbox[254]
|
2517
|
+
Xtime2[254] = _Xtime2[254]
|
2518
|
+
Xtime9[254] = _Xtime9[254]
|
2519
|
+
XtimeB[254] = _XtimeB[254]
|
2520
|
+
XtimeD[254] = _XtimeD[254]
|
2521
|
+
XtimeE[254] = _XtimeE[254]
|
2522
|
+
Sbox[255] = _Sbox[255]
|
2523
|
+
InvSbox[255] = _InvSbox[255]
|
2524
|
+
Xtime2Sbox[255] = _Xtime2Sbox[255]
|
2525
|
+
Xtime3Sbox[255] = _Xtime3Sbox[255]
|
2526
|
+
Xtime2[255] = _Xtime2[255]
|
2527
|
+
Xtime9[255] = _Xtime9[255]
|
2528
|
+
XtimeB[255] = _XtimeB[255]
|
2529
|
+
XtimeD[255] = _XtimeD[255]
|
2530
|
+
XtimeE[255] = _XtimeE[255]
|
2531
|
+
Rcon = new ByteArray;
|
2532
|
+
/*
|
2533
|
+
for (i=0;i<_Rcon.length;i++) {
|
2534
|
+
Rcon[i] = _Rcon[i];
|
2535
|
+
}
|
2536
|
+
*/
|
2537
|
+
Rcon[0] = _Rcon[0];
|
2538
|
+
Rcon[1] = _Rcon[1];
|
2539
|
+
Rcon[2] = _Rcon[2];
|
2540
|
+
Rcon[3] = _Rcon[3];
|
2541
|
+
Rcon[4] = _Rcon[4];
|
2542
|
+
Rcon[5] = _Rcon[5];
|
2543
|
+
Rcon[6] = _Rcon[6];
|
2544
|
+
Rcon[7] = _Rcon[7];
|
2545
|
+
Rcon[8] = _Rcon[8];
|
2546
|
+
Rcon[9] = _Rcon[9];
|
2547
|
+
Rcon[10] = _Rcon[10];
|
2548
|
+
Rcon[11] = _Rcon[11];
|
2549
|
+
}
|
2550
|
+
|
2551
|
+
private var key:ByteArray;
|
2552
|
+
private var keyLength:uint;
|
2553
|
+
private var Nr:uint;
|
2554
|
+
private var state:ByteArray;
|
2555
|
+
private var tmp:ByteArray;
|
2556
|
+
|
2557
|
+
public function AESKey(key:ByteArray) {
|
2558
|
+
tmp = new ByteArray;
|
2559
|
+
state = new ByteArray;
|
2560
|
+
keyLength = key.length;
|
2561
|
+
this.key = new ByteArray;
|
2562
|
+
this.key.writeBytes(key);
|
2563
|
+
expandKey();
|
2564
|
+
}
|
2565
|
+
|
2566
|
+
// produce Nb bytes for each round
|
2567
|
+
private function expandKey():void {
|
2568
|
+
var tmp0:uint, tmp1:uint, tmp2:uint, tmp3:uint, tmp4:uint;
|
2569
|
+
var idx:uint;
|
2570
|
+
var Nk:uint = key.length/4;
|
2571
|
+
Nr = Nk+6;
|
2572
|
+
|
2573
|
+
for( idx = Nk; idx < Nb * (Nr + 1); idx++ ) {
|
2574
|
+
tmp0 = key[4*idx - 4];
|
2575
|
+
tmp1 = key[4*idx - 3];
|
2576
|
+
tmp2 = key[4*idx - 2];
|
2577
|
+
tmp3 = key[4*idx - 1];
|
2578
|
+
if( !(idx % Nk) ) {
|
2579
|
+
tmp4 = tmp3;
|
2580
|
+
tmp3 = Sbox[tmp0];
|
2581
|
+
tmp0 = Sbox[tmp1] ^ Rcon[idx/Nk];
|
2582
|
+
tmp1 = Sbox[tmp2];
|
2583
|
+
tmp2 = Sbox[tmp4];
|
2584
|
+
} else if( Nk > 6 && idx % Nk == 4 ) {
|
2585
|
+
tmp0 = Sbox[tmp0];
|
2586
|
+
tmp1 = Sbox[tmp1];
|
2587
|
+
tmp2 = Sbox[tmp2];
|
2588
|
+
tmp3 = Sbox[tmp3];
|
2589
|
+
}
|
2590
|
+
|
2591
|
+
key[4*idx+0] = key[4*idx - 4*Nk + 0] ^ tmp0;
|
2592
|
+
key[4*idx+1] = key[4*idx - 4*Nk + 1] ^ tmp1;
|
2593
|
+
key[4*idx+2] = key[4*idx - 4*Nk + 2] ^ tmp2;
|
2594
|
+
key[4*idx+3] = key[4*idx - 4*Nk + 3] ^ tmp3;
|
2595
|
+
}
|
2596
|
+
}
|
2597
|
+
|
2598
|
+
|
2599
|
+
public function getBlockSize():uint
|
2600
|
+
{
|
2601
|
+
return 16;
|
2602
|
+
}
|
2603
|
+
|
2604
|
+
// encrypt one 128 bit block
|
2605
|
+
public function encrypt(block:ByteArray, index:uint=0):void
|
2606
|
+
{
|
2607
|
+
var round:uint;
|
2608
|
+
state.position=0;
|
2609
|
+
state.writeBytes(block, index, Nb*4);
|
2610
|
+
|
2611
|
+
addRoundKey(key, 0);
|
2612
|
+
for ( round = 1; round < Nr + 1; round++ ) {
|
2613
|
+
if (round < Nr) {
|
2614
|
+
mixSubColumns();
|
2615
|
+
} else {
|
2616
|
+
shiftRows();
|
2617
|
+
}
|
2618
|
+
addRoundKey(key, round * Nb * 4);
|
2619
|
+
}
|
2620
|
+
|
2621
|
+
block.position=index;
|
2622
|
+
block.writeBytes(state);
|
2623
|
+
}
|
2624
|
+
|
2625
|
+
public function decrypt(block:ByteArray, index:uint=0):void
|
2626
|
+
{
|
2627
|
+
var round:uint;
|
2628
|
+
state.position=0;
|
2629
|
+
state.writeBytes(block, index, Nb*4);
|
2630
|
+
|
2631
|
+
addRoundKey(key, Nr*Nb*4);
|
2632
|
+
invShiftRows();
|
2633
|
+
for( round = Nr; round--; )
|
2634
|
+
{
|
2635
|
+
addRoundKey( key, round*Nb*4);
|
2636
|
+
if (round) {
|
2637
|
+
invMixSubColumns();
|
2638
|
+
}
|
2639
|
+
}
|
2640
|
+
|
2641
|
+
block.position=index;
|
2642
|
+
block.writeBytes(state);
|
2643
|
+
}
|
2644
|
+
|
2645
|
+
public function dispose():void {
|
2646
|
+
var i:uint;
|
2647
|
+
var r:Random = new Random;
|
2648
|
+
for (i=0;i<key.length;i++) {
|
2649
|
+
key[i] = r.nextByte();
|
2650
|
+
}
|
2651
|
+
Nr = r.nextByte();
|
2652
|
+
for (i=0;i<state.length;i++) {
|
2653
|
+
state[i] = r.nextByte();
|
2654
|
+
}
|
2655
|
+
for (i=0;i<tmp.length;i++) {
|
2656
|
+
tmp[i] = r.nextByte();
|
2657
|
+
}
|
2658
|
+
key.length=0;
|
2659
|
+
keyLength=0;
|
2660
|
+
state.length=0;
|
2661
|
+
tmp.length=0;
|
2662
|
+
key = null;
|
2663
|
+
state = null;
|
2664
|
+
tmp = null;
|
2665
|
+
Nr = 0;
|
2666
|
+
Memory.gc();
|
2667
|
+
}
|
2668
|
+
|
2669
|
+
// exchanges columns in each of 4 rows
|
2670
|
+
// row0 - unchanged, row1- shifted left 1,
|
2671
|
+
// row2 - shifted left 2 and row3 - shifted left 3
|
2672
|
+
protected function shiftRows():void
|
2673
|
+
{
|
2674
|
+
var tmp:uint;
|
2675
|
+
|
2676
|
+
// just substitute row 0
|
2677
|
+
state[0] = Sbox[state[0]]; state[4] = Sbox[state[4]];
|
2678
|
+
state[8] = Sbox[state[8]]; state[12] = Sbox[state[12]];
|
2679
|
+
|
2680
|
+
// rotate row 1
|
2681
|
+
tmp = Sbox[state[1]]; state[1] = Sbox[state[5]];
|
2682
|
+
state[5] = Sbox[state[9]]; state[9] = Sbox[state[13]]; state[13] = tmp;
|
2683
|
+
|
2684
|
+
// rotate row 2
|
2685
|
+
tmp = Sbox[state[2]]; state[2] = Sbox[state[10]]; state[10] = tmp;
|
2686
|
+
tmp = Sbox[state[6]]; state[6] = Sbox[state[14]]; state[14] = tmp;
|
2687
|
+
|
2688
|
+
// rotate row 3
|
2689
|
+
tmp = Sbox[state[15]]; state[15] = Sbox[state[11]];
|
2690
|
+
state[11] = Sbox[state[7]]; state[7] = Sbox[state[3]]; state[3] = tmp;
|
2691
|
+
}
|
2692
|
+
|
2693
|
+
// restores columns in each of 4 rows
|
2694
|
+
// row0 - unchanged, row1- shifted right 1,
|
2695
|
+
// row2 - shifted right 2 and row3 - shifted right 3
|
2696
|
+
protected function invShiftRows ():void
|
2697
|
+
{
|
2698
|
+
var tmp:uint;
|
2699
|
+
|
2700
|
+
// restore row 0
|
2701
|
+
state[0] = InvSbox[state[0]]; state[4] = InvSbox[state[4]];
|
2702
|
+
state[8] = InvSbox[state[8]]; state[12] = InvSbox[state[12]];
|
2703
|
+
|
2704
|
+
// restore row 1
|
2705
|
+
tmp = InvSbox[state[13]]; state[13] = InvSbox[state[9]];
|
2706
|
+
state[9] = InvSbox[state[5]]; state[5] = InvSbox[state[1]]; state[1] = tmp;
|
2707
|
+
|
2708
|
+
// restore row 2
|
2709
|
+
tmp = InvSbox[state[2]]; state[2] = InvSbox[state[10]]; state[10] = tmp;
|
2710
|
+
tmp = InvSbox[state[6]]; state[6] = InvSbox[state[14]]; state[14] = tmp;
|
2711
|
+
|
2712
|
+
// restore row 3
|
2713
|
+
tmp = InvSbox[state[3]]; state[3] = InvSbox[state[7]];
|
2714
|
+
state[7] = InvSbox[state[11]]; state[11] = InvSbox[state[15]]; state[15] = tmp;
|
2715
|
+
}
|
2716
|
+
|
2717
|
+
// recombine and mix each row in a column
|
2718
|
+
protected function mixSubColumns ():void
|
2719
|
+
{
|
2720
|
+
tmp.length=0;
|
2721
|
+
|
2722
|
+
// mixing column 0
|
2723
|
+
tmp[0] = Xtime2Sbox[state[0]] ^ Xtime3Sbox[state[5]] ^ Sbox[state[10]] ^ Sbox[state[15]];
|
2724
|
+
tmp[1] = Sbox[state[0]] ^ Xtime2Sbox[state[5]] ^ Xtime3Sbox[state[10]] ^ Sbox[state[15]];
|
2725
|
+
tmp[2] = Sbox[state[0]] ^ Sbox[state[5]] ^ Xtime2Sbox[state[10]] ^ Xtime3Sbox[state[15]];
|
2726
|
+
tmp[3] = Xtime3Sbox[state[0]] ^ Sbox[state[5]] ^ Sbox[state[10]] ^ Xtime2Sbox[state[15]];
|
2727
|
+
|
2728
|
+
// mixing column 1
|
2729
|
+
tmp[4] = Xtime2Sbox[state[4]] ^ Xtime3Sbox[state[9]] ^ Sbox[state[14]] ^ Sbox[state[3]];
|
2730
|
+
tmp[5] = Sbox[state[4]] ^ Xtime2Sbox[state[9]] ^ Xtime3Sbox[state[14]] ^ Sbox[state[3]];
|
2731
|
+
tmp[6] = Sbox[state[4]] ^ Sbox[state[9]] ^ Xtime2Sbox[state[14]] ^ Xtime3Sbox[state[3]];
|
2732
|
+
tmp[7] = Xtime3Sbox[state[4]] ^ Sbox[state[9]] ^ Sbox[state[14]] ^ Xtime2Sbox[state[3]];
|
2733
|
+
|
2734
|
+
// mixing column 2
|
2735
|
+
tmp[8] = Xtime2Sbox[state[8]] ^ Xtime3Sbox[state[13]] ^ Sbox[state[2]] ^ Sbox[state[7]];
|
2736
|
+
tmp[9] = Sbox[state[8]] ^ Xtime2Sbox[state[13]] ^ Xtime3Sbox[state[2]] ^ Sbox[state[7]];
|
2737
|
+
tmp[10] = Sbox[state[8]] ^ Sbox[state[13]] ^ Xtime2Sbox[state[2]] ^ Xtime3Sbox[state[7]];
|
2738
|
+
tmp[11] = Xtime3Sbox[state[8]] ^ Sbox[state[13]] ^ Sbox[state[2]] ^ Xtime2Sbox[state[7]];
|
2739
|
+
|
2740
|
+
// mixing column 3
|
2741
|
+
tmp[12] = Xtime2Sbox[state[12]] ^ Xtime3Sbox[state[1]] ^ Sbox[state[6]] ^ Sbox[state[11]];
|
2742
|
+
tmp[13] = Sbox[state[12]] ^ Xtime2Sbox[state[1]] ^ Xtime3Sbox[state[6]] ^ Sbox[state[11]];
|
2743
|
+
tmp[14] = Sbox[state[12]] ^ Sbox[state[1]] ^ Xtime2Sbox[state[6]] ^ Xtime3Sbox[state[11]];
|
2744
|
+
tmp[15] = Xtime3Sbox[state[12]] ^ Sbox[state[1]] ^ Sbox[state[6]] ^ Xtime2Sbox[state[11]];
|
2745
|
+
|
2746
|
+
state.position=0;
|
2747
|
+
state.writeBytes(tmp, 0, Nb*4);
|
2748
|
+
}
|
2749
|
+
|
2750
|
+
// restore and un-mix each row in a column
|
2751
|
+
protected function invMixSubColumns ():void
|
2752
|
+
{
|
2753
|
+
tmp.length=0;
|
2754
|
+
var i:uint;
|
2755
|
+
|
2756
|
+
// restore column 0
|
2757
|
+
tmp[0] = XtimeE[state[0]] ^ XtimeB[state[1]] ^ XtimeD[state[2]] ^ Xtime9[state[3]];
|
2758
|
+
tmp[5] = Xtime9[state[0]] ^ XtimeE[state[1]] ^ XtimeB[state[2]] ^ XtimeD[state[3]];
|
2759
|
+
tmp[10] = XtimeD[state[0]] ^ Xtime9[state[1]] ^ XtimeE[state[2]] ^ XtimeB[state[3]];
|
2760
|
+
tmp[15] = XtimeB[state[0]] ^ XtimeD[state[1]] ^ Xtime9[state[2]] ^ XtimeE[state[3]];
|
2761
|
+
|
2762
|
+
// restore column 1
|
2763
|
+
tmp[4] = XtimeE[state[4]] ^ XtimeB[state[5]] ^ XtimeD[state[6]] ^ Xtime9[state[7]];
|
2764
|
+
tmp[9] = Xtime9[state[4]] ^ XtimeE[state[5]] ^ XtimeB[state[6]] ^ XtimeD[state[7]];
|
2765
|
+
tmp[14] = XtimeD[state[4]] ^ Xtime9[state[5]] ^ XtimeE[state[6]] ^ XtimeB[state[7]];
|
2766
|
+
tmp[3] = XtimeB[state[4]] ^ XtimeD[state[5]] ^ Xtime9[state[6]] ^ XtimeE[state[7]];
|
2767
|
+
|
2768
|
+
// restore column 2
|
2769
|
+
tmp[8] = XtimeE[state[8]] ^ XtimeB[state[9]] ^ XtimeD[state[10]] ^ Xtime9[state[11]];
|
2770
|
+
tmp[13] = Xtime9[state[8]] ^ XtimeE[state[9]] ^ XtimeB[state[10]] ^ XtimeD[state[11]];
|
2771
|
+
tmp[2] = XtimeD[state[8]] ^ Xtime9[state[9]] ^ XtimeE[state[10]] ^ XtimeB[state[11]];
|
2772
|
+
tmp[7] = XtimeB[state[8]] ^ XtimeD[state[9]] ^ Xtime9[state[10]] ^ XtimeE[state[11]];
|
2773
|
+
|
2774
|
+
// restore column 3
|
2775
|
+
tmp[12] = XtimeE[state[12]] ^ XtimeB[state[13]] ^ XtimeD[state[14]] ^ Xtime9[state[15]];
|
2776
|
+
tmp[1] = Xtime9[state[12]] ^ XtimeE[state[13]] ^ XtimeB[state[14]] ^ XtimeD[state[15]];
|
2777
|
+
tmp[6] = XtimeD[state[12]] ^ Xtime9[state[13]] ^ XtimeE[state[14]] ^ XtimeB[state[15]];
|
2778
|
+
tmp[11] = XtimeB[state[12]] ^ XtimeD[state[13]] ^ Xtime9[state[14]] ^ XtimeE[state[15]];
|
2779
|
+
|
2780
|
+
for( i=0; i < 4 * Nb; i++ )
|
2781
|
+
state[i] = InvSbox[tmp[i]];
|
2782
|
+
}
|
2783
|
+
|
2784
|
+
// encrypt/decrypt columns of the key
|
2785
|
+
protected function addRoundKey (key:ByteArray, offset:uint):void
|
2786
|
+
{
|
2787
|
+
var idx:uint;
|
2788
|
+
|
2789
|
+
for( idx = 0; idx < 16; idx++ )
|
2790
|
+
state[idx] ^= key[idx+offset];
|
2791
|
+
}
|
2792
|
+
|
2793
|
+
public function toString():String {
|
2794
|
+
return "aes"+(8*keyLength);
|
2795
|
+
}
|
2796
|
+
}
|
2797
|
+
}
|