diff options
author | lloyd <[email protected]> | 2008-06-20 10:38:08 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-20 10:38:08 +0000 |
commit | 4331395edf8e68b46e61fc00ddb5518fef8b36b5 (patch) | |
tree | 9307d278abe6065720359df390faef327a9a3d4f /include/elgamal.h | |
parent | 3b28d92a8a90f27f3da55db7afb47ea23e02cfc4 (diff) |
Pass a RandomNumberGenerator& to the PK_Core constructors and the various
public key object loading hooks.
Diffstat (limited to 'include/elgamal.h')
-rw-r--r-- | include/elgamal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/elgamal.h b/include/elgamal.h index e5de3f965..7cce0a73e 100644 --- a/include/elgamal.h +++ b/include/elgamal.h @@ -30,7 +30,7 @@ class BOTAN_DLL ElGamal_PublicKey : public PK_Encrypting_Key, protected: ELG_Core core; private: - void X509_load_hook(); + void X509_load_hook(RandomNumberGenerator&); }; /************************************************* @@ -49,7 +49,7 @@ class BOTAN_DLL ElGamal_PrivateKey : public ElGamal_PublicKey, ElGamal_PrivateKey(const DL_Group&, RandomNumberGenerator&); ElGamal_PrivateKey(const DL_Group&, const BigInt&, const BigInt& = 0); private: - void PKCS8_load_hook(bool = false); + void PKCS8_load_hook(RandomNumberGenerator&, bool = false); }; } |