projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109d30e
)
Document aes init code writing on purpose beyond round_key array into state array.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 18 Jul 2007 12:22:07 +0000
(12:22 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Wed, 18 Jul 2007 12:22:07 +0000
(12:22 +0000)
Originally committed as revision 9734 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/aes.c
patch
|
blob
|
history
diff --git
a/libavutil/aes.c
b/libavutil/aes.c
index
dc37162
..
c538521
100644
(file)
--- a/
libavutil/aes.c
+++ b/
libavutil/aes.c
@@
-24,6
+24,8
@@
#include "aes.h"
typedef struct AVAES{
+ // Note: round_key[16] is accessed in the init code, but this only
+ // overwrites state, which does not matter (see also r7471).
uint8_t round_key[15][4][4];
uint8_t state[2][4][4];
int rounds;