# HG changeset patch # User Matt Johnston # Date 1370439022 -28800 # Node ID ed8d308b4993b9dac1e1c2ea6317916428d47825 # Parent 87c8d0a11906eec7515278ad1e7570e064480f9d forgot aes.h diff -r 87c8d0a11906 -r ed8d308b4993 aes.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aes.h Wed Jun 05 21:30:22 2013 +0800 @@ -0,0 +1,16 @@ +#ifndef AES_H +#define AES_H + +// 4*nB*(nK+1) +#define AES_EXPKEY_SIZE (4*4*(4+1)) + +void ExpandKey (unsigned char *key, unsigned char *expkey); +// encrypt one 128 bit block +void Encrypt (unsigned char *in, unsigned char *expkey, unsigned char *out); + +void Decrypt (unsigned char *in, unsigned char *expkey, unsigned char *out); + + + + +#endif \ No newline at end of file