[Ffmpeg-cvslog] r7470 - trunk/libavutil/aes.c

michael subversion
Sun Jan 14 14:38:10 CET 2007


Author: michael
Date: Sun Jan 14 14:38:10 2007
New Revision: 7470

Modified:
   trunk/libavutil/aes.c

Log:
cosmetics


Modified: trunk/libavutil/aes.c
==============================================================================
--- trunk/libavutil/aes.c	(original)
+++ trunk/libavutil/aes.c	Sun Jan 14 14:38:10 2007
@@ -72,7 +72,6 @@
 #endif
 }
 
-
 void av_aes_decrypt(AVAES *a){
     int t, r;
 
@@ -145,11 +144,11 @@
     memcpy(tk, key, KC*4);
 
     for(t= 0; t < (rounds+1)*4; ) {
-        for(j = 0; (j < KC) && (t < (rounds+1)*4); j++, t++)
+        for(j = 0; j < KC && t < (rounds+1)*4; j++, t++)
             memcpy(a->round_key[0][t],  tk[j], 4);
 
         for(i = 0; i < 4; i++)
-                tk[0][i] ^= sbox[tk[KC-1][(i+1)&3]];
+            tk[0][i] ^= sbox[tk[KC-1][(i+1)&3]];
         tk[0][0] ^= rcon[rconpointer++];
 
         for(j = 1; j < KC; j++){




More information about the ffmpeg-cvslog mailing list