Commit 395fc4ec authored by michael's avatar michael

cosmetic


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7472 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 08d2a76f
...@@ -153,10 +153,9 @@ AVAES *av_aes_init(uint8_t *key, int key_bits) { ...@@ -153,10 +153,9 @@ AVAES *av_aes_init(uint8_t *key, int key_bits) {
for(j = 1; j < KC; j++){ for(j = 1; j < KC; j++){
if(KC != 8 || j != KC/2) if(KC != 8 || j != KC/2)
for(i = 0; i < 4; i++) tk[j][i] ^= tk[j-1][i]; for(i = 0; i < 4; i++) tk[j][i] ^= tk[j-1][i];
else else
for(i = 0; i < 4; i++) for(i = 0; i < 4; i++) tk[j][i] ^= sbox[tk[j-1][i]];
tk[KC/2][i] ^= sbox[tk[KC/2 - 1][i]];
} }
} }
return a; return a;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment