summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/whrlpool/whrlpool.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/whrlpool/whrlpool.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/whrlpool/whrlpool.h b/src/lib/libcrypto/whrlpool/whrlpool.h
index 875d34f7d3..1b4fac1993 100644
--- a/src/lib/libcrypto/whrlpool/whrlpool.h
+++ b/src/lib/libcrypto/whrlpool/whrlpool.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: whrlpool.h,v 1.5 2014/07/10 22:45:58 jsing Exp $ */ 1/* $OpenBSD: whrlpool.h,v 1.6 2024/06/01 07:36:17 tb Exp $ */
2 2
3#include <stddef.h> 3#include <stddef.h>
4 4
@@ -28,10 +28,13 @@ typedef struct {
28 28
29#ifndef OPENSSL_NO_WHIRLPOOL 29#ifndef OPENSSL_NO_WHIRLPOOL
30int WHIRLPOOL_Init (WHIRLPOOL_CTX *c); 30int WHIRLPOOL_Init (WHIRLPOOL_CTX *c);
31int WHIRLPOOL_Update (WHIRLPOOL_CTX *c,const void *inp,size_t bytes); 31int WHIRLPOOL_Update (WHIRLPOOL_CTX *c,const void *inp,size_t bytes)
32 __attribute__ ((__bounded__(__buffer__, 2, 3)));
32void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *inp,size_t bits); 33void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *inp,size_t bits);
33int WHIRLPOOL_Final (unsigned char *md,WHIRLPOOL_CTX *c); 34int WHIRLPOOL_Final (unsigned char *md,WHIRLPOOL_CTX *c);
34unsigned char *WHIRLPOOL(const void *inp,size_t bytes,unsigned char *md); 35unsigned char *WHIRLPOOL(const void *inp,size_t bytes,unsigned char *md)
36 __attribute__ ((__nonnull__(3)))
37 __attribute__ ((__bounded__(__buffer__, 1, 2)));
35#endif 38#endif
36 39
37#ifdef __cplusplus 40#ifdef __cplusplus