test python crypto script
author |
Matt Johnston <matt@ucc.asn.au> |
date |
Thu, 06 Jun 2013 00:05:13 +0800 |
parents |
ed8d308b4993 |
children |
439b7aaaec9e |
rev |
line source |
6
|
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 |