summaryrefslogtreecommitdiff
path: root/lib/libcrypto/ripemd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/ripemd')
-rw-r--r--lib/libcrypto/ripemd/rmd_locl.h7
-rw-r--r--lib/libcrypto/ripemd/rmdconst.h6
2 files changed, 10 insertions, 3 deletions
diff --git a/lib/libcrypto/ripemd/rmd_locl.h b/lib/libcrypto/ripemd/rmd_locl.h
index 54cce5b6453..f38b101cc69 100644
--- a/lib/libcrypto/ripemd/rmd_locl.h
+++ b/lib/libcrypto/ripemd/rmd_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmd_locl.h,v 1.12 2014/10/20 13:06:54 bcook Exp $ */
+/* $OpenBSD: rmd_locl.h,v 1.13 2016/12/21 15:49:29 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -72,8 +72,12 @@
# endif
#endif
+__BEGIN_HIDDEN_DECLS
+
void ripemd160_block_data_order (RIPEMD160_CTX *c, const void *p,size_t num);
+__END_HIDDEN_DECLS
+
#define DATA_ORDER_IS_LITTLE_ENDIAN
#define HASH_LONG RIPEMD160_LONG
@@ -143,4 +147,3 @@ void ripemd160_block_data_order (RIPEMD160_CTX *c, const void *p,size_t num);
a+=F5(b,c,d)+X(w)+K; \
a=ROTATE(a,s)+e; \
c=ROTATE(c,10); }
-
diff --git a/lib/libcrypto/ripemd/rmdconst.h b/lib/libcrypto/ripemd/rmdconst.h
index b36011cc44b..f34047f4ff3 100644
--- a/lib/libcrypto/ripemd/rmdconst.h
+++ b/lib/libcrypto/ripemd/rmdconst.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rmdconst.h,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */
+/* $OpenBSD: rmdconst.h,v 1.3 2016/12/21 15:49:29 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -55,6 +55,9 @@
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
+
+__BEGIN_HIDDEN_DECLS
+
#define KL0 0x00000000L
#define KL1 0x5A827999L
#define KL2 0x6ED9EBA1L
@@ -397,3 +400,4 @@
#define WR79 11
#define SR79 11
+__END_HIDDEN_DECLS