From: John Kohl Date: Thu, 28 Dec 1989 16:47:06 +0000 (+0000) Subject: add entries for string_to_key, random_key, proto_enctype X-Git-Tag: krb5-1.0-alpha2~1314 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6cfc1b17e8a7a0891d31d2602d176cbaea079055;p=krb5.git 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 --- 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 {