add finish_random_key; rearrange order of init, finish, and random_key
authorJohn Kohl <jtkohl@mit.edu>
Mon, 12 Feb 1990 17:08:50 +0000 (17:08 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 12 Feb 1990 17:08:50 +0000 (17:08 +0000)
to make more sense.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@348 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/encryption.h

index a792bce85582e39887d15299460c8b0cd4def4c5..9128bdc8df02d40642d62ba08ca86e5f8b21d072 100644 (file)
@@ -51,10 +51,11 @@ typedef struct _krb5_cryptosystem_entry {
     krb5_error_code (*string_to_key) PROTOTYPE((krb5_keytype, krb5_keyblock *,
                                                krb5_data *,
                                                krb5_principal));
-    krb5_error_code (*random_key) PROTOTYPE((krb5_pointer,
-                                            krb5_keyblock **));
     krb5_error_code  (*init_random_key) PROTOTYPE((krb5_keyblock *,
                                                   krb5_pointer *));
+    krb5_error_code  (*finish_random_key) PROTOTYPE((krb5_pointer *));
+    krb5_error_code (*random_key) PROTOTYPE((krb5_pointer,
+                                            krb5_keyblock **));
     int block_length;
     int pad_minimum;                   /* needed for cksum size computation */
     int keysize;