aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/bigint/bigint.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-08-01 14:59:50 +0000
committerlloyd <[email protected]>2012-08-01 14:59:50 +0000
commit3a94c309c06537a8f2e07785b1cd3913e92cf44c (patch)
tree3709406bd1726a2c0c8c18bb8c7fe614ae451c25 /src/math/bigint/bigint.h
parent3e4ecea6915f4ceb3c0426cf6d179fcc078dd8df (diff)
Remove BigInt::assign
Diffstat (limited to 'src/math/bigint/bigint.h')
-rw-r--r--src/math/bigint/bigint.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/math/bigint/bigint.h b/src/math/bigint/bigint.h
index 4d3e37708..bf1e8bb0e 100644
--- a/src/math/bigint/bigint.h
+++ b/src/math/bigint/bigint.h
@@ -304,15 +304,6 @@ class BOTAN_DLL BigInt
const word* data() const { return &m_reg[0]; }
/**
- * Assign using a plain word array
- */
- void assign(const word x[], size_t length)
- {
- m_reg.resize(length);
- copy_mem(&m_reg[0], x, length);
- }
-
- /**
* Increase internal register buffer to at least n words
* @param n new size of register
*/
@@ -363,7 +354,6 @@ class BOTAN_DLL BigInt
const BigInt& min,
const BigInt& max);
-
/**
* Create a power of two
* @param n the power of two to create