add sizes of stuff
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@29
dc483132-0cff-0310-8789-
dd5450dbe970
/* Key schedule--used internally by DES routines to gain some speed */
typedef struct des_ks_struct { des_cblock _; } des_key_schedule[16];
-#define DES_KEY_SZ (8*sizeof(octet))
+#define DES_ENCRYPT 1
+#define DES_DECRYPT 0
/* the first byte of the key is already in the keyblock */
#define DES_KEYBLOCK_SZ (sizeof(krb5_keyblock)+sizeof(des_cblock)-sizeof(octet))
-#define DES_ENCRYPT 1
-#define DES_DECRYPT 0
+#define DES_BLOCK_LENGTH (8*sizeof(octet))
+#define DES_CBC_CRC_PAD_MINIMUM CRC32_CKSUM_LENGTH
+#define DES_KEYSIZE (8*sizeof(octet))
+
+#define DES_CBC_CKSUM_LENGTH (4*sizeof(octet)) /* XXX ? */
#endif /* __MIT_DES__ */