-/* $OpenBSD: md4.h,v 1.18 2024/06/01 07:36:16 tb Exp $ */
+/* $OpenBSD: md4.h,v 1.19 2024/06/01 07:44:11 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
__attribute__ ((__bounded__(__buffer__, 2, 3)));
int MD4_Final(unsigned char *md, MD4_CTX *c);
unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md);
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
void MD4_Transform(MD4_CTX *c, const unsigned char *b);
#ifdef __cplusplus
}
-/* $OpenBSD: md5.h,v 1.22 2024/06/01 07:36:16 tb Exp $ */
+/* $OpenBSD: md5.h,v 1.23 2024/06/01 07:44:11 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
__attribute__ ((__bounded__(__buffer__, 2, 3)));
int MD5_Final(unsigned char *md, MD5_CTX *c);
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
void MD5_Transform(MD5_CTX *c, const unsigned char *b);
#ifdef __cplusplus
}
-/* $OpenBSD: ripemd.h,v 1.16 2024/06/01 07:36:16 tb Exp $ */
+/* $OpenBSD: ripemd.h,v 1.17 2024/06/01 07:44:11 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
unsigned char *RIPEMD160(const unsigned char *d, size_t n,
unsigned char *md)
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b);
#ifdef __cplusplus
}
-/* $OpenBSD: sha.h,v 1.23 2024/06/01 07:36:16 tb Exp $ */
+/* $OpenBSD: sha.h,v 1.24 2024/06/01 07:44:11 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
__attribute__ ((__bounded__(__buffer__, 2, 3)));
int SHA1_Final(unsigned char *md, SHA_CTX *c);
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
void SHA1_Transform(SHA_CTX *c, const unsigned char *data);
#endif
__attribute__ ((__bounded__(__buffer__, 2, 3)));
int SHA256_Final(unsigned char *md, SHA256_CTX *c);
unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md)
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
void SHA256_Transform(SHA256_CTX *c, const unsigned char *data);
#endif
__attribute__ ((__bounded__(__buffer__, 2, 3)));
int SHA384_Final(unsigned char *md, SHA512_CTX *c);
unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md)
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
int SHA512_Init(SHA512_CTX *c);
int SHA512_Update(SHA512_CTX *c, const void *data, size_t len)
__attribute__ ((__bounded__(__buffer__, 2, 3)));
int SHA512_Final(unsigned char *md, SHA512_CTX *c);
unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md)
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
void SHA512_Transform(SHA512_CTX *c, const unsigned char *data);
#endif
-/* $OpenBSD: whrlpool.h,v 1.6 2024/06/01 07:36:17 tb Exp $ */
+/* $OpenBSD: whrlpool.h,v 1.7 2024/06/01 07:44:11 tb Exp $ */
#include <stddef.h>
void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c,const void *inp,size_t bits);
int WHIRLPOOL_Final (unsigned char *md,WHIRLPOOL_CTX *c);
unsigned char *WHIRLPOOL(const void *inp,size_t bytes,unsigned char *md)
- __attribute__ ((__nonnull__(3)))
- __attribute__ ((__bounded__(__buffer__, 1, 2)));
+ __attribute__ ((__bounded__(__buffer__, 1, 2)))
+ __attribute__ ((__nonnull__(3)));
#endif
#ifdef __cplusplus