krb5 commit: Add aes128-sha1, aes256-sha1 enctype aliases

Greg Hudson ghudson at mit.edu
Mon Oct 3 16:02:43 EDT 2016


https://github.com/krb5/krb5/commit/694d15f1588e5bf700f67065797cdf88a0b8d421
commit 694d15f1588e5bf700f67065797cdf88a0b8d421
Author: Greg Hudson <ghudson at mit.edu>
Date:   Fri Sep 23 15:11:43 2016 -0400

    Add aes128-sha1, aes256-sha1 enctype aliases
    
    For parallelism with aes128-sha2 and aes256-sha2, add enctype aliases
    aes128-sha1 and aes256-sha1 for the older AES enctypes.
    
    ticket: 8490

 src/lib/crypto/krb/etypes.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/crypto/krb/etypes.c b/src/lib/crypto/krb/etypes.c
index 112ae08..0e5e977 100644
--- a/src/lib/crypto/krb/etypes.c
+++ b/src/lib/crypto/krb/etypes.c
@@ -125,7 +125,7 @@ const struct krb5_keytypes krb5int_enctypes_list[] = {
     },
 
     { ENCTYPE_AES128_CTS_HMAC_SHA1_96,
-      "aes128-cts-hmac-sha1-96", { "aes128-cts" },
+      "aes128-cts-hmac-sha1-96", { "aes128-cts", "aes128-sha1" },
       "AES-128 CTS mode with 96-bit SHA-1 HMAC",
       &krb5int_enc_aes128, &krb5int_hash_sha1,
       16,
@@ -135,7 +135,7 @@ const struct krb5_keytypes krb5int_enctypes_list[] = {
       CKSUMTYPE_HMAC_SHA1_96_AES128,
       0 /*flags*/ },
     { ENCTYPE_AES256_CTS_HMAC_SHA1_96,
-      "aes256-cts-hmac-sha1-96", { "aes256-cts" },
+      "aes256-cts-hmac-sha1-96", { "aes256-cts", "aes256-sha1" },
       "AES-256 CTS mode with 96-bit SHA-1 HMAC",
       &krb5int_enc_aes256, &krb5int_hash_sha1,
       16,


More information about the cvs-krb5 mailing list