# HG changeset patch # User reimar # Date 1184761327 0 # Node ID 99c56fd6e3f4989b98cb8cc03e746ef5ecfdf10f # Parent 6797bf24b2dea35060b982d6bd90026169cb6489 Document aes init code writing on purpose beyond round_key array into state array. diff -r 6797bf24b2de -r 99c56fd6e3f4 aes.c --- a/aes.c Wed Jul 18 08:11:16 2007 +0000 +++ b/aes.c Wed Jul 18 12:22:07 2007 +0000 @@ -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;