summaryrefslogtreecommitdiff
path: root/src/aes/ao_aes_int.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-28 22:52:23 -0700
committerKeith Packard <keithp@keithp.com>2013-05-07 20:07:52 -0700
commit0488cd9cffc837e99490a0761216bbc5847ff400 (patch)
treea37eb7c5dd30762e2d0859038f2521ab0f4ac449 /src/aes/ao_aes_int.h
parent3edbaa90fb7cb31fa0bd835a7c6c8930fd6dfeb6 (diff)
altos: Build test framework for AES code
Simple CBC-CMAC test with a constant 0 key and constant 0 data for now. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/aes/ao_aes_int.h')
-rw-r--r--src/aes/ao_aes_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aes/ao_aes_int.h b/src/aes/ao_aes_int.h
index 7990a2e1..4d9b3ba7 100644
--- a/src/aes/ao_aes_int.h
+++ b/src/aes/ao_aes_int.h
@@ -41,6 +41,7 @@ typedef struct {
word32 rk[MAXRK];
} roundkey;
+#if 0
/* keys and blocks are externally treated as word32 arrays, to
make sure they are aligned on 4-byte boundaries on architectures
that require it. */
@@ -60,5 +61,6 @@ int xrijndaelKeySched(word32 key[], int keyBits, int blockBits,
void xrijndaelEncrypt(word32 block[], roundkey *rkk);
void xrijndaelDecrypt(word32 block[], roundkey *rkk);
+#endif
#endif /* __RIJNDAEL_H */