diff options
author | Ulf Möller <ulf@openssl.org> | 2000-02-03 19:22:01 +0100 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-02-03 19:22:01 +0100 |
commit | 9dbc41d7eed7d69da54dc81082794845c50ad482 (patch) | |
tree | 3c59e6df13deb5eed99501dc7fffac681fb7e1eb /crypto/mdc2/mdc2.h | |
parent | Add new -notext option to 'ca', -pubkey option to spkac. (diff) | |
download | openssl-9dbc41d7eed7d69da54dc81082794845c50ad482.tar.xz openssl-9dbc41d7eed7d69da54dc81082794845c50ad482.zip |
Document hash functions.
Diffstat (limited to 'crypto/mdc2/mdc2.h')
-rw-r--r-- | crypto/mdc2/mdc2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/mdc2/mdc2.h b/crypto/mdc2/mdc2.h index ec8e159fc9..00acd707cd 100644 --- a/crypto/mdc2/mdc2.h +++ b/crypto/mdc2/mdc2.h @@ -82,9 +82,10 @@ typedef struct mdc2_ctx_st void MDC2_Init(MDC2_CTX *c); -void MDC2_Update(MDC2_CTX *c, unsigned char *data, unsigned long len); +void MDC2_Update(MDC2_CTX *c, const unsigned char *data, unsigned long len); void MDC2_Final(unsigned char *md, MDC2_CTX *c); -unsigned char *MDC2(unsigned char *d, unsigned long n, unsigned char *md); +unsigned char *MDC2(const unsigned char *d, unsigned long n, + unsigned char *md); #ifdef __cplusplus } |