diff options
Diffstat (limited to 'src/math/bigint/bigint.h')
-rw-r--r-- | src/math/bigint/bigint.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/math/bigint/bigint.h b/src/math/bigint/bigint.h index 26cfe91e1..baf2bfc71 100644 --- a/src/math/bigint/bigint.h +++ b/src/math/bigint/bigint.h @@ -138,7 +138,8 @@ class BOTAN_DLL BigInt const word& operator[](size_t i) const { return m_reg[i]; } /** - * Zeroize the BigInt + * Zeroize the BigInt. The size of the underlying register is not + * modified. */ void clear() { zeroise(m_reg); } @@ -324,14 +325,6 @@ class BOTAN_DLL BigInt const word* data() const { return &m_reg[0]; } /** - * return a reference to the internal register containing the value - * @result a reference to the word-array (secure_vector<word>) - * with the internal register value (containing the integer - * value) - */ - secure_vector<word>& get_reg() { return m_reg; } - - /** * 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) |