From 1fef2f80503b31f6892f9f9c862910c2b6b32b0b Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 28 Feb 2017 10:08:51 +0000 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/2766) --- crypto/include/internal/bn_int.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'crypto/include') 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 -- cgit v1.2.3