+Fri May 10 01:46:25 1996 Richard Basch <basch@lehman.com>
+
+ * d3_str2ky.c d3_procky.c des_int.h init_rkey.c:
+ Replace des3-md5 with des3-sha
+
Thu May 2 18:29:01 1996 Richard Basch <basch@lehman.com>
* d3_rndky.c new_rn_key.c: Removed (obsolete).
{
struct mit_des_ks_struct *schedule; /* pointer to key schedules */
- if ((keyblock->enctype != ENCTYPE_DES3_CBC_MD5) &&
+ if ((keyblock->enctype != ENCTYPE_DES3_CBC_SHA) &&
(keyblock->enctype != ENCTYPE_DES3_CBC_RAW))
return KRB5_PROG_ETYPE_NOSUPP;
mit_des3_key_schedule ks;
krb5_enctype enctype = eblock->crypto_entry->proto_enctype;
- if ((enctype == ENCTYPE_DES3_CBC_MD5) ||
+ if ((enctype == ENCTYPE_DES3_CBC_SHA) ||
(enctype == ENCTYPE_DES3_CBC_RAW))
keyblock->length = sizeof(mit_des3_cblock);
else
extern krb5_cs_table_entry krb5_raw_des_cst_entry;
extern krb5_cs_table_entry krb5_des_crc_cst_entry;
extern krb5_cs_table_entry krb5_des_md5_cst_entry;
-extern krb5_cs_table_entry krb5_des3_md5_cst_entry;
+extern krb5_cs_table_entry krb5_des3_sha_cst_entry;
extern krb5_cs_table_entry krb5_des3_raw_cst_entry;
extern krb5_checksum_entry krb5_des_cbc_cksumtable_entry;
enctype = ENCTYPE_DES_CBC_RAW;
break;
- case ENCTYPE_DES3_CBC_MD5:
+ case ENCTYPE_DES3_CBC_SHA:
case ENCTYPE_DES3_CBC_RAW:
enctype = ENCTYPE_DES3_CBC_RAW;
break;