add entries for string_to_key, random_key, proto_enctype
authorJohn Kohl <jtkohl@mit.edu>
Thu, 28 Dec 1989 16:47:06 +0000 (16:47 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 28 Dec 1989 16:47:06 +0000 (16:47 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@59 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/encryption.h

index 034dde2b7bc66ff9285bb4c8bc6e3f70f2bba109..3f0f8b94f03b7ea0aedeeb9cb967bafc90e88e32 100644 (file)
@@ -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 {