aboutsummaryrefslogtreecommitdiffstats
path: root/include/pk_core.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-27 13:54:26 +0000
committerlloyd <[email protected]>2008-06-27 13:54:26 +0000
commitd1bc1ae91003bc10b46b0d1e38f0ac64080b4c81 (patch)
tree91ff95415bdff3aa8405b9ba377984d11e333b37 /include/pk_core.h
parent1b4a1cd7b3e74bd3d3c34c6c89721536a6fe3a27 (diff)
Split IF_Core constructor into two, one for public keys and one for private.
Public version doesn't need an RNG argument.
Diffstat (limited to 'include/pk_core.h')
-rw-r--r--include/pk_core.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/pk_core.h b/include/pk_core.h
index 78fc49314..d28e2315e 100644
--- a/include/pk_core.h
+++ b/include/pk_core.h
@@ -27,10 +27,13 @@ class BOTAN_DLL IF_Core
IF_Core() { op = 0; }
IF_Core(const IF_Core&);
+ IF_Core(const BigInt&, const BigInt&);
+
IF_Core(RandomNumberGenerator& rng,
const BigInt&, const BigInt&,
- const BigInt& = 0, const BigInt& = 0, const BigInt& = 0,
- const BigInt& = 0, const BigInt& = 0, const BigInt& = 0);
+ const BigInt&, const BigInt&, const BigInt&,
+ const BigInt&, const BigInt&, const BigInt&);
+
~IF_Core() { delete op; }
private:
IF_Operation* op;