routines have a hint of which encryption type they should use.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4625
dc483132-0cff-0310-8789-
dd5450dbe970
Thu Nov 3 16:38:44 1994 Theodore Y. Ts'o (tytso@dcl)
+ * encryption.h (krb5_keyblock): Added a field to hold an
+ encryption type in the keyblock field --- so routines have
+ a hint of which encryption type they should use.
+
* error_def.h: Add support for the kv5m error table. (For magic
numbers.)
typedef struct _krb5_keyblock {
krb5_magic magic;
krb5_keytype keytype;
+ krb5_enctype enctype; /* hint of what encryption type to use */
int length;
krb5_octet *contents;
} krb5_keyblock;
#define ETYPE_DES_CBC_MD5 0x0003 /* DES cbc mode with RSA-MD5 */
#define ETYPE_RAW_DES_CBC 0x0004 /* Raw DES cbc mode */
+#define ETYPE_UNKNOWN 0x1FF /* Reserved local value */
+
#define CKSUMTYPE_CRC32 0x0001
#define CKSUMTYPE_RSA_MD4 0x0002
#define CKSUMTYPE_RSA_MD4_DES 0x0003