summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md4
diff options
context:
space:
mode:
authorjsing <>2016-12-21 15:49:29 +0000
committerjsing <>2016-12-21 15:49:29 +0000
commit18adabd97858ed28289c9dc31e8042c515840be4 (patch)
treedc6bf9e697be4171031836e4b004f8c6c396b66c /src/lib/libcrypto/md4
parentdc4cc737fb85885279df4f5d19a14d950dfa5b34 (diff)
downloadopenbsd-18adabd97858ed28289c9dc31e8042c515840be4.tar.gz
openbsd-18adabd97858ed28289c9dc31e8042c515840be4.tar.bz2
openbsd-18adabd97858ed28289c9dc31e8042c515840be4.zip
Explicitly export a list of symbols from libcrypto.
Move the "internal" BN functions from bn.h to bn_lcl.h and stop exporting the bn_* symbols. These are documented as only being intended for internal use, so why they were placed in a public header is beyond me... This hides 363 previously exported symbols, most of which exist in headers that are not installed and were never intended to be public. This also removes a few crusty old things that should have died long ago (like _ossl_old_des_read_pw). But don't worry... there are still 3451 symbols exported from the library. With input and testing from inoguchi@. ok beck@ inoguchi@
Diffstat (limited to 'src/lib/libcrypto/md4')
-rw-r--r--src/lib/libcrypto/md4/md4_locl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/md4/md4_locl.h b/src/lib/libcrypto/md4/md4_locl.h
index ef574c040d..6cf69ded82 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.9 2015/09/14 01:45:03 doug Exp $ */ 1/* $OpenBSD: md4_locl.h,v 1.10 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 *
@@ -61,8 +61,12 @@
61#include <openssl/opensslconf.h> 61#include <openssl/opensslconf.h>
62#include <openssl/md4.h> 62#include <openssl/md4.h>
63 63
64__BEGIN_HIDDEN_DECLS
65
64void md4_block_data_order (MD4_CTX *c, const void *p,size_t num); 66void md4_block_data_order (MD4_CTX *c, const void *p,size_t num);
65 67
68__END_HIDDEN_DECLS
69
66#define DATA_ORDER_IS_LITTLE_ENDIAN 70#define DATA_ORDER_IS_LITTLE_ENDIAN
67 71
68#define HASH_LONG MD4_LONG 72#define HASH_LONG MD4_LONG