Mercurial > pihelp
view aes.h @ 9:3aa92c7f379c
test python crypto script
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 06 Jun 2013 00:05:13 +0800 |
parents | ed8d308b4993 |
children | 439b7aaaec9e |
line wrap: on
line source
#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