/[mcrypt]/libmcrypt/lib/mcrypt_modules.c
ViewVC logotype

Diff of /libmcrypt/lib/mcrypt_modules.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by nmav, Tue Jan 23 11:51:19 2001 UTC revision 1.11 by nmav, Tue Jan 23 11:46:28 2001 UTC
# Line 347  char *mcrypt_enc_get_algorithms_name(MCR Line 347  char *mcrypt_enc_get_algorithms_name(MCR
347  }  }
348    
349  WIN32DLL_DEFINE  WIN32DLL_DEFINE
 int mcrypt_block_encrypt(MCRYPT td, void *b)  
 {  
         int (*_mcrypt_block_encrypt) (void *, void *);  
         char *a;  
   
         a = td->akey;  
         _mcrypt_block_encrypt = td->a_encrypt;  
   
         return _mcrypt_block_encrypt(a, b);  
 }  
   
 WIN32DLL_DEFINE  
 int mcrypt_block_decrypt(MCRYPT td, void *b)  
 {  
         int (*_mcrypt_block_decrypt) (void *, void *);  
         char *a;  
   
         a = td->akey;  
         _mcrypt_block_decrypt = td->a_decrypt;  
         return _mcrypt_block_decrypt(a, b);  
 }  
   
 WIN32DLL_DEFINE  
 int mcrypt_stream_encrypt(MCRYPT td, void *b, int c)  
 {  
         int (*_mcrypt_stream_encrypt) (void *, void *, int);  
         char *a;  
   
         a = td->akey;  
         _mcrypt_stream_encrypt = td->a_encrypt;  
         return _mcrypt_stream_encrypt(a, b, c);  
 }  
   
 WIN32DLL_DEFINE  
 int mcrypt_stream_decrypt(MCRYPT td, void *b, int c)  
 {  
         int (*_mcrypt_stream_decrypt) (void *, void *, int);  
         char *a;  
   
         a = td->akey;  
         _mcrypt_stream_decrypt = td->a_decrypt;  
         return _mcrypt_stream_decrypt(a, b, c);  
 }  
   
 WIN32DLL_DEFINE  
350  int init_mcrypt(MCRYPT td, void *buf, void *a, int b, void *c)  int init_mcrypt(MCRYPT td, void *buf, void *a, int b, void *c)
351  {  {
352          int (*_init_mcrypt) (void *, void *, int, void *, int);          int (*_init_mcrypt) (void *, void *, int, void *, int);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26