=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/rmd160.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/include/rmd160.h 2003/08/01 17:38:33 1.10 +++ src/include/rmd160.h 2003/10/07 22:17:27 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: rmd160.h,v 1.10 2003/08/01 17:38:33 avsm Exp $ */ +/* $OpenBSD: rmd160.h,v 1.11 2003/10/07 22:17:27 avsm Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -36,13 +36,20 @@ __BEGIN_DECLS void RMD160Init(RMD160_CTX *); -void RMD160Transform(u_int32_t [5], const u_char [64]); -void RMD160Update(RMD160_CTX *, const u_char *, u_int32_t); -void RMD160Final(u_char [20], RMD160_CTX *); -char *RMD160End(RMD160_CTX *, char *); -char *RMD160File(char *, char *); +void RMD160Transform(u_int32_t [5], const u_char [64]) + __attribute__((__bounded__(__minbytes__,1,5))) + __attribute__((__bounded__(__minbytes__,2,64))); +void RMD160Update(RMD160_CTX *, const u_char *, u_int32_t) + __attribute__((__bounded__(__string__,2,3))); +void RMD160Final(u_char [20], RMD160_CTX *) + __attribute__((__bounded__(__minbytes__,1,20))); +char *RMD160End(RMD160_CTX *, char *) + __attribute__((__bounded__(__minbytes__,2,41))); +char *RMD160File(char *, char *) + __attribute__((__bounded__(__minbytes__,2,41))); char *RMD160Data(const u_char *, size_t, char *) - __attribute__((__bounded__(__string__,3,2))); + __attribute__((__bounded__(__string__,1,2))) + __attribute__((__bounded__(__minbytes__,3,41))); __END_DECLS #endif /* _RMD160_H */