summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1992-03-25 14:55:35 +0000
committerJohn Carr <jfc@mit.edu>1992-03-25 14:55:35 +0000
commita4e19cb983d40d2f3059041803170f97ab50d836 (patch)
tree56245e0455cb07de5a680593325c409b8d2229ff /src/include
parentd12f70b82a0588e2a39ce419e300d1a54fe826bd (diff)
downloadkrb5-a4e19cb983d40d2f3059041803170f97ab50d836.tar.gz
krb5-a4e19cb983d40d2f3059041803170f97ab50d836.tar.xz
krb5-a4e19cb983d40d2f3059041803170f97ab50d836.zip
Add md5 checksum types and DES+MD4 and DES+MD5 encryption types
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2260 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/encryption.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/krb5/encryption.h b/src/include/krb5/encryption.h
index 8dd62f204d..41bcc18a8e 100644
--- a/src/include/krb5/encryption.h
+++ b/src/include/krb5/encryption.h
@@ -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)