Add additional jumbling-up in feistel rounds

This commit is contained in:
Leonetienne
2022-05-26 02:44:22 +02:00
parent bc3dae96a3
commit 101a1e0fd6
2 changed files with 37 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ namespace Leonetienne::GCrypt {
private:
//! Will run the feistel rounds, with either regular key
//! order or reversed key order
Block Run(const Block& data, bool reverseKeys);
Block Run(const Block& data, bool modeEncrypt);
//! Arbitrary cipher function
static Halfblock F(Halfblock m, const Key& key);