Gcryptlib: new brace style, and moved to Leonetienne namespace

This commit is contained in:
Leonetienne
2022-05-16 22:15:34 +02:00
parent c551f5fa64
commit acf9dea387
17 changed files with 917 additions and 901 deletions

View File

@@ -10,7 +10,7 @@
#include "Cipher.h"
#include "InitializationVector.h"
namespace GhettoCipher {
namespace Leonetienne::GCrypt {
//! Mod-operator that works with negative values
inline int Mod(const int numerator, const int denominator) {
return (denominator + (numerator % denominator)) % denominator;