DES_DIRMASK
#define DES_ENCRYPT (0*DES_DIRMASK) /* Encrypt */
#define DES_DECRYPT (1*DES_DIRMASK) /* Decrypt */
((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT;