From 1ee8e35119a43cc9b038e5d4e312603b2ea64ce4 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 19 Nov 1997 05:23:11 +0000 Subject: [PATCH] * des.h: Clean up prototypes so they're sane and look a little nicer. The ivec parameter to pcbc_encrypt is now a C_Block FAR *, while the paremeters to quad_cksum have been re-ordered to match reality. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10296 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/kerberosIV/ChangeLog | 7 +++++++ src/include/kerberosIV/des.h | 21 ++++++++++++++------- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog index 8fc6ac0b9..c3b576574 100644 --- a/src/include/kerberosIV/ChangeLog +++ b/src/include/kerberosIV/ChangeLog @@ -1,3 +1,10 @@ +Tue Nov 18 23:37:54 1997 Tom Yu + + * des.h: Clean up prototypes so they're sane and look a little + nicer. The ivec parameter to pcbc_encrypt is now a C_Block FAR *, + while the paremeters to quad_cksum have been re-ordered to match + reality. + Mon Oct 27 01:04:24 1997 Tom Yu * des.h: Replace KRB_INT32 with DES_INT32 to avoid temptation to diff --git a/src/include/kerberosIV/des.h b/src/include/kerberosIV/des.h index 9a6312eea..43c673ea1 100644 --- a/src/include/kerberosIV/des.h +++ b/src/include/kerberosIV/des.h @@ -119,14 +119,21 @@ typedef struct des_ks_struct bit_64; * Function Prototypes */ -KRB5_DLLIMP int KRB5_CALLCONV des_key_sched +KRB5_DLLIMP int KRB5_CALLCONV +des_key_sched PROTOTYPE((C_Block, Key_schedule)); -KRB5_DLLIMP int KRB5_CALLCONV des_pcbc_encrypt + +KRB5_DLLIMP int KRB5_CALLCONV +des_pcbc_encrypt PROTOTYPE((C_Block FAR *in, C_Block FAR *out, long length, - Key_schedule, C_Block FAR *ivec, int encrypt)); -KRB5_DLLIMP unsigned long KRB5_CALLCONV des_quad_cksum - PROTOTYPE((C_Block FAR *seed, unsigned char FAR *in, - unsigned KRB4_32 FAR *out, int out_count, long length)); -KRB5_DLLIMP int KRB5_CALLCONV des_string_to_key + Key_schedule schedule, C_Block FAR *ivec, int encrypt)); + +KRB5_DLLIMP unsigned long KRB5_CALLCONV +des_quad_cksum + PROTOTYPE((unsigned char FAR *in, unsigned KRB4_32 FAR *out, + long length, int out_count, C_Block FAR *seed)); + +KRB5_DLLIMP int KRB5_CALLCONV +des_string_to_key PROTOTYPE((char FAR *, C_Block)); #endif /* DES_DEFS */ -- 2.26.2