From b6961143ecb93826fd24bbb7fbb27bfb82c3f6f7 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 23 Oct 2001 21:20:52 +0000 Subject: [PATCH] Add Heimdal compatible aliases for rc4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13833 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/ChangeLog | 2 ++ src/lib/crypto/etypes.c | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index 8df6f5028..9992ad521 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -1,5 +1,7 @@ 2001-10-23 Sam Hartman + * etypes.c: Add Heimdal aliases arcfour-hmac-md5 + * cksumtypes.c: hmac-md5-rc4 keyed checksum added * etypes.c: arcfour-hmac enctype added diff --git a/src/lib/crypto/etypes.c b/src/lib/crypto/etypes.c index f1d2c9d6d..6d8f50b4e 100644 --- a/src/lib/crypto/etypes.c +++ b/src/lib/crypto/etypes.c @@ -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 /* -- 2.26.2