Add Heimdal compatible aliases for rc4
authorSam Hartman <hartmans@mit.edu>
Tue, 23 Oct 2001 21:20:52 +0000 (21:20 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 23 Oct 2001 21:20:52 +0000 (21:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13833 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/ChangeLog
src/lib/crypto/etypes.c

index 8df6f5028bf3c8bee33ee3f96beb101cbb1af68c..9992ad5214e1137a0855fd86fc3ed39199fe886a 100644 (file)
@@ -1,5 +1,7 @@
 2001-10-23  Sam Hartman  <hartmans@mit.edu>
 
+       * etypes.c: Add Heimdal aliases  arcfour-hmac-md5
+
        * cksumtypes.c: hmac-md5-rc4 keyed checksum added
 
        * etypes.c: arcfour-hmac enctype added
index f1d2c9d6d271c2f64f456dc5c1eabb1c10f17a85..6d8f50b4e9d34d76d29b4169cda42b297f87a04c 100644 (file)
@@ -101,6 +101,10 @@ const struct krb5_keytypes krb5_enctypes_list[] = {
       "rc4-hmac", "ArcFour with HMAC/md5", &krb5int_enc_arcfour,
       &krb5int_hash_md5, krb5_arcfour_encrypt_length, krb5_arcfour_encrypt,
       krb5_arcfour_decrypt, krb5_arcfour_string_to_key },
+    { ENCTYPE_ARCFOUR_HMAC,  /* alias */
+      "arcfour-hmac-md5", "ArcFour with HMAC/md5", &krb5int_enc_arcfour,
+      &krb5int_hash_md5, krb5_arcfour_encrypt_length, krb5_arcfour_encrypt,
+      krb5_arcfour_decrypt, krb5_arcfour_string_to_key },
     { ENCTYPE_ARCFOUR_HMAC_EXP, 
       "arcfour-hmac-exp", "Exportable ArcFour with HMAC/md5",
       &krb5int_enc_arcfour,
@@ -111,6 +115,11 @@ const struct krb5_keytypes krb5_enctypes_list[] = {
       &krb5int_enc_arcfour,
       &krb5int_hash_md5, krb5_arcfour_encrypt_length, krb5_arcfour_encrypt,
       krb5_arcfour_decrypt, krb5_arcfour_string_to_key },
+    { ENCTYPE_ARCFOUR_HMAC_EXP, /* alias */
+      "arcfour-hmac-md5-exp", "Exportable ArcFour with HMAC/md5",
+      &krb5int_enc_arcfour,
+      &krb5int_hash_md5, krb5_arcfour_encrypt_length, krb5_arcfour_encrypt,
+      krb5_arcfour_decrypt, krb5_arcfour_string_to_key },
 
 #ifdef ATHENA_DES3_KLUDGE
     /*