aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-20 10:49:31 +0000
committerlloyd <[email protected]>2008-06-20 10:49:31 +0000
commit850af952f95a3115e509ebd0aa6689a1d2e9c810 (patch)
treef8933b074f00ddd1fdba746e9cc1d3ad5d96e9c8 /include
parenta2700f470482680d4f99b3b519af0a1ccfd53bfd (diff)
Pass RNG& to IF (RSA/RW) load hooks
Diffstat (limited to 'include')
-rw-r--r--include/if_algo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/if_algo.h b/include/if_algo.h
index 5f5fa4ce2..2df8723a4 100644
--- a/include/if_algo.h
+++ b/include/if_algo.h
@@ -28,7 +28,7 @@ class BOTAN_DLL IF_Scheme_PublicKey : public virtual Public_Key
X509_Encoder* x509_encoder() const;
X509_Decoder* x509_decoder();
protected:
- virtual void X509_load_hook();
+ virtual void X509_load_hook(RandomNumberGenerator&);
BigInt n, e;
IF_Core core;
};
@@ -49,7 +49,7 @@ class BOTAN_DLL IF_Scheme_PrivateKey : public virtual IF_Scheme_PublicKey,
PKCS8_Encoder* pkcs8_encoder() const;
PKCS8_Decoder* pkcs8_decoder();
protected:
- virtual void PKCS8_load_hook(bool = false);
+ virtual void PKCS8_load_hook(RandomNumberGenerator&, bool = false);
BigInt d, p, q, d1, d2, c;
};