Mercurial > libavutil.hg
changeset 954:2b38811998d1 libavutil
Pass subshift an argument of the proper type.
No changes in generated code.
author | reimar |
---|---|
date | Mon, 28 Jun 2010 17:19:55 +0000 |
parents | 567489a515b2 |
children | 040bf8859042 |
files | aes.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/aes.c Mon Jun 28 17:11:48 2010 +0000 +++ b/aes.c Mon Jun 28 17:19:55 2010 +0000 @@ -177,7 +177,7 @@ 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); }