%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Copyright: 2010 Integrated Sytems Laboratory, ETH Zurich
%%            http://www.iis.ee.ethz.ch/~sha3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
p.IV    = hex2dec('00000100');
 
p.C     = zeros(1, 16);
p.K(1)  = hex2dec('243F6A88');
p.K(2)  = hex2dec('85A308D3');
p.K(3)  = hex2dec('13198A2E');
p.K(4)  = hex2dec('03707344');
p.K(5)  = hex2dec('A4093822');
p.K(6)  = hex2dec('299F31D0');
p.K(7)  = hex2dec('082EFA98');
p.K(8)  = hex2dec('EC4E6C89');
p.K(9)  = hex2dec('452821E6');
p.K(10) = hex2dec('38D01377');
p.K(11) = hex2dec('BE5466CF');
p.K(12) = hex2dec('34E90C6C');
p.K(13) = hex2dec('C0AC29B7');
p.K(14) = hex2dec('C97C50DD');
p.K(15) = hex2dec('3F84D5B5');
p.K(16) = hex2dec('B5470917');

p.P       = zeros(10,16);
p.P(1,:)  = [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] + 1;
p.P(2,:)  = [14 10 4 8 9 15 13 6 1 12 0 2 11 7 5 3] + 1;
p.P(3,:)  = [11 8 12 0 5 2 15 13 10 14 3 6 7 1 9 4] + 1;
p.P(4,:)  = [7 9 3 1 13 12 11 14 2 6 5 10 4 0 15 8] + 1;
p.P(5,:)  = [9 0 5 7 2 4 10 15 14 1 11 12 6 8 3 13] + 1;
p.P(6,:)  = [2 12 6 10 0 11 8 3 4 13 7 5 15 14 1 9] + 1;
p.P(7,:)  = [12 5 1 15 14 13 4 10 0 7 6 3 9 2 8 11] + 1;
p.P(8,:)  = [13 11 7 14 12 1 3 9 5 0 15 4 8 6 2 10] + 1;
p.P(9,:)  = [6 15 14 9 11 3 0 8 12 2 13 7 1 4 10 5] + 1;
p.P(10,:) = [10 2 8 4 7 6 1 5 15 11 9 14 3 12 13 0] + 1;

p.m = 512;
p.h = 256;
p.s = 128;
p.r = 8;
   
p.w = 32;

Generated on Fri Sep 24 10:39:12 CEST 2010
Home