comparison aes.h @ 6:ed8d308b4993

forgot aes.h
author Matt Johnston <matt@ucc.asn.au>
date Wed, 05 Jun 2013 21:30:22 +0800
parents
children 439b7aaaec9e
comparison
equal deleted inserted replaced
5:87c8d0a11906 6:ed8d308b4993
1 #ifndef AES_H
2 #define AES_H
3
4 // 4*nB*(nK+1)
5 #define AES_EXPKEY_SIZE (4*4*(4+1))
6
7 void ExpandKey (unsigned char *key, unsigned char *expkey);
8 // encrypt one 128 bit block
9 void Encrypt (unsigned char *in, unsigned char *expkey, unsigned char *out);
10
11 void Decrypt (unsigned char *in, unsigned char *expkey, unsigned char *out);
12
13
14
15
16 #endif