provide shorthand aliases for AES enctypes
authorKen Raeburn <raeburn@mit.edu>
Tue, 13 May 2003 23:24:36 +0000 (23:24 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 13 May 2003 23:24:36 +0000 (23:24 +0000)
* etypes.c (krb5_enctypes_list): Add names aes128-cts and aes256-cts as
aliases.

ticket: new
target_version: 1.3
tags: pullup

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

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

index a7a052f89788ef8b4463090654e0fd4898498d1f..05d7023be114517d68373dab7ed25ef8d27d0e80 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * etypes.c (krb5_enctypes_list): Add names aes128-cts and
+       aes256-cts as aliases.
+
 2003-05-13  Sam Hartman  <hartmans@mit.edu>
 
        * t_encrypt.c: Add aes enctypes
index da234070ca3007c5efe3fdd8b940b0ef73b42a9e..6c195e4b22855645e6e83ed92b69d3331034db48 100644 (file)
@@ -127,11 +127,21 @@ const struct krb5_keytypes krb5_enctypes_list[] = {
       &krb5int_enc_aes128, &krb5int_hash_sha1,
       krb5int_aes_encrypt_length, krb5int_aes_dk_encrypt, krb5int_aes_dk_decrypt,
       krb5int_aes_string_to_key },
+    { ENCTYPE_AES128_CTS_HMAC_SHA1_96, /* alias */
+      "aes128-cts", "AES-128 CTS mode with 96-bit SHA-1 HMAC",
+      &krb5int_enc_aes128, &krb5int_hash_sha1,
+      krb5int_aes_encrypt_length, krb5int_aes_dk_encrypt, krb5int_aes_dk_decrypt,
+      krb5int_aes_string_to_key },
     { ENCTYPE_AES256_CTS_HMAC_SHA1_96,
       "aes256-cts-hmac-sha1-96", "AES-256 CTS mode with 96-bit SHA-1 HMAC",
       &krb5int_enc_aes256, &krb5int_hash_sha1,
       krb5int_aes_encrypt_length, krb5int_aes_dk_encrypt, krb5int_aes_dk_decrypt,
       krb5int_aes_string_to_key },
+    { ENCTYPE_AES256_CTS_HMAC_SHA1_96, /* alias */
+      "aes256-cts", "AES-256 CTS mode with 96-bit SHA-1 HMAC",
+      &krb5int_enc_aes256, &krb5int_hash_sha1,
+      krb5int_aes_encrypt_length, krb5int_aes_dk_encrypt, krb5int_aes_dk_decrypt,
+      krb5int_aes_string_to_key },
 
 #ifdef ATHENA_DES3_KLUDGE
     /*