Annotation of researchv10no/cmd/descrypt/crypt.h, revision 1.1

1.1     ! root        1: /*
        !             2:  *     Include File for New Crypt
        !             3:  *     D.P.Mitchell  83/06/28.
        !             4:  */
        !             5: 
        !             6: #define NEXT(X) (0x1e1f2f2d*(X) + 0x361962e9)
        !             7: #define ETX 3
        !             8: 
        !             9: /*
        !            10:  *     states of traffic-encryption/decryption layer
        !            11:  */
        !            12: #define FIRST8 0
        !            13: #define GETCHAR 1
        !            14: #define REPEATETX 2
        !            15: #define ENDTEXT 3
        !            16: #define PADJUNK 4
        !            17: #define PUTCHAR 5
        !            18: #define FOUNDETX 6
        !            19: 
        !            20: /*
        !            21:  *     number of DES blocks in 1024 bits
        !            22:  */
        !            23: #define SUPERSIZE 16
        !            24: 
        !            25: /*
        !            26:  *     DES block (64 bits)
        !            27:  *
        !            28:  *     bit 0 is the low-order bit of block.left.
        !            29:  *     bit 31 is the high-order bit (sign bit on VAX) of block.left.
        !            30:  *     bit 32 is the low-order bit of block.right.
        !            31:  *     bit 63 is the high-order bit of block.right.
        !            32:  */
        !            33: typedef struct Block {
        !            34:        long left, right;
        !            35: } Block;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.