DesCrypt KeySchedule: delete move,copy * constructor,operator.
This commit is contained in:
1 parent
5ba326aa5a
commit
78836e4b75
1 file changed
+6
@@ -114,6 +114,12 @@ public:
|
|||||||
Decrypt
|
Decrypt
|
||||||
};
|
};
|
||||||
|
|
||||||
|
KeySchedule(const KeySchedule & other) = delete;
|
||||||
|
KeySchedule(KeySchedule && other) = delete;
|
||||||
|
|
||||||
|
KeySchedule & operator=(const KeySchedule & other) = delete;
|
||||||
|
KeySchedule & operator=(KeySchedule && other) = delete;
|
||||||
|
|
||||||
KeySchedule(Direction direction, const RawKey & rawKey)
|
KeySchedule(Direction direction, const RawKey & rawKey)
|
||||||
{
|
{
|
||||||
Key56 key56 = Pc1(Bitwise::PackUInt64(rawKey.Begin(), rawKey.End()));
|
Key56 key56 = Pc1(Bitwise::PackUInt64(rawKey.Begin(), rawKey.End()));
|
||||||
|
|||||||
Reference in new issue
Block a user