diff options
| author | jsing <> | 2016-12-21 15:49:29 +0000 |
|---|---|---|
| committer | jsing <> | 2016-12-21 15:49:29 +0000 |
| commit | b0083b858b1b84b8b19bc553faa582079dda96ae (patch) | |
| tree | dc6bf9e697be4171031836e4b004f8c6c396b66c /src/lib/libcrypto/camellia | |
| parent | 2bf82d6a2f5736c3b836867840e3ec84075634ca (diff) | |
| download | openbsd-b0083b858b1b84b8b19bc553faa582079dda96ae.tar.gz openbsd-b0083b858b1b84b8b19bc553faa582079dda96ae.tar.bz2 openbsd-b0083b858b1b84b8b19bc553faa582079dda96ae.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/camellia')
| -rw-r--r-- | src/lib/libcrypto/camellia/cmll_locl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/camellia/cmll_locl.h b/src/lib/libcrypto/camellia/cmll_locl.h index 8a4f540fbc..325b6e2d6f 100644 --- a/src/lib/libcrypto/camellia/cmll_locl.h +++ b/src/lib/libcrypto/camellia/cmll_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cmll_locl.h,v 1.5 2014/11/13 20:01:58 miod Exp $ */ | 1 | /* $OpenBSD: cmll_locl.h,v 1.6 2016/12/21 15:49:29 jsing Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . | 3 | * Copyright 2006 NTT (Nippon Telegraph and Telephone Corporation) . |
| 4 | * ALL RIGHTS RESERVED. | 4 | * ALL RIGHTS RESERVED. |
| @@ -68,6 +68,8 @@ | |||
| 68 | #ifndef HEADER_CAMELLIA_LOCL_H | 68 | #ifndef HEADER_CAMELLIA_LOCL_H |
| 69 | #define HEADER_CAMELLIA_LOCL_H | 69 | #define HEADER_CAMELLIA_LOCL_H |
| 70 | 70 | ||
| 71 | __BEGIN_HIDDEN_DECLS | ||
| 72 | |||
| 71 | typedef unsigned int u32; | 73 | typedef unsigned int u32; |
| 72 | typedef unsigned char u8; | 74 | typedef unsigned char u8; |
| 73 | 75 | ||
| @@ -82,4 +84,6 @@ void Camellia_EncryptBlock(int keyBitLength, const u8 plaintext[], | |||
| 82 | void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[], | 84 | void Camellia_DecryptBlock(int keyBitLength, const u8 ciphertext[], |
| 83 | const KEY_TABLE_TYPE keyTable, u8 plaintext[]); | 85 | const KEY_TABLE_TYPE keyTable, u8 plaintext[]); |
| 84 | 86 | ||
| 87 | __END_HIDDEN_DECLS | ||
| 88 | |||
| 85 | #endif /* #ifndef HEADER_CAMELLIA_LOCL_H */ | 89 | #endif /* #ifndef HEADER_CAMELLIA_LOCL_H */ |
