projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
954bd26
)
indent
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 14 Jan 2007 19:24:34 +0000
(19:24 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 14 Jan 2007 19:24:34 +0000
(19:24 +0000)
Originally committed as revision 7493 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/aes.c
patch
|
blob
|
history
diff --git
a/libavutil/aes.c
b/libavutil/aes.c
index
b6a9dd1
..
a54cab1
100644
(file)
--- a/
libavutil/aes.c
+++ b/
libavutil/aes.c
@@
-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;