DesCrypt::Encryptor: delete move,copy * constructor,operator.
This commit is contained in:
1 parent
90dafee249
commit
e9c7b16d34
1 file changed
+6
@@ -257,6 +257,12 @@ public:
|
|||||||
static constexpr size_t BlockSize = DesCrypt::BlockSize;
|
static constexpr size_t BlockSize = DesCrypt::BlockSize;
|
||||||
static constexpr size_t KeySize = DesCrypt::KeySize;
|
static constexpr size_t KeySize = DesCrypt::KeySize;
|
||||||
|
|
||||||
|
Encryptor(const Encryptor & other) = delete;
|
||||||
|
Encryptor(Encryptor && other) = delete;
|
||||||
|
|
||||||
|
Encryptor & operator=(const Encryptor & other) = delete;
|
||||||
|
Encryptor & operator=(Encryptor && other) = delete;
|
||||||
|
|
||||||
Encryptor(const Key & key)
|
Encryptor(const Key & key)
|
||||||
: Schedule_(Inner_::KeySchedule::Direction::Encrypt, key.Key_)
|
: Schedule_(Inner_::KeySchedule::Direction::Encrypt, key.Key_)
|
||||||
{ }
|
{ }
|
||||||
|
|||||||
Reference in new issue
Block a user