/[mcrypt]/libmcrypt-nm/lib/rijndael.h
ViewVC logotype

Contents of /libmcrypt-nm/lib/rijndael.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Mon May 22 13:09:10 2000 UTC (23 years, 11 months ago) by nmav
Branch: MAIN, mcrypt
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain

1
2 typedef struct rijndael_instance {
3 int Nk,Nb,Nr;
4 word8 fi[24],ri[24];
5 word32 fkey[120];
6 word32 rkey[120];
7 } RI;
8
9 void _mcrypt_rijndael_set_key(RI* rinst, int nb,int nk,word8 *key);
10 /* blocksize=32*nb bits. Key=32*nk bits */
11 /* currently nb,bk = 4, 6 or 8 */
12 /* key comes as 4*Nk bytes */
13 /* Key Scheduler. Create expanded encryption key */
14
15 void _mcrypt_rijndael_encrypt(RI* rinst, word8 *buff);
16 void _mcrypt_rijndael_decrypt(RI* rinst, word8 *buff);
17 void _mcrypt_rijndael_gentables(void);

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26