diff options
Diffstat (limited to 'src/lib/block/lion/lion.h')
-rw-r--r-- | src/lib/block/lion/lion.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/block/lion/lion.h b/src/lib/block/lion/lion.h index 6ffaa9260..375d40232 100644 --- a/src/lib/block/lion/lion.h +++ b/src/lib/block/lion/lion.h @@ -37,15 +37,15 @@ class Lion final : public BlockCipher void clear() override; std::string name() const override; - BlockCipher* clone() const override; + std::unique_ptr<BlockCipher> new_object() const override; /** * @param hash the hash to use internally * @param cipher the stream cipher to use internally * @param block_size the size of the block to use */ - Lion(HashFunction* hash, - StreamCipher* cipher, + Lion(std::unique_ptr<HashFunction> hash, + std::unique_ptr<StreamCipher> cipher, size_t block_size); private: void key_schedule(const uint8_t[], size_t) override; |