summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1989-12-28 16:47:06 +0000
committerJohn Kohl <jtkohl@mit.edu>1989-12-28 16:47:06 +0000
commit6cfc1b17e8a7a0891d31d2602d176cbaea079055 (patch)
tree29dfe397fdade485692cd371d88f52e77eda21a0 /src/include/krb5
parent2fa22ba65833df1e34b5a37123bd7b0f3d8e0fa1 (diff)
downloadkrb5-6cfc1b17e8a7a0891d31d2602d176cbaea079055.tar.gz
krb5-6cfc1b17e8a7a0891d31d2602d176cbaea079055.tar.xz
krb5-6cfc1b17e8a7a0891d31d2602d176cbaea079055.zip
add entries for string_to_key, random_key, proto_enctype
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@59 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/encryption.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/krb5/encryption.h b/src/include/krb5/encryption.h
index 034dde2b7..3f0f8b94f 100644
--- a/src/include/krb5/encryption.h
+++ b/src/include/krb5/encryption.h
@@ -38,9 +38,15 @@ typedef struct _krb5_cryptosystem_entry {
krb5_encrypt_block *block */);
int (*process_key)(/* krb5_encrypt_block *block, krb5_keyblock *key */);
int (*finish_key)(/* krb5_encrypt_block *block */);
+ int (*string_to_key)(/* krb5_keytype keytype, krb5_keyblock *key,
+ char *string, krb5_principal *client */);
+ int (*random_key)(/* void *sequence */);
+ void * (*init_random_key)(/* krb5_keyblock *key */);
int block_length;
int pad_minimum; /* needed for cksum size computation */
int keysize;
+ krb5_enctype proto_enctype; /* encryption type,
+ (assigned protocol number) */
} krb5_cryptosystem_entry;
typedef struct _krb5_encrypt_block {