GCrypt/GhettoCrypt/Halfblock.h

11 lines
223 B
C
Raw Normal View History

2021-12-05 22:40:36 +01:00
#pragma once
#include "SecureBitset.h"
2021-12-06 13:22:48 +01:00
#include <cstdint>
2021-12-05 22:40:36 +01:00
#include "Config.h"
2021-12-06 02:20:47 +01:00
namespace GhettoCipher
{
2021-12-06 13:22:48 +01:00
constexpr std::size_t HALFBLOCK_SIZE = (BLOCK_SIZE / 2);
typedef SecureBitset<HALFBLOCK_SIZE> Halfblock;
2021-12-06 02:20:47 +01:00
}