OKlibrary  0.2.1.6
Sbox.mac
Go to the documentation of this file.
00001 /* Matthew Gwynne, 2.3.2008 (Swansea) */
00002 /* Copyright 2008, 2010 Oliver Kullmann
00003 This file is part of the OKlibrary. OKlibrary is free software$ you can redistribute
00004 it and/or modify it under the terms of the GNU General Public License as published by
00005 the Free Software Foundation and included in this library$ either version 3 of the
00006 License, or any later version. */
00007 
00022 oklib_include("OKlib/ComputerAlgebra/DataStructures/Lisp/HashMaps.mac")$
00023 
00024 aes_sbox_l : [
00025 99,124,119,123,242,107,111,197,48,1,
00026 103,43,254,215,171,118,202,130,201,125,
00027 250,89,71,240,173,212,162,175,156,164,
00028 114,192,183,253,147,38,54,63,247,204,
00029 52,165,229,241,113,216,49,21,4,199,
00030 35,195,24,150,5,154,7,18,128,226,
00031 235,39,178,117,9,131,44,26,27,110,
00032 90,160,82,59,214,179,41,227,47,132,
00033 83,209,0,237,32,252,177,91,106,203,
00034 190,57,74,76,88,207,208,239,170,251,
00035 67,77,51,133,69,249,2,127,80,60,
00036 159,168,81,163,64,143,146,157,56,245,
00037 188,182,218,33,16,255,243,210,205,12,
00038 19,236,95,151,68,23,196,167,126,61,
00039 100,93,25,115,96,129,79,220,34,42,
00040 144,136,70,238,184,20,222,94,11,219,
00041 224,50,58,10,73,6,36,92,194,211,
00042 172,98,145,149,228,121,231,200,55,109,
00043 141,213,78,169,108,86,244,234,101,122,
00044 174,8,186,120,37,46,28,166,180,198,
00045 232,221,116,31,75,189,139,138,112,62,
00046 181,102,72,3,246,14,97,53,87,185,
00047 134,193,29,158,225,248,152,17,105,217,
00048 142,148,155,30,135,233,206,85,40,223,
00049 140,161,137,13,191,230,66,104,65,153,
00050 45,15,176,84,187,22]$
00051 
00052 /* RENAME: aes_sbox_ary */
00053 array(sbox_data, fixnum, 256)$
00054 okl_fillarray_l(sbox_data, aes_sbox_l)$
00055 
00056