GCryptLib: Fix include paths

This commit is contained in:
Leonetienne
2022-05-16 22:35:28 +02:00
parent 9432325b4a
commit 7fe9dcc6dc
16 changed files with 483 additions and 455 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#include "SecureBitset.h"
#include "Config.h"
#include "GCrypt/SecureBitset.h"
#include "GCrypt/Config.h"
namespace Leonetienne::GCrypt {
typedef SecureBitset<BLOCK_SIZE> Block;

View File

@@ -1,6 +1,6 @@
#pragma once
#include "Feistel.h"
#include "Flexblock.h"
#include "GCrypt/Feistel.h"
#include "GCrypt/Flexblock.h"
namespace Leonetienne::GCrypt {
/** Class to apply a block cipher to messages of arbitrary length in a distributed manner

View File

@@ -1,7 +1,7 @@
#pragma once
#include "Keyset.h"
#include "Block.h"
#include "Halfblock.h"
#include "GCrypt/Keyset.h"
#include "GCrypt/Block.h"
#include "GCrypt/Halfblock.h"
namespace Leonetienne::GCrypt {
/** Class to perform a feistel block chipher

View File

@@ -1,7 +1,7 @@
#pragma once
#include "SecureBitset.h"
#include <cstdint>
#include "Config.h"
#include "GCrypt/SecureBitset.h"
#include "GCrypt/Config.h"
namespace Leonetienne::GCrypt {
constexpr std::size_t HALFBLOCK_SIZE = (BLOCK_SIZE / 2);

View File

@@ -1,6 +1,6 @@
#pragma once
#include "Config.h"
#include "Block.h"
#include "GCrypt/Config.h"
#include "GCrypt/Block.h"
namespace Leonetienne::GCrypt {
/** Will create a sudo-random Block based on a seed

View File

@@ -1,7 +1,7 @@
#pragma once
#include <array>
#include "Block.h"
#include "Config.h"
#include "GCrypt/Block.h"
#include "GCrypt/Config.h"
namespace Leonetienne::GCrypt {
typedef std::array<Block, N_ROUNDS> Keyset;

View File

@@ -3,12 +3,12 @@
#include <sstream>
#include <fstream>
#include <cstring>
#include "SecureBitset.h"
#include "Block.h"
#include "Flexblock.h"
#include "Config.h"
#include "Cipher.h"
#include "InitializationVector.h"
#include "GCrypt/SecureBitset.h"
#include "GCrypt/Block.h"
#include "GCrypt/Flexblock.h"
#include "GCrypt/Config.h"
#include "GCrypt/Cipher.h"
#include "GCrypt/InitializationVector.h"
namespace Leonetienne::GCrypt {
//! Mod-operator that works with negative values