Namespacified

This commit is contained in:
Leonetienne
2021-12-06 02:20:47 +01:00
parent 5bcbe09922
commit 70425d94ef
17 changed files with 407 additions and 373 deletions

View File

@@ -2,6 +2,8 @@
#include <bitset>
#include "Config.h"
#define HALFBLOCK_SIZE (BLOCK_SIZE / 2)
typedef std::bitset<HALFBLOCK_SIZE> Halfblock;
namespace GhettoCipher
{
constexpr int HALFBLOCK_SIZE = (BLOCK_SIZE / 2);
typedef std::bitset<HALFBLOCK_SIZE> Halfblock;
}