* cryptoconf.c : Remove krb5_csarray.
authorChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 03:28:39 +0000 (03:28 +0000)
committerChris Provenzano <proven@mit.edu>
Wed, 6 Sep 1995 03:28:39 +0000 (03:28 +0000)
* cryptoconf.c, des_crc.c, des_md5.c, raw_des.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6675 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/cryptoconf.c
src/lib/crypto/des_crc.c
src/lib/crypto/des_md5.c
src/lib/crypto/raw_des.c

index ad0195ad6da757442fed24ce4aed1d76f07fc675..0c117b8e92d71fe8651be78c2a64f3fa67e58ab9 100644 (file)
@@ -1,3 +1,10 @@
+
+Tue Sep 05 22:10:34 1995   Chris Provenzano (proven@mit.edu)
+
+        * cryptoconf.c : Remove krb5_csarray.
+       * cryptoconf.c, des_crc.c, des_md5.c, raw_des.c : Remove krb5_enctype 
+               references, and replace with krb5_keytype where appropriate.
+
 Thu Aug 24 17:55:47 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * des_crc.c, des_md5.c, raw_des.c: Remove casting in call to
index a5ac202bc931721ca90e3e9fb4f6f7970ac6caf1..0efb6d55ef4573476221e5868c8b9772bb5f3c96 100644 (file)
    "krb5/encryption.h"
  */
 
-krb5_cs_table_entry * NEAR krb5_csarray[] = {
-    0,                         /* ETYPE_NULL */
-    DES_CBC_CRC_CSENTRY,       /* ETYPE_DES_CBC_CRC */
-    0,                         /* ETYPE_DES_CBC_MD4 */
-    DES_CBC_MD5_CSENTRY,       /* ETYPE_DES_CBC_MD5 */
-    RAW_DES_CBC_CSENTRY,       /* ETYPE_RAW_DES_CBC */
-};
-
-int krb5_max_cryptosystem = sizeof(krb5_csarray)/sizeof(krb5_csarray[0]) - 1;
-
 krb5_cs_table_entry * NEAR krb5_keytype_array[] = {
     0,                         /* KEYTYPE_NULL */
-#if    defined(PROVIDE_DES_CBC_MD5)
-    DES_CBC_MD5_CSENTRY                /* KEYTYPE_DES */
-#elif  defined(PROVIDE_DES_CBC_CRC)
-    DES_CBC_CRC_CSENTRY                /* KEYTYPE_DES */
-#else  /* !PROVIDE_DES_CBC_MD5 && !PROVIDE_DES_CBC_CRC */
-    0
-#endif /* !PROVIDE_DES_CBC_MD5 && !PROVIDE_DES_CBC_CRC */
+    DES_CBC_CRC_CSENTRY,       /* KEYTYPE_DES_CBC_CRC */
+    0,                         /* KEYTYPE_DES_CBC_MD4 */
+    DES_CBC_MD5_CSENTRY,       /* KEYTYPE_DES_CBC_MD5 */
+    RAW_DES_CBC_CSENTRY,       /* ETYPE_RAW_DES_CBC */
 };
 
 int krb5_max_keytype = sizeof(krb5_keytype_array)/sizeof(krb5_keytype_array[0]) - 1;
index f6c5d2250610457e6344efb2242be5c9fc918805..7ae2559623e89b8c359a7f845ed166a4b9478b59 100644 (file)
@@ -47,8 +47,7 @@ static krb5_cryptosystem_entry mit_des_crc_cryptosystem_entry = {
     sizeof(mit_des_cblock),
     CRC32_CKSUM_LENGTH+sizeof(mit_des_cblock),
     sizeof(mit_des_cblock),
-    ETYPE_DES_CBC_CRC,
-    KEYTYPE_DES
+    KEYTYPE_DES_CBC_CRC
     };
 
 krb5_cs_table_entry krb5_des_crc_cst_entry = {
index c84d958ca762457172a4f60959912651b736f911..b4165ca4b6373383a44541a4bcabd6ca3468cffa 100644 (file)
@@ -48,8 +48,7 @@ static krb5_cryptosystem_entry mit_des_md5_cryptosystem_entry = {
     sizeof(mit_des_cblock),
     RSA_MD5_CKSUM_LENGTH+sizeof(mit_des_cblock),
     sizeof(mit_des_cblock),
-    ETYPE_DES_CBC_MD5,
-    KEYTYPE_DES
+    KEYTYPE_DES_CBC_MD5
     };
 
 krb5_cs_table_entry krb5_des_md5_cst_entry = {
index 9922dbf285814067b37784c35e8f8461bb7f7c4f..3afe4f2c8e0889c7fc739f8f4c6432263853e066 100644 (file)
@@ -45,8 +45,7 @@ static krb5_cryptosystem_entry mit_raw_des_cryptosystem_entry = {
     sizeof(mit_des_cblock),
     0,
     sizeof(mit_des_cblock),
-    ETYPE_RAW_DES_CBC,
-    KEYTYPE_DES
+    KEYTYPE_DES_CBC_RAW
     };
 
 krb5_cs_table_entry krb5_raw_des_cst_entry = {