Browse Source

Pass subshift an argument of the proper type.

No changes in generated code.

Originally committed as revision 23856 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Reimar Döffinger 15 years ago
parent
commit
2ad4a3bc78
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/aes.c

+ 1
- 1
libavutil/aes.c View File

@@ -177,7 +177,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
for(i=1; i<rounds; i++){
uint8_t tmp[3][16];
memcpy(tmp[2], a->round_key[i][0], 16);
subshift(tmp[1], 0, sbox);
subshift(&tmp[1], 0, sbox);
mix(tmp, dec_multbl, 1, 3);
memcpy(a->round_key[i][0], tmp[0], 16);
}


Loading…
Cancel
Save