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

michael subversion
Sun Jan 14 14:30:37 CET 2007


Author: michael
Date: Sun Jan 14 14:30:37 2007
New Revision: 7468

Modified:
   trunk/libavutil/aes.c

Log:
seems the larger rcon values are never accessed


Modified: trunk/libavutil/aes.c
==============================================================================
--- trunk/libavutil/aes.c	(original)
+++ trunk/libavutil/aes.c	Sun Jan 14 14:30:37 2007
@@ -28,11 +28,8 @@
     int rounds;
 }AVAES;
 
-static const uint8_t rcon[30] = {
-  0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80,
-  0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a, 0x2f,
-  0x5e, 0xbc, 0x63, 0xc6, 0x97, 0x35, 0x6a, 0xd4,
-  0xb3, 0x7d, 0xfa, 0xef, 0xc5, 0x91
+static const uint8_t rcon[11] = {
+  0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c
 };
 
 static uint8_t     sbox[256];




More information about the ffmpeg-cvslog mailing list