From: Ken Raeburn Date: Tue, 13 May 2003 23:24:36 +0000 (+0000) Subject: provide shorthand aliases for AES enctypes X-Git-Tag: krb5-1.4-beta1~961 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1b6fe443a3d98f6f91609d654b7516641be3f605;p=krb5.git provide shorthand aliases for AES enctypes * 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 --- diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index a7a052f89..05d7023be 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -1,3 +1,8 @@ +2003-05-13 Ken Raeburn + + * etypes.c (krb5_enctypes_list): Add names aes128-cts and + aes256-cts as aliases. + 2003-05-13 Sam Hartman * t_encrypt.c: Add aes enctypes diff --git a/src/lib/crypto/etypes.c b/src/lib/crypto/etypes.c index da234070c..6c195e4b2 100644 --- a/src/lib/crypto/etypes.c +++ b/src/lib/crypto/etypes.c @@ -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 /*