summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md5/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/md5/md5.h')
-rw-r--r--src/lib/libcrypto/md5/md5.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/md5/md5.h b/src/lib/libcrypto/md5/md5.h
index 7cc703ac11..66e52ce227 100644
--- a/src/lib/libcrypto/md5/md5.h
+++ b/src/lib/libcrypto/md5/md5.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: md5.h,v 1.14 2014/06/12 15:49:29 deraadt Exp $ */ 1/* $OpenBSD: md5.h,v 1.15 2014/06/14 10:28:31 avsm Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -100,9 +100,11 @@ typedef struct MD5state_st
100 } MD5_CTX; 100 } MD5_CTX;
101 101
102int MD5_Init(MD5_CTX *c); 102int MD5_Init(MD5_CTX *c);
103int MD5_Update(MD5_CTX *c, const void *data, size_t len); 103int MD5_Update(MD5_CTX *c, const void *data, size_t len)
104 __attribute__ ((__bounded__(__buffer__,2,3)));
104int MD5_Final(unsigned char *md, MD5_CTX *c); 105int MD5_Final(unsigned char *md, MD5_CTX *c);
105unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md); 106unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
107 __attribute__ ((__bounded__(__buffer__,1,2)));
106void MD5_Transform(MD5_CTX *c, const unsigned char *b); 108void MD5_Transform(MD5_CTX *c, const unsigned char *b);
107#ifdef __cplusplus 109#ifdef __cplusplus
108} 110}