aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/if_algo/if_algo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/if_algo/if_algo.h')
-rw-r--r--src/pubkey/if_algo/if_algo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pubkey/if_algo/if_algo.h b/src/pubkey/if_algo/if_algo.h
index 01e370854..cbcdb9c5c 100644
--- a/src/pubkey/if_algo/if_algo.h
+++ b/src/pubkey/if_algo/if_algo.h
@@ -68,7 +68,8 @@ class BOTAN_DLL IF_Scheme_PrivateKey : public virtual IF_Scheme_PublicKey,
const BigInt& exp, const BigInt& d_exp,
const BigInt& mod);
- IF_Scheme_PrivateKey(const AlgorithmIdentifier& alg_id,
+ IF_Scheme_PrivateKey(RandomNumberGenerator& rng,
+ const AlgorithmIdentifier& alg_id,
const MemoryRegion<byte>& key_bits);
bool check_key(RandomNumberGenerator& rng, bool) const;
@@ -96,7 +97,6 @@ class BOTAN_DLL IF_Scheme_PrivateKey : public virtual IF_Scheme_PublicKey,
protected:
IF_Scheme_PrivateKey() {}
- void PKCS8_load_hook(RandomNumberGenerator&, bool = false);
BigInt d, p, q, d1, d2, c;
};