home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / pc / crypto / newdes2p.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-06-11  |  464 b   |  20 lines

  1. #ifdef __STDC__
  2. # define    P(s) s
  3. #else
  4. # define P(s) ()
  5. #endif
  6.  
  7.  
  8. /* newdes2.c */
  9. unsigned int newdes_buf P((unsigned char *buf , unsigned int block_length ));
  10. void newdes_block P((unsigned char *block ));
  11. void newdes_set_key_encipher P((unsigned char *key ));
  12. void newdes_set_key_decipher P((unsigned char *key ));
  13.  
  14. #undef P
  15.  
  16. #define NEWDES_USER_KEY_BYTES     15
  17. #define NEWDES_BLOCK_BYTES      8
  18.  
  19. /*--- Last line of newdes2p.h -------------------- */
  20.