summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ripemd/ripemd.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/ripemd/ripemd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ripemd/ripemd.h b/src/lib/libcrypto/ripemd/ripemd.h
index 03ba781c4f..5925083c0c 100644
--- a/src/lib/libcrypto/ripemd/ripemd.h
+++ b/src/lib/libcrypto/ripemd/ripemd.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ripemd.h,v 1.15 2023/07/08 06:52:56 jsing Exp $ */ 1/* $OpenBSD: ripemd.h,v 1.16 2024/06/01 07:36:16 tb 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 *
@@ -93,9 +93,12 @@ typedef struct RIPEMD160state_st {
93 93
94int RIPEMD160_Init(RIPEMD160_CTX *c); 94int RIPEMD160_Init(RIPEMD160_CTX *c);
95int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); 95int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len);
96 __attribute__ ((__bounded__(__buffer__, 2, 3)));
96int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 97int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
97unsigned char *RIPEMD160(const unsigned char *d, size_t n, 98unsigned char *RIPEMD160(const unsigned char *d, size_t n,
98 unsigned char *md); 99 unsigned char *md)
100 __attribute__ ((__nonnull__(3)))
101 __attribute__ ((__bounded__(__buffer__, 1, 2)));
99void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); 102void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
100#ifdef __cplusplus 103#ifdef __cplusplus
101} 104}