diff options
Diffstat (limited to 'src/engine/engine.h')
-rw-r--r-- | src/engine/engine.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/engine/engine.h b/src/engine/engine.h index 136fbeb23..a03a6e1ec 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -22,6 +22,7 @@ namespace Botan { class Algorithm_Factory; class Keyed_Filter; +class RandomNumberGenerator; /** * Base class for all engines. All non-pure virtual functions simply @@ -109,7 +110,7 @@ class BOTAN_DLL Engine * @return newly allocated operator object, or NULL */ virtual PK_Ops::Key_Agreement* - get_key_agreement_op(const Private_Key& key) const; + get_key_agreement_op(const Private_Key& key, RandomNumberGenerator& rng) const; /** * Return a new operator object for this key, if possible @@ -117,7 +118,7 @@ class BOTAN_DLL Engine * @return newly allocated operator object, or NULL */ virtual PK_Ops::Signature* - get_signature_op(const Private_Key& key) const; + get_signature_op(const Private_Key& key, RandomNumberGenerator& rng) const; /** * Return a new operator object for this key, if possible @@ -125,7 +126,7 @@ class BOTAN_DLL Engine * @return newly allocated operator object, or NULL */ virtual PK_Ops::Verification* - get_verify_op(const Public_Key& key) const; + get_verify_op(const Public_Key& key, RandomNumberGenerator& rng) const; /** * Return a new operator object for this key, if possible @@ -133,7 +134,7 @@ class BOTAN_DLL Engine * @return newly allocated operator object, or NULL */ virtual PK_Ops::Encryption* - get_encryption_op(const Public_Key& key) const; + get_encryption_op(const Public_Key& key, RandomNumberGenerator& rng) const; /** * Return a new operator object for this key, if possible @@ -141,7 +142,7 @@ class BOTAN_DLL Engine * @return newly allocated operator object, or NULL */ virtual PK_Ops::Decryption* - get_decryption_op(const Private_Key& key) const; + get_decryption_op(const Private_Key& key, RandomNumberGenerator& rng) const; }; } |