diff options
author | Matt Caswell <matt@openssl.org> | 2017-02-28 10:08:51 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-02-28 14:46:24 +0000 |
commit | 1fef2f80503b31f6892f9f9c862910c2b6b32b0b (patch) | |
tree | feb5a092b8a9317cfa42f5d8108e6cedf643dbc4 /crypto/include | |
parent | 2722ff506de5cbdf68ca39c233ddb6e2fc15aa37 (diff) |
Remove dead code in bn
There are a number of symbols in bn which are internal only and never used
by anything. They should be removed.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2766)
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/bn_int.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crypto/include/internal/bn_int.h b/crypto/include/internal/bn_int.h index 9c984ba781..ac49d1eab3 100644 --- a/crypto/include/internal/bn_int.h +++ b/crypto/include/internal/bn_int.h @@ -34,8 +34,6 @@ signed char *bn_compute_wNAF(const BIGNUM *scalar, int w, size_t *ret_len); int bn_get_top(const BIGNUM *a); -void bn_set_top(BIGNUM *a, int top); - int bn_get_dmax(const BIGNUM *a); /* Set all words to zero */ @@ -66,15 +64,6 @@ void bn_set_static_words(BIGNUM *a, BN_ULONG *words, int size); */ int bn_set_words(BIGNUM *a, BN_ULONG *words, int num_words); -size_t bn_sizeof_BIGNUM(void); - -/* - * Return element el from an array of BIGNUMs starting at base (required - * because callers do not know the size of BIGNUM at compilation time) - */ -BIGNUM *bn_array_el(BIGNUM *base, int el); - - #ifdef __cplusplus } #endif |