Add md5 checksum types and DES+MD4 and DES+MD5 encryption types
authorJohn Carr <jfc@mit.edu>
Wed, 25 Mar 1992 14:55:35 +0000 (14:55 +0000)
committerJohn Carr <jfc@mit.edu>
Wed, 25 Mar 1992 14:55:35 +0000 (14:55 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2260 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/encryption.h

index 8dd62f204dcc24bf2e9e24a30340ad08094d5644..41bcc18a8ec76fadc6a21c402cee470e3f1c26c6 100644 (file)
@@ -119,11 +119,18 @@ typedef struct _krb5_checksum_entry {
 
 #define        ETYPE_NULL              0x0000
 #define        ETYPE_DES_CBC_CRC       0x0001  /* DES cbc mode with CRC-32 */
+#define        ETYPE_DES_CBC_MD4       0x0002  /* DES cbc mode with RSA-MD4 */
+#define        ETYPE_DES_CBC_MD5       0x0003  /* DES cbc mode with RSA-MD5 */
+
 
 #define        CKSUMTYPE_CRC32         0x0001
 #define        CKSUMTYPE_RSA_MD4       0x0002
 #define        CKSUMTYPE_RSA_MD4_DES   0x0003
 #define        CKSUMTYPE_DESCBC        0x0004
+/* des-mac */
+/* des-mac-k */
+#define        CKSUMTYPE_RSA_MD5       0x0007
+#define        CKSUMTYPE_RSA_MD5_DES   0x0008
 
 /* macros to determine if a type is a local type */
 #define KEYTYPE_IS_LOCAL(keytype) (keytype & 0x8000)