Document aes init code writing on purpose beyond round_key array into state array.
Originally committed as revision 9734 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
109d30e9f1
commit
ef0d7a0d4f
@ -24,6 +24,8 @@
|
|||||||
#include "aes.h"
|
#include "aes.h"
|
||||||
|
|
||||||
typedef struct AVAES{
|
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 round_key[15][4][4];
|
||||||
uint8_t state[2][4][4];
|
uint8_t state[2][4][4];
|
||||||
int rounds;
|
int rounds;
|
||||||
|
Loading…
Reference in New Issue
Block a user