AesPlugin is now little endian
This commit is contained in:
parent
1b2a2ebaca
commit
c1b0869c21
|
@ -5,7 +5,7 @@ import spinal.lib._
|
|||
import vexriscv.{DecoderService, Stageable, VexRiscv}
|
||||
|
||||
|
||||
case class AesPlugin(encoding : MaskedLiteral = M"-----------------000-----0101011") extends Plugin[VexRiscv]{
|
||||
case class AesPlugin(encoding : MaskedLiteral = M"-----------------000-----0001011") extends Plugin[VexRiscv]{
|
||||
|
||||
object IS_AES extends Stageable(Bool)
|
||||
object CALC extends Stageable(Bits(32 bits))
|
||||
|
@ -67,9 +67,9 @@ case class AesPlugin(encoding : MaskedLiteral = M"-----------------000-----01010
|
|||
def VecUInt(l: Int*) = Vec(l.map(U(_, 2 bits)))
|
||||
// remap will be used to decode the rom
|
||||
val remap = Vec(
|
||||
VecUInt(0, 1, 1, 2),
|
||||
VecUInt(1, 1, 1, 1),
|
||||
VecUInt(0, 1, 2, 3),
|
||||
VecUInt(2, 0, 0, 1),
|
||||
VecUInt(0, 0, 0, 0),
|
||||
VecUInt(3, 2, 1, 0),
|
||||
VecUInt(3, 3, 3, 3)
|
||||
)
|
||||
|
||||
|
@ -84,10 +84,10 @@ case class AesPlugin(encoding : MaskedLiteral = M"-----------------000-----01010
|
|||
|
||||
def remap(l : Int*) = Vec(l.map(rom.output(_)))
|
||||
val sel = byteSel.mux(
|
||||
3 -> remap(0, 1, 2, 3),
|
||||
2 -> remap(1, 2, 3, 0),
|
||||
1 -> remap(2, 3, 0, 1),
|
||||
0 -> remap(3, 0, 1, 2)
|
||||
0 -> remap(3, 2, 1, 0),
|
||||
1 -> remap(0, 3, 2, 1),
|
||||
2 -> remap(1, 0, 3, 2),
|
||||
3 -> remap(2, 1, 0, 3)
|
||||
)
|
||||
when(input(INSTRUCTION)(mapping.LAST_ROUND)){
|
||||
zero := B"1111"
|
||||
|
@ -118,139 +118,139 @@ case class AesPlugin(encoding : MaskedLiteral = M"-----------------000-----01010
|
|||
|
||||
// Encryption table which solve a single byte sbox + column mix. Used for all rounds
|
||||
def TE0 = List(
|
||||
0xc663a5, 0xf87c84, 0xee7799, 0xf67b8d,
|
||||
0xfff20d, 0xd66bbd, 0xde6fb1, 0x91c554,
|
||||
0x603050, 0x020103, 0xce67a9, 0x562b7d,
|
||||
0xe7fe19, 0xb5d762, 0x4dabe6, 0xec769a,
|
||||
0x8fca45, 0x1f829d, 0x89c940, 0xfa7d87,
|
||||
0xeffa15, 0xb259eb, 0x8e47c9, 0xfbf00b,
|
||||
0x41adec, 0xb3d467, 0x5fa2fd, 0x45afea,
|
||||
0x239cbf, 0x53a4f7, 0xe47296, 0x9bc05b,
|
||||
0x75b7c2, 0xe1fd1c, 0x3d93ae, 0x4c266a,
|
||||
0x6c365a, 0x7e3f41, 0xf5f702, 0x83cc4f,
|
||||
0x68345c, 0x51a5f4, 0xd1e534, 0xf9f108,
|
||||
0xe27193, 0xabd873, 0x623153, 0x2a153f,
|
||||
0x08040c, 0x95c752, 0x462365, 0x9dc35e,
|
||||
0x301828, 0x3796a1, 0x0a050f, 0x2f9ab5,
|
||||
0x0e0709, 0x241236, 0x1b809b, 0xdfe23d,
|
||||
0xcdeb26, 0x4e2769, 0x7fb2cd, 0xea759f,
|
||||
0x12091b, 0x1d839e, 0x582c74, 0x341a2e,
|
||||
0x361b2d, 0xdc6eb2, 0xb45aee, 0x5ba0fb,
|
||||
0xa452f6, 0x763b4d, 0xb7d661, 0x7db3ce,
|
||||
0x52297b, 0xdde33e, 0x5e2f71, 0x138497,
|
||||
0xa653f5, 0xb9d168, 0x000000, 0xc1ed2c,
|
||||
0x402060, 0xe3fc1f, 0x79b1c8, 0xb65bed,
|
||||
0xd46abe, 0x8dcb46, 0x67bed9, 0x72394b,
|
||||
0x944ade, 0x984cd4, 0xb058e8, 0x85cf4a,
|
||||
0xbbd06b, 0xc5ef2a, 0x4faae5, 0xedfb16,
|
||||
0x8643c5, 0x9a4dd7, 0x663355, 0x118594,
|
||||
0x8a45cf, 0xe9f910, 0x040206, 0xfe7f81,
|
||||
0xa050f0, 0x783c44, 0x259fba, 0x4ba8e3,
|
||||
0xa251f3, 0x5da3fe, 0x8040c0, 0x058f8a,
|
||||
0x3f92ad, 0x219dbc, 0x703848, 0xf1f504,
|
||||
0x63bcdf, 0x77b6c1, 0xafda75, 0x422163,
|
||||
0x201030, 0xe5ff1a, 0xfdf30e, 0xbfd26d,
|
||||
0x81cd4c, 0x180c14, 0x261335, 0xc3ec2f,
|
||||
0xbe5fe1, 0x3597a2, 0x8844cc, 0x2e1739,
|
||||
0x93c457, 0x55a7f2, 0xfc7e82, 0x7a3d47,
|
||||
0xc864ac, 0xba5de7, 0x32192b, 0xe67395,
|
||||
0xc060a0, 0x198198, 0x9e4fd1, 0xa3dc7f,
|
||||
0x442266, 0x542a7e, 0x3b90ab, 0x0b8883,
|
||||
0x8c46ca, 0xc7ee29, 0x6bb8d3, 0x28143c,
|
||||
0xa7de79, 0xbc5ee2, 0x160b1d, 0xaddb76,
|
||||
0xdbe03b, 0x643256, 0x743a4e, 0x140a1e,
|
||||
0x9249db, 0x0c060a, 0x48246c, 0xb85ce4,
|
||||
0x9fc25d, 0xbdd36e, 0x43acef, 0xc462a6,
|
||||
0x3991a8, 0x3195a4, 0xd3e437, 0xf2798b,
|
||||
0xd5e732, 0x8bc843, 0x6e3759, 0xda6db7,
|
||||
0x018d8c, 0xb1d564, 0x9c4ed2, 0x49a9e0,
|
||||
0xd86cb4, 0xac56fa, 0xf3f407, 0xcfea25,
|
||||
0xca65af, 0xf47a8e, 0x47aee9, 0x100818,
|
||||
0x6fbad5, 0xf07888, 0x4a256f, 0x5c2e72,
|
||||
0x381c24, 0x57a6f1, 0x73b4c7, 0x97c651,
|
||||
0xcbe823, 0xa1dd7c, 0xe8749c, 0x3e1f21,
|
||||
0x964bdd, 0x61bddc, 0x0d8b86, 0x0f8a85,
|
||||
0xe07090, 0x7c3e42, 0x71b5c4, 0xcc66aa,
|
||||
0x9048d8, 0x060305, 0xf7f601, 0x1c0e12,
|
||||
0xc261a3, 0x6a355f, 0xae57f9, 0x69b9d0,
|
||||
0x178691, 0x99c158, 0x3a1d27, 0x279eb9,
|
||||
0xd9e138, 0xebf813, 0x2b98b3, 0x221133,
|
||||
0xd269bb, 0xa9d970, 0x078e89, 0x3394a7,
|
||||
0x2d9bb6, 0x3c1e22, 0x158792, 0xc9e920,
|
||||
0x87ce49, 0xaa55ff, 0x502878, 0xa5df7a,
|
||||
0x038c8f, 0x59a1f8, 0x098980, 0x1a0d17,
|
||||
0x65bfda, 0xd7e631, 0x8442c6, 0xd068b8,
|
||||
0x8241c3, 0x2999b0, 0x5a2d77, 0x1e0f11,
|
||||
0x7bb0cb, 0xa854fc, 0x6dbbd6, 0x2c163a
|
||||
0xa5c663, 0x84f87c, 0x99ee77, 0x8df67b,
|
||||
0x0dfff2, 0xbdd66b, 0xb1de6f, 0x5491c5,
|
||||
0x506030, 0x030201, 0xa9ce67, 0x7d562b,
|
||||
0x19e7fe, 0x62b5d7, 0xe64dab, 0x9aec76,
|
||||
0x458fca, 0x9d1f82, 0x4089c9, 0x87fa7d,
|
||||
0x15effa, 0xebb259, 0xc98e47, 0x0bfbf0,
|
||||
0xec41ad, 0x67b3d4, 0xfd5fa2, 0xea45af,
|
||||
0xbf239c, 0xf753a4, 0x96e472, 0x5b9bc0,
|
||||
0xc275b7, 0x1ce1fd, 0xae3d93, 0x6a4c26,
|
||||
0x5a6c36, 0x417e3f, 0x02f5f7, 0x4f83cc,
|
||||
0x5c6834, 0xf451a5, 0x34d1e5, 0x08f9f1,
|
||||
0x93e271, 0x73abd8, 0x536231, 0x3f2a15,
|
||||
0x0c0804, 0x5295c7, 0x654623, 0x5e9dc3,
|
||||
0x283018, 0xa13796, 0x0f0a05, 0xb52f9a,
|
||||
0x090e07, 0x362412, 0x9b1b80, 0x3ddfe2,
|
||||
0x26cdeb, 0x694e27, 0xcd7fb2, 0x9fea75,
|
||||
0x1b1209, 0x9e1d83, 0x74582c, 0x2e341a,
|
||||
0x2d361b, 0xb2dc6e, 0xeeb45a, 0xfb5ba0,
|
||||
0xf6a452, 0x4d763b, 0x61b7d6, 0xce7db3,
|
||||
0x7b5229, 0x3edde3, 0x715e2f, 0x971384,
|
||||
0xf5a653, 0x68b9d1, 0x000000, 0x2cc1ed,
|
||||
0x604020, 0x1fe3fc, 0xc879b1, 0xedb65b,
|
||||
0xbed46a, 0x468dcb, 0xd967be, 0x4b7239,
|
||||
0xde944a, 0xd4984c, 0xe8b058, 0x4a85cf,
|
||||
0x6bbbd0, 0x2ac5ef, 0xe54faa, 0x16edfb,
|
||||
0xc58643, 0xd79a4d, 0x556633, 0x941185,
|
||||
0xcf8a45, 0x10e9f9, 0x060402, 0x81fe7f,
|
||||
0xf0a050, 0x44783c, 0xba259f, 0xe34ba8,
|
||||
0xf3a251, 0xfe5da3, 0xc08040, 0x8a058f,
|
||||
0xad3f92, 0xbc219d, 0x487038, 0x04f1f5,
|
||||
0xdf63bc, 0xc177b6, 0x75afda, 0x634221,
|
||||
0x302010, 0x1ae5ff, 0x0efdf3, 0x6dbfd2,
|
||||
0x4c81cd, 0x14180c, 0x352613, 0x2fc3ec,
|
||||
0xe1be5f, 0xa23597, 0xcc8844, 0x392e17,
|
||||
0x5793c4, 0xf255a7, 0x82fc7e, 0x477a3d,
|
||||
0xacc864, 0xe7ba5d, 0x2b3219, 0x95e673,
|
||||
0xa0c060, 0x981981, 0xd19e4f, 0x7fa3dc,
|
||||
0x664422, 0x7e542a, 0xab3b90, 0x830b88,
|
||||
0xca8c46, 0x29c7ee, 0xd36bb8, 0x3c2814,
|
||||
0x79a7de, 0xe2bc5e, 0x1d160b, 0x76addb,
|
||||
0x3bdbe0, 0x566432, 0x4e743a, 0x1e140a,
|
||||
0xdb9249, 0x0a0c06, 0x6c4824, 0xe4b85c,
|
||||
0x5d9fc2, 0x6ebdd3, 0xef43ac, 0xa6c462,
|
||||
0xa83991, 0xa43195, 0x37d3e4, 0x8bf279,
|
||||
0x32d5e7, 0x438bc8, 0x596e37, 0xb7da6d,
|
||||
0x8c018d, 0x64b1d5, 0xd29c4e, 0xe049a9,
|
||||
0xb4d86c, 0xfaac56, 0x07f3f4, 0x25cfea,
|
||||
0xafca65, 0x8ef47a, 0xe947ae, 0x181008,
|
||||
0xd56fba, 0x88f078, 0x6f4a25, 0x725c2e,
|
||||
0x24381c, 0xf157a6, 0xc773b4, 0x5197c6,
|
||||
0x23cbe8, 0x7ca1dd, 0x9ce874, 0x213e1f,
|
||||
0xdd964b, 0xdc61bd, 0x860d8b, 0x850f8a,
|
||||
0x90e070, 0x427c3e, 0xc471b5, 0xaacc66,
|
||||
0xd89048, 0x050603, 0x01f7f6, 0x121c0e,
|
||||
0xa3c261, 0x5f6a35, 0xf9ae57, 0xd069b9,
|
||||
0x911786, 0x5899c1, 0x273a1d, 0xb9279e,
|
||||
0x38d9e1, 0x13ebf8, 0xb32b98, 0x332211,
|
||||
0xbbd269, 0x70a9d9, 0x89078e, 0xa73394,
|
||||
0xb62d9b, 0x223c1e, 0x921587, 0x20c9e9,
|
||||
0x4987ce, 0xffaa55, 0x785028, 0x7aa5df,
|
||||
0x8f038c, 0xf859a1, 0x800989, 0x171a0d,
|
||||
0xda65bf, 0x31d7e6, 0xc68442, 0xb8d068,
|
||||
0xc38241, 0xb02999, 0x775a2d, 0x111e0f,
|
||||
0xcb7bb0, 0xfca854, 0xd66dbb, 0x3a2c16
|
||||
)
|
||||
|
||||
|
||||
// Decryption table which solve a single byte sbox + column mix. Not used in the last round
|
||||
def TD0 = List(
|
||||
0x51f4a750l, 0x7e416553l, 0x1a17a4c3l, 0x3a275e96l,
|
||||
0x3bab6bcbl, 0x1f9d45f1l, 0xacfa58abl, 0x4be30393l,
|
||||
0x2030fa55l, 0xad766df6l, 0x88cc7691l, 0xf5024c25l,
|
||||
0x4fe5d7fcl, 0xc52acbd7l, 0x26354480l, 0xb562a38fl,
|
||||
0xdeb15a49l, 0x25ba1b67l, 0x45ea0e98l, 0x5dfec0e1l,
|
||||
0xc32f7502l, 0x814cf012l, 0x8d4697a3l, 0x6bd3f9c6l,
|
||||
0x038f5fe7l, 0x15929c95l, 0xbf6d7aebl, 0x955259dal,
|
||||
0xd4be832dl, 0x587421d3l, 0x49e06929l, 0x8ec9c844l,
|
||||
0x75c2896al, 0xf48e7978l, 0x99583e6bl, 0x27b971ddl,
|
||||
0xbee14fb6l, 0xf088ad17l, 0xc920ac66l, 0x7dce3ab4l,
|
||||
0x63df4a18l, 0xe51a3182l, 0x97513360l, 0x62537f45l,
|
||||
0xb16477e0l, 0xbb6bae84l, 0xfe81a01cl, 0xf9082b94l,
|
||||
0x70486858l, 0x8f45fd19l, 0x94de6c87l, 0x527bf8b7l,
|
||||
0xab73d323l, 0x724b02e2l, 0xe31f8f57l, 0x6655ab2al,
|
||||
0xb2eb2807l, 0x2fb5c203l, 0x86c57b9al, 0xd33708a5l,
|
||||
0x302887f2l, 0x23bfa5b2l, 0x02036abal, 0xed16825cl,
|
||||
0x8acf1c2bl, 0xa779b492l, 0xf307f2f0l, 0x4e69e2a1l,
|
||||
0x65daf4cdl, 0x0605bed5l, 0xd134621fl, 0xc4a6fe8al,
|
||||
0x342e539dl, 0xa2f355a0l, 0x058ae132l, 0xa4f6eb75l,
|
||||
0x0b83ec39l, 0x4060efaal, 0x5e719f06l, 0xbd6e1051l,
|
||||
0x3e218af9l, 0x96dd063dl, 0xdd3e05ael, 0x4de6bd46l,
|
||||
0x91548db5l, 0x71c45d05l, 0x0406d46fl, 0x605015ffl,
|
||||
0x1998fb24l, 0xd6bde997l, 0x894043ccl, 0x67d99e77l,
|
||||
0xb0e842bdl, 0x07898b88l, 0xe7195b38l, 0x79c8eedbl,
|
||||
0xa17c0a47l, 0x7c420fe9l, 0xf8841ec9l, 0x00000000l,
|
||||
0x09808683l, 0x322bed48l, 0x1e1170acl, 0x6c5a724el,
|
||||
0xfd0efffbl, 0x0f853856l, 0x3daed51el, 0x362d3927l,
|
||||
0x0a0fd964l, 0x685ca621l, 0x9b5b54d1l, 0x24362e3al,
|
||||
0x0c0a67b1l, 0x9357e70fl, 0xb4ee96d2l, 0x1b9b919el,
|
||||
0x80c0c54fl, 0x61dc20a2l, 0x5a774b69l, 0x1c121a16l,
|
||||
0xe293ba0al, 0xc0a02ae5l, 0x3c22e043l, 0x121b171dl,
|
||||
0x0e090d0bl, 0xf28bc7adl, 0x2db6a8b9l, 0x141ea9c8l,
|
||||
0x57f11985l, 0xaf75074cl, 0xee99ddbbl, 0xa37f60fdl,
|
||||
0xf701269fl, 0x5c72f5bcl, 0x44663bc5l, 0x5bfb7e34l,
|
||||
0x8b432976l, 0xcb23c6dcl, 0xb6edfc68l, 0xb8e4f163l,
|
||||
0xd731dccal, 0x42638510l, 0x13972240l, 0x84c61120l,
|
||||
0x854a247dl, 0xd2bb3df8l, 0xaef93211l, 0xc729a16dl,
|
||||
0x1d9e2f4bl, 0xdcb230f3l, 0x0d8652ecl, 0x77c1e3d0l,
|
||||
0x2bb3166cl, 0xa970b999l, 0x119448fal, 0x47e96422l,
|
||||
0xa8fc8cc4l, 0xa0f03f1al, 0x567d2cd8l, 0x223390efl,
|
||||
0x87494ec7l, 0xd938d1c1l, 0x8ccaa2fel, 0x98d40b36l,
|
||||
0xa6f581cfl, 0xa57ade28l, 0xdab78e26l, 0x3fadbfa4l,
|
||||
0x2c3a9de4l, 0x5078920dl, 0x6a5fcc9bl, 0x547e4662l,
|
||||
0xf68d13c2l, 0x90d8b8e8l, 0x2e39f75el, 0x82c3aff5l,
|
||||
0x9f5d80bel, 0x69d0937cl, 0x6fd52da9l, 0xcf2512b3l,
|
||||
0xc8ac993bl, 0x10187da7l, 0xe89c636el, 0xdb3bbb7bl,
|
||||
0xcd267809l, 0x6e5918f4l, 0xec9ab701l, 0x834f9aa8l,
|
||||
0xe6956e65l, 0xaaffe67el, 0x21bccf08l, 0xef15e8e6l,
|
||||
0xbae79bd9l, 0x4a6f36cel, 0xea9f09d4l, 0x29b07cd6l,
|
||||
0x31a4b2afl, 0x2a3f2331l, 0xc6a59430l, 0x35a266c0l,
|
||||
0x744ebc37l, 0xfc82caa6l, 0xe090d0b0l, 0x33a7d815l,
|
||||
0xf104984al, 0x41ecdaf7l, 0x7fcd500el, 0x1791f62fl,
|
||||
0x764dd68dl, 0x43efb04dl, 0xccaa4d54l, 0xe49604dfl,
|
||||
0x9ed1b5e3l, 0x4c6a881bl, 0xc12c1fb8l, 0x4665517fl,
|
||||
0x9d5eea04l, 0x018c355dl, 0xfa877473l, 0xfb0b412el,
|
||||
0xb3671d5al, 0x92dbd252l, 0xe9105633l, 0x6dd64713l,
|
||||
0x9ad7618cl, 0x37a10c7al, 0x59f8148el, 0xeb133c89l,
|
||||
0xcea927eel, 0xb761c935l, 0xe11ce5edl, 0x7a47b13cl,
|
||||
0x9cd2df59l, 0x55f2733fl, 0x1814ce79l, 0x73c737bfl,
|
||||
0x53f7cdeal, 0x5ffdaa5bl, 0xdf3d6f14l, 0x7844db86l,
|
||||
0xcaaff381l, 0xb968c43el, 0x3824342cl, 0xc2a3405fl,
|
||||
0x161dc372l, 0xbce2250cl, 0x283c498bl, 0xff0d9541l,
|
||||
0x39a80171l, 0x080cb3del, 0xd8b4e49cl, 0x6456c190l,
|
||||
0x7bcb8461l, 0xd532b670l, 0x486c5c74l, 0xd0b85742l
|
||||
0x50a7f451l, 0x5365417el, 0xc3a4171al, 0x965e273al,
|
||||
0xcb6bab3bl, 0xf1459d1fl, 0xab58faacl, 0x9303e34bl,
|
||||
0x55fa3020l, 0xf66d76adl, 0x9176cc88l, 0x254c02f5l,
|
||||
0xfcd7e54fl, 0xd7cb2ac5l, 0x80443526l, 0x8fa362b5l,
|
||||
0x495ab1del, 0x671bba25l, 0x980eea45l, 0xe1c0fe5dl,
|
||||
0x02752fc3l, 0x12f04c81l, 0xa397468dl, 0xc6f9d36bl,
|
||||
0xe75f8f03l, 0x959c9215l, 0xeb7a6dbfl, 0xda595295l,
|
||||
0x2d83bed4l, 0xd3217458l, 0x2969e049l, 0x44c8c98el,
|
||||
0x6a89c275l, 0x78798ef4l, 0x6b3e5899l, 0xdd71b927l,
|
||||
0xb64fe1bel, 0x17ad88f0l, 0x66ac20c9l, 0xb43ace7dl,
|
||||
0x184adf63l, 0x82311ae5l, 0x60335197l, 0x457f5362l,
|
||||
0xe07764b1l, 0x84ae6bbbl, 0x1ca081fel, 0x942b08f9l,
|
||||
0x58684870l, 0x19fd458fl, 0x876cde94l, 0xb7f87b52l,
|
||||
0x23d373abl, 0xe2024b72l, 0x578f1fe3l, 0x2aab5566l,
|
||||
0x0728ebb2l, 0x03c2b52fl, 0x9a7bc586l, 0xa50837d3l,
|
||||
0xf2872830l, 0xb2a5bf23l, 0xba6a0302l, 0x5c8216edl,
|
||||
0x2b1ccf8al, 0x92b479a7l, 0xf0f207f3l, 0xa1e2694el,
|
||||
0xcdf4da65l, 0xd5be0506l, 0x1f6234d1l, 0x8afea6c4l,
|
||||
0x9d532e34l, 0xa055f3a2l, 0x32e18a05l, 0x75ebf6a4l,
|
||||
0x39ec830bl, 0xaaef6040l, 0x069f715el, 0x51106ebdl,
|
||||
0xf98a213el, 0x3d06dd96l, 0xae053eddl, 0x46bde64dl,
|
||||
0xb58d5491l, 0x055dc471l, 0x6fd40604l, 0xff155060l,
|
||||
0x24fb9819l, 0x97e9bdd6l, 0xcc434089l, 0x779ed967l,
|
||||
0xbd42e8b0l, 0x888b8907l, 0x385b19e7l, 0xdbeec879l,
|
||||
0x470a7ca1l, 0xe90f427cl, 0xc91e84f8l, 0x00000000l,
|
||||
0x83868009l, 0x48ed2b32l, 0xac70111el, 0x4e725a6cl,
|
||||
0xfbff0efdl, 0x5638850fl, 0x1ed5ae3dl, 0x27392d36l,
|
||||
0x64d90f0al, 0x21a65c68l, 0xd1545b9bl, 0x3a2e3624l,
|
||||
0xb1670a0cl, 0x0fe75793l, 0xd296eeb4l, 0x9e919b1bl,
|
||||
0x4fc5c080l, 0xa220dc61l, 0x694b775al, 0x161a121cl,
|
||||
0x0aba93e2l, 0xe52aa0c0l, 0x43e0223cl, 0x1d171b12l,
|
||||
0x0b0d090el, 0xadc78bf2l, 0xb9a8b62dl, 0xc8a91e14l,
|
||||
0x8519f157l, 0x4c0775afl, 0xbbdd99eel, 0xfd607fa3l,
|
||||
0x9f2601f7l, 0xbcf5725cl, 0xc53b6644l, 0x347efb5bl,
|
||||
0x7629438bl, 0xdcc623cbl, 0x68fcedb6l, 0x63f1e4b8l,
|
||||
0xcadc31d7l, 0x10856342l, 0x40229713l, 0x2011c684l,
|
||||
0x7d244a85l, 0xf83dbbd2l, 0x1132f9ael, 0x6da129c7l,
|
||||
0x4b2f9e1dl, 0xf330b2dcl, 0xec52860dl, 0xd0e3c177l,
|
||||
0x6c16b32bl, 0x99b970a9l, 0xfa489411l, 0x2264e947l,
|
||||
0xc48cfca8l, 0x1a3ff0a0l, 0xd82c7d56l, 0xef903322l,
|
||||
0xc74e4987l, 0xc1d138d9l, 0xfea2ca8cl, 0x360bd498l,
|
||||
0xcf81f5a6l, 0x28de7aa5l, 0x268eb7dal, 0xa4bfad3fl,
|
||||
0xe49d3a2cl, 0x0d927850l, 0x9bcc5f6al, 0x62467e54l,
|
||||
0xc2138df6l, 0xe8b8d890l, 0x5ef7392el, 0xf5afc382l,
|
||||
0xbe805d9fl, 0x7c93d069l, 0xa92dd56fl, 0xb31225cfl,
|
||||
0x3b99acc8l, 0xa77d1810l, 0x6e639ce8l, 0x7bbb3bdbl,
|
||||
0x097826cdl, 0xf418596el, 0x01b79aecl, 0xa89a4f83l,
|
||||
0x656e95e6l, 0x7ee6ffaal, 0x08cfbc21l, 0xe6e815efl,
|
||||
0xd99be7bal, 0xce366f4al, 0xd4099feal, 0xd67cb029l,
|
||||
0xafb2a431l, 0x31233f2al, 0x3094a5c6l, 0xc066a235l,
|
||||
0x37bc4e74l, 0xa6ca82fcl, 0xb0d090e0l, 0x15d8a733l,
|
||||
0x4a9804f1l, 0xf7daec41l, 0x0e50cd7fl, 0x2ff69117l,
|
||||
0x8dd64d76l, 0x4db0ef43l, 0x544daaccl, 0xdf0496e4l,
|
||||
0xe3b5d19el, 0x1b886a4cl, 0xb81f2cc1l, 0x7f516546l,
|
||||
0x04ea5e9dl, 0x5d358c01l, 0x737487fal, 0x2e410bfbl,
|
||||
0x5a1d67b3l, 0x52d2db92l, 0x335610e9l, 0x1347d66dl,
|
||||
0x8c61d79al, 0x7a0ca137l, 0x8e14f859l, 0x893c13ebl,
|
||||
0xee27a9cel, 0x35c961b7l, 0xede51ce1l, 0x3cb1477al,
|
||||
0x59dfd29cl, 0x3f73f255l, 0x79ce1418l, 0xbf37c773l,
|
||||
0xeacdf753l, 0x5baafd5fl, 0x146f3ddfl, 0x86db4478l,
|
||||
0x81f3afcal, 0x3ec468b9l, 0x2c342438l, 0x5f40a3c2l,
|
||||
0x72c31d16l, 0x0c25e2bcl, 0x8b493c28l, 0x41950dffl,
|
||||
0x7101a839l, 0xdeb30c08l, 0x9ce4b4d8l, 0x90c15664l,
|
||||
0x6184cb7bl, 0x70b632d5l, 0x745c6c48l, 0x4257b8d0l
|
||||
)
|
||||
|
||||
// Last round decryption sbox
|
||||
|
|
Loading…
Reference in New Issue