Sun Nov 09, 2008 4:39 pm
Sun Nov 09, 2008 8:07 pm
KeyExpansion(CipherKey, ExpandedKey);
...
Rijndael(State, ExpandedKey)
{
AddRoundKey(State, ExpandedKey[0]);
for(i=1; i<Nr; i++)
Round(State, ExpandedKey[i]);
FinalRound(State, ExpandedKey[Nr]);
}
...
Round(State, RoundKey)
{
ByteSub(State);
ShiftRow(State);
MixColumn(State);
AddRoundKey(State, RoundKey);
}
...
FinalRound(State, RoundKey)
{
ByteSub(State);
ShiftRow(State);
/*no MixColumn*/
AddRoundKey(State, RoundKey);
}
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.