summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ripemd
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ripemd')
-rw-r--r--src/lib/libcrypto/ripemd/rmd_locl.h7
-rw-r--r--src/lib/libcrypto/ripemd/rmdconst.h6
2 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ripemd/rmd_locl.h b/src/lib/libcrypto/ripemd/rmd_locl.h
index 54cce5b645..f38b101cc6 100644
--- a/src/lib/libcrypto/ripemd/rmd_locl.h
+++ b/src/lib/libcrypto/ripemd/rmd_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rmd_locl.h,v 1.12 2014/10/20 13:06:54 bcook Exp $ */ 1/* $OpenBSD: rmd_locl.h,v 1.13 2016/12/21 15:49:29 jsing 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 *
@@ -72,8 +72,12 @@
72# endif 72# endif
73#endif 73#endif
74 74
75__BEGIN_HIDDEN_DECLS
76
75void ripemd160_block_data_order (RIPEMD160_CTX *c, const void *p,size_t num); 77void ripemd160_block_data_order (RIPEMD160_CTX *c, const void *p,size_t num);
76 78
79__END_HIDDEN_DECLS
80
77#define DATA_ORDER_IS_LITTLE_ENDIAN 81#define DATA_ORDER_IS_LITTLE_ENDIAN
78 82
79#define HASH_LONG RIPEMD160_LONG 83#define HASH_LONG RIPEMD160_LONG
@@ -143,4 +147,3 @@ void ripemd160_block_data_order (RIPEMD160_CTX *c, const void *p,size_t num);
143 a+=F5(b,c,d)+X(w)+K; \ 147 a+=F5(b,c,d)+X(w)+K; \
144 a=ROTATE(a,s)+e; \ 148 a=ROTATE(a,s)+e; \
145 c=ROTATE(c,10); } 149 c=ROTATE(c,10); }
146
diff --git a/src/lib/libcrypto/ripemd/rmdconst.h b/src/lib/libcrypto/ripemd/rmdconst.h
index b36011cc44..f34047f4ff 100644
--- a/src/lib/libcrypto/ripemd/rmdconst.h
+++ b/src/lib/libcrypto/ripemd/rmdconst.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rmdconst.h,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */ 1/* $OpenBSD: rmdconst.h,v 1.3 2016/12/21 15:49:29 jsing 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 *
@@ -55,6 +55,9 @@
55 * copied and put under another distribution licence 55 * copied and put under another distribution licence
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58
59__BEGIN_HIDDEN_DECLS
60
58#define KL0 0x00000000L 61#define KL0 0x00000000L
59#define KL1 0x5A827999L 62#define KL1 0x5A827999L
60#define KL2 0x6ED9EBA1L 63#define KL2 0x6ED9EBA1L
@@ -397,3 +400,4 @@
397#define WR79 11 400#define WR79 11
398#define SR79 11 401#define SR79 11
399 402
403__END_HIDDEN_DECLS