EcbMode:Encryptor: delete move,copy * constructor,operator.
This commit is contained in:
1 parent
8e08aad6ba
commit
ba47480cb2
1 file changed
+6
@@ -30,6 +30,12 @@ public:
|
|||||||
class Encryptor
|
class Encryptor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Encryptor(const Encryptor & other) = delete;
|
||||||
|
Encryptor(Encryptor && other) = delete;
|
||||||
|
|
||||||
|
Encryptor & operator=(const Encryptor & other) = delete;
|
||||||
|
Encryptor & operator=(Encryptor && other) = delete;
|
||||||
|
|
||||||
Encryptor(const typename CipherT::Key & key)
|
Encryptor(const typename CipherT::Key & key)
|
||||||
: Encryptor_(key)
|
: Encryptor_(key)
|
||||||
, BlockBytesPacked_(0)
|
, BlockBytesPacked_(0)
|
||||||
|
|||||||
Reference in new issue
Block a user