From: John Kohl Date: Wed, 9 May 1990 14:39:26 +0000 (+0000) Subject: update signatures for encrypt_func, decrypt_func, sum_func X-Git-Tag: krb5-1.0-alpha2~606 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f02fe214c3029625e31746f943b0d703a30d6955;p=krb5.git update signatures for encrypt_func, decrypt_func, sum_func git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@799 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 */