diff --git a/src/crypto/rfc3961/krb5_locl.h b/src/crypto/rfc3961/krb5_locl.h index 924dc89958..9684f5e97e 100644 --- a/src/crypto/rfc3961/krb5_locl.h +++ b/src/crypto/rfc3961/krb5_locl.h @@ -88,6 +88,11 @@ typedef enum krb5_keytype { KEYTYPE_ARCFOUR_56 = 24 } krb5_keytype; +#define KRB5_ENCTYPE_NULL KEYTYPE_NULL +#define KRB5_ENCTYPE_OLD_DES3_CBC_SHA1 KEYTYPE_DES3 +#define KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96 KEYTYPE_AES128 +#define KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96 KEYTYPE_AES256 + typedef struct krb5_salt { krb5_salttype salttype; krb5_data saltvalue; @@ -161,6 +166,10 @@ int krb5_data_ct_cmp(const krb5_data *, const krb5_data *); int der_copy_octet_string(const krb5_data *, krb5_data *); int copy_EncryptionKey(const krb5_keyblock *, krb5_keyblock *); int ct_memcmp(const void *p1, const void *p2, size_t len); +krb5_error_code krb5_enctype_to_string(krb5_context context, + krb5_enctype etype, + char **string); + #include "crypto.h" diff --git a/src/util/krb5_locl.h b/src/util/krb5_locl.h index f35ac1b647..086eac7a72 100644 --- a/src/util/krb5_locl.h +++ b/src/util/krb5_locl.h @@ -31,6 +31,8 @@ #define KRB5_LIB_FUNCTION static AFS_UNUSED #define KRB5_LIB_CALL +#define KRB5_DEPRECATED_FUNCTION(x) + /* This value shouldn't be hard coded */ #define KRB5_CONFIG_BADFORMAT (-1765328248L)