Now using a SecureBitset class that zeroes memory in dtor.

This commit is contained in:
Leonetienne
2021-12-13 14:40:29 +01:00
parent 1931602a38
commit 81bf6c7aee
11 changed files with 680 additions and 49 deletions

View File

@@ -1,10 +1,10 @@
#pragma once
#include <bitset>
#include "SecureBitset.h"
#include <cstdint>
#include "Config.h"
namespace GhettoCipher
{
constexpr std::size_t HALFBLOCK_SIZE = (BLOCK_SIZE / 2);
typedef std::bitset<HALFBLOCK_SIZE> Halfblock;
typedef SecureBitset<HALFBLOCK_SIZE> Halfblock;
}