1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00
Originally committed as revision 7493 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-01-14 19:24:34 +00:00
parent 954bd264c1
commit 28b5123546

View File

@ -183,11 +183,11 @@ AVAES *av_aes_init(uint8_t *key, int key_bits, int decrypt) {
}
if(decrypt){
for(i=1; i<rounds; i++){
for(j=0; j<16; j++)
a->round_key[i][0][j]= sbox[a->round_key[i][0][j]];
mix(a->round_key[i], dec_multbl);
}
for(i=1; i<rounds; i++){
for(j=0; j<16; j++)
a->round_key[i][0][j]= sbox[a->round_key[i][0][j]];
mix(a->round_key[i], dec_multbl);
}
}
return a;