Replace Decryptor CRTP base with a concept.
Chaos Ci / test (push) Successful in 3m4s
Chaos Ci / benchmark (push) Successful in 1m31s

This commit is contained in:
hashlag
2026-09-06 02:45:45 +03:00
parent 2c6a24197a
commit 3dacd57fef
3 changed files with 28 additions and 43 deletions
+3 -1
View File
@@ -281,7 +281,7 @@ public:
static_assert(Chaos::Cipher::Block::Encryptor<Encryptor>);
class Decryptor : public Chaos::Cipher::Block::Decryptor<Decryptor>
class Decryptor
{
public:
using Block = DesCrypt::Block;
@@ -327,6 +327,8 @@ public:
Inner_::KeySchedule Schedule_;
};
static_assert(Chaos::Cipher::Block::Decryptor<Decryptor>);
private:
using BlockHalf = uint32_t;
using RawBlockArray = Service::SeArray<uint8_t, 8>;