summaryrefslogtreecommitdiff
path: root/libavutil/aes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/aes.c')
-rw-r--r--libavutil/aes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c
index b6a9dd1caa..a54cab13f0 100644
--- 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;