Got rid of flexblocks

This commit is contained in:
Leonetienne
2022-05-26 15:47:24 +02:00
parent 143ec19bf3
commit e7c1e17e2c
14 changed files with 160 additions and 454 deletions

View File

@@ -10,6 +10,10 @@ namespace Leonetienne::GCrypt {
*/
class Feistel {
public:
//! Empty initializer. If you use this, you must call SetKey()!
Feistel();
//! Will initialize the feistel cipher with a key
explicit Feistel(const Key& key);
Feistel(const Feistel& other) = delete;
@@ -59,6 +63,8 @@ namespace Leonetienne::GCrypt {
void ZeroKeyMemory();
Keyset roundKeys;
bool isInitialized = false;
};
}