summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-14 13:30:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-14 13:30:37 +0000
commit1070eba2a2b05083a99a939b18eee0d7786afa9a (patch)
tree8c31df9329e6d03c71030c7a7190e735d45e6370 /libavutil
parent12d6a1c81375ead83dbfa275b455f95cacb20785 (diff)
seems the larger rcon values are never accessed
Originally committed as revision 7468 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/aes.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c
index 742cf7cd4d..0aa115087e 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -28,11 +28,8 @@ typedef struct AVAES{
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];