aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/bigint/bigint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/bigint/bigint.h')
-rw-r--r--src/math/bigint/bigint.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/math/bigint/bigint.h b/src/math/bigint/bigint.h
index a74a5c280..81217d0bd 100644
--- a/src/math/bigint/bigint.h
+++ b/src/math/bigint/bigint.h
@@ -268,7 +268,7 @@ class BOTAN_DLL BigInt
* Give size of internal register
* @result size of internal register in words
*/
- size_t size() const { return get_reg().size(); }
+ size_t size() const { return m_reg.size(); }
/**
* Return how many words we need to hold this value
@@ -309,13 +309,6 @@ class BOTAN_DLL BigInt
const word* data() const { return &m_reg[0]; }
/**
- * return a const reference to the internal register containing the value
- * @result a const reference to the word-array (secure_vector<word>)
- * with the internal register value (containing the integer value)
- */
- const secure_vector<word>& get_reg() const { return m_reg; }
-
- /**
* Assign using a plain word array
*/
void assign(const word x[], size_t length)