diff options
Diffstat (limited to 'include/pbe_pkcs.h')
-rw-r--r-- | include/pbe_pkcs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/pbe_pkcs.h b/include/pbe_pkcs.h index a01f70e66..82f797b7b 100644 --- a/include/pbe_pkcs.h +++ b/include/pbe_pkcs.h @@ -24,10 +24,11 @@ class BOTAN_DLL PBE_PKCS5v15 : public PBE PBE_PKCS5v15(const std::string&, const std::string&, Cipher_Dir); private: void set_key(const std::string&); - void new_params(); + void new_params(RandomNumberGenerator& rng); MemoryVector<byte> encode_params() const; void decode_params(DataSource&); OID get_oid() const; + void flush_pipe(bool); const Cipher_Dir direction; const std::string digest, cipher; @@ -49,10 +50,11 @@ class BOTAN_DLL PBE_PKCS5v20 : public PBE PBE_PKCS5v20(const std::string&, const std::string&); private: void set_key(const std::string&); - void new_params(); + void new_params(RandomNumberGenerator& rng); MemoryVector<byte> encode_params() const; void decode_params(DataSource&); OID get_oid() const; + void flush_pipe(bool); bool known_cipher(const std::string&) const; |