From f02fe214c3029625e31746f943b0d703a30d6955 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 9 May 1990 14:39:26 +0000 Subject: [PATCH] update signatures for encrypt_func, decrypt_func, sum_func git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@799 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/encryption.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/include/krb5/encryption.h b/src/include/krb5/encryption.h index aee9c2181..1c1c86606 100644 --- a/src/include/krb5/encryption.h +++ b/src/include/krb5/encryption.h @@ -6,7 +6,7 @@ * Copyright 1989,1990 by the Massachusetts Institute of Technology. * * For copying and distribution information, please see the file - * . + * . * * Encryption interface-related declarations */ @@ -40,11 +40,13 @@ typedef struct _krb5_cryptosystem_entry { krb5_error_code (*encrypt_func) PROTOTYPE((const krb5_pointer /* in */, krb5_pointer /* out */, const size_t, - krb5_encrypt_block *)); + krb5_encrypt_block *, + krb5_pointer)); krb5_error_code (*decrypt_func) PROTOTYPE((const krb5_pointer /* in */, krb5_pointer /* out */, const size_t, - krb5_encrypt_block *)); + krb5_encrypt_block *, + krb5_pointer)); krb5_error_code (*process_key) PROTOTYPE((krb5_encrypt_block *, const krb5_keyblock *)); krb5_error_code (*finish_key) PROTOTYPE((krb5_encrypt_block *)); @@ -76,10 +78,9 @@ typedef struct _krb5_cs_table_entry { /* could be used in a table to find a sumtype */ typedef struct _krb5_checksum_entry { krb5_error_code (*sum_func) PROTOTYPE ((krb5_pointer /* in */, - krb5_pointer /* out */, - krb5_pointer /* seed */, size_t /* in_length */, - size_t /* seed_length */, + krb5_pointer /* key/seed */, + size_t /* key/seed size */, krb5_checksum * /* out_cksum */)); int checksum_length; /* length of stuff returned by sum_func */ -- 2.26.2