From: Ken Raeburn Date: Thu, 15 Mar 2001 04:45:18 +0000 (+0000) Subject: * shs.h: Stop using KRB5_PROTOTYPE X-Git-Tag: krb5-1.3-alpha1~1617 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=900e8d5c9e76c3f314256037a1115932814f853f;p=krb5.git * shs.h: Stop using KRB5_PROTOTYPE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13082 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/sha1/ChangeLog b/src/lib/crypto/sha1/ChangeLog index bf17bc7fa..4b0425dbe 100644 --- a/src/lib/crypto/sha1/ChangeLog +++ b/src/lib/crypto/sha1/ChangeLog @@ -1,3 +1,7 @@ +2001-03-14 Ken Raeburn + + * shs.h: Stop using KRB5_PROTOTYPE. + 2000-01-21 Ken Raeburn * shs.c (ROTL): Change (a&b|c) construct to make meaning clear, diff --git a/src/lib/crypto/sha1/shs.h b/src/lib/crypto/sha1/shs.h index 01acddb82..eb2cc46e9 100644 --- a/src/lib/crypto/sha1/shs.h +++ b/src/lib/crypto/sha1/shs.h @@ -31,21 +31,17 @@ typedef struct { } SHS_INFO; /* Message digest functions (shs.c) */ -void shsInit - KRB5_PROTOTYPE((SHS_INFO *shsInfo)); -void shsUpdate - KRB5_PROTOTYPE((SHS_INFO *shsInfo, BYTE *buffer, int count)); -void shsFinal - KRB5_PROTOTYPE((SHS_INFO *shsInfo)); +void shsInit(SHS_INFO *shsInfo); +void shsUpdate(SHS_INFO *shsInfo, BYTE *buffer, int count); +void shsFinal(SHS_INFO *shsInfo); /* Keyed Message digest functions (hmac_sha.c) */ -krb5_error_code hmac_sha - KRB5_PROTOTYPE((krb5_octet *text, +krb5_error_code hmac_sha(krb5_octet *text, int text_len, krb5_octet *key, int key_len, - krb5_octet *digest)); + krb5_octet *digest); #define NIST_SHA_CKSUM_LENGTH SHS_DIGESTSIZE