summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md4
diff options
context:
space:
mode:
authorbcook <>2014-10-20 13:06:54 +0000
committerbcook <>2014-10-20 13:06:54 +0000
commitdd4273fba31ef60efe2d1cd25f9ae3f3aa30d3ed (patch)
tree9f1b71bdf20f33992bbc4fa9ce82f07ec687ade8 /src/lib/libcrypto/md4
parent514ab254d4a55f1937d1cb4e94c49f7819060f3e (diff)
downloadopenbsd-dd4273fba31ef60efe2d1cd25f9ae3f3aa30d3ed.tar.gz
openbsd-dd4273fba31ef60efe2d1cd25f9ae3f3aa30d3ed.tar.bz2
openbsd-dd4273fba31ef60efe2d1cd25f9ae3f3aa30d3ed.zip
digests: *_LONG_LOG2 is not used, stop talking about it.
Modified patch from Dmitry Eremin-Solenikov leave the sole public define in ripemd.h ok deraadt@ miod@
Diffstat (limited to 'src/lib/libcrypto/md4')
-rw-r--r--src/lib/libcrypto/md4/md4.h5
-rw-r--r--src/lib/libcrypto/md4/md4_locl.h6
2 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/libcrypto/md4/md4.h b/src/lib/libcrypto/md4/md4.h
index 39ee8f5841..5d9b787a28 100644
--- a/src/lib/libcrypto/md4/md4.h
+++ b/src/lib/libcrypto/md4/md4.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: md4.h,v 1.13 2014/07/10 22:45:57 jsing Exp $ */ 1/* $OpenBSD: md4.h,v 1.14 2014/10/20 13:06:54 bcook 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 *
@@ -73,8 +73,7 @@ extern "C" {
73 73
74/* 74/*
75 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 75 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
76 * ! MD4_LONG has to be at least 32 bits wide. If it's wider, then ! 76 * ! MD4_LONG has to be at least 32 bits wide. !
77 * ! MD4_LONG_LOG2 has to be defined along. !
78 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 77 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
79 */ 78 */
80 79
diff --git a/src/lib/libcrypto/md4/md4_locl.h b/src/lib/libcrypto/md4/md4_locl.h
index bfc45727ac..efe0ec83a7 100644
--- a/src/lib/libcrypto/md4/md4_locl.h
+++ b/src/lib/libcrypto/md4/md4_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: md4_locl.h,v 1.6 2014/08/18 19:11:48 bcook Exp $ */ 1/* $OpenBSD: md4_locl.h,v 1.7 2014/10/20 13:06:54 bcook 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 *
@@ -61,10 +61,6 @@
61#include <openssl/opensslconf.h> 61#include <openssl/opensslconf.h>
62#include <openssl/md4.h> 62#include <openssl/md4.h>
63 63
64#ifndef MD4_LONG_LOG2
65#define MD4_LONG_LOG2 2 /* default to 32 bits */
66#endif
67
68void md4_block_data_order (MD4_CTX *c, const void *p,size_t num); 64void md4_block_data_order (MD4_CTX *c, const void *p,size_t num);
69 65
70#define DATA_ORDER_IS_LITTLE_ENDIAN 66#define DATA_ORDER_IS_LITTLE_ENDIAN