summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 {