summaryrefslogtreecommitdiffstats
path: root/crypto/mdc2/mdc2.h
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-02-03 19:22:01 +0100
committerUlf Möller <ulf@openssl.org>2000-02-03 19:22:01 +0100
commit9dbc41d7eed7d69da54dc81082794845c50ad482 (patch)
tree3c59e6df13deb5eed99501dc7fffac681fb7e1eb /crypto/mdc2/mdc2.h
parentAdd new -notext option to 'ca', -pubkey option to spkac. (diff)
downloadopenssl-9dbc41d7eed7d69da54dc81082794845c50ad482.tar.xz
openssl-9dbc41d7eed7d69da54dc81082794845c50ad482.zip
Document hash functions.
Diffstat (limited to 'crypto/mdc2/mdc2.h')
-rw-r--r--crypto/mdc2/mdc2.h5
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
}