Revision 28b51235

View differences:

libavutil/aes.c
183 183
    }
184 184

  
185 185
    if(decrypt){
186
    for(i=1; i<rounds; i++){
187
        for(j=0; j<16; j++)
188
            a->round_key[i][0][j]= sbox[a->round_key[i][0][j]];
189
        mix(a->round_key[i], dec_multbl);
190
    }
186
        for(i=1; i<rounds; i++){
187
            for(j=0; j<16; j++)
188
                a->round_key[i][0][j]= sbox[a->round_key[i][0][j]];
189
            mix(a->round_key[i], dec_multbl);
190
        }
191 191
    }
192 192

  
193 193
    return a;

Also available in: Unified diff