From 74379bc3334fdaf22a0690ae808cefb83f9f35cb Mon Sep 17 00:00:00 2001 From: John Kohl Date: Mon, 12 Feb 1990 17:08:50 +0000 Subject: [PATCH] add finish_random_key; rearrange order of init, finish, and random_key to make more sense. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@348 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/encryption.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/krb5/encryption.h b/src/include/krb5/encryption.h index a792bce85..9128bdc8d 100644 --- a/src/include/krb5/encryption.h +++ b/src/include/krb5/encryption.h @@ -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; -- 2.26.2