diff options
author | lloyd <[email protected]> | 2012-07-31 23:06:51 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-31 23:06:51 +0000 |
commit | 943c647e7d049a9b00261bbf34aa1443bca0ab02 (patch) | |
tree | 8720b3ac09169f01ed9fa5a74ed8914eb7afc5b4 /src/math/bigint/bigint.h | |
parent | 759a5cc81a59c5315144c332aea412213fc58960 (diff) |
Remove the mutable version of BigInt::get_reg
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) |