%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Copyright: 2010 Integrated Sytems Laboratory, ETH Zurich
%%            http://www.iis.ee.ethz.ch/~sha3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [state, c] = step(state, statewidth, c)
for j=0:statewidth-1
    [state(1,8*j+1:8*(j+1)), c(1,2*j+1:2*(j+1))]=step_part(state(1,8*j+1:8*(j+1)), c(1,2*j+1:2*(j+1)));
end
end

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