home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / UNIX.ZIP / VMSCRACK / HPWD.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-14  |  989 b   |  34 lines

  1. #ifndef __DESCRIP_LOADED__
  2. #define __DESCRIP_LOADED__
  3.  
  4. #include "mytypes.h"
  5.  
  6. /* Encryption method codes */
  7.  
  8. #define UAIC_AD_II   0    /* AUTODIN-II 32 bit crc code                  */
  9. #define UAIC_PURDY   1    /* Purdy polynomial over salted input          */
  10. #define UAIC_PURDY_V 2    /* Purdy polynomial + variable length username */
  11. #define UAIC_PURDY_S 3  /* PURDY_V + additional bit rotation           */
  12.  
  13. /*
  14.  *    (Based on the VAX Procedure Calling and Condition Handling Standard,
  15.  *     Revision 9.4 [13 March 1984];
  16.  *     see the "Introduction to VMS System Routines" manual for further
  17.  *     information.)
  18.  */
  19.  
  20. /*
  21.  *    Fixed-Length Descriptor:
  22.  */
  23.  
  24. typedef struct {
  25.  
  26.       int   dscw_length;      /* length of data item in bytes  */
  27.       char *dsca_pointer;     /* address of first byte of data */
  28.                   /* storage                       */
  29.         } dscdescriptor;
  30.  
  31. void lgihpwd(dscdescriptor *,dscdescriptor *,int,word,dscdescriptor *);
  32.  
  33. #endif    /* __DESCRIP_LOADED__ */
  34.