1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Originally committed as revision 7472 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-01-14 13:47:15 +00:00
parent ba554c025e
commit b1e5c29485

View File

@ -155,8 +155,7 @@ AVAES *av_aes_init(uint8_t *key, int key_bits) {
if(KC != 8 || j != KC/2)
for(i = 0; i < 4; i++) tk[j][i] ^= tk[j-1][i];
else
for(i = 0; i < 4; i++)
tk[KC/2][i] ^= sbox[tk[KC/2 - 1][i]];
for(i = 0; i < 4; i++) tk[j][i] ^= sbox[tk[j-1][i]];
}
}
return a;