Cleared initialization warning related to use of brackets
parent
b2820c28d3
commit
1f0c35e669
2
rw.cpp
2
rw.cpp
|
|
@ -202,7 +202,7 @@ Integer InvertibleRWFunction::CalculateInverse(RandomNumberGenerator &rng, const
|
||||||
Integer re = modn.Square(r);
|
Integer re = modn.Square(r);
|
||||||
re = modn.Multiply(re, x); // blind
|
re = modn.Multiply(re, x); // blind
|
||||||
|
|
||||||
const Integer &h = re, &p = m_p, &q = m_q, &n = m_n;
|
const Integer &h = re, &p = m_p, &q = m_q;
|
||||||
Integer e, f;
|
Integer e, f;
|
||||||
|
|
||||||
const Integer U = modq.Exponentiate(h, (q+1)/8);
|
const Integer U = modq.Exponentiate(h, (q+1)/8);
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@
|
||||||
#include "modes.h"
|
#include "modes.h"
|
||||||
#include "gf256.h"
|
#include "gf256.h"
|
||||||
|
|
||||||
|
#if GCC_DIAGNOSTIC_AWARE
|
||||||
|
# pragma GCC diagnostic ignored "-Wmissing-braces"
|
||||||
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
static word64 SHARKTransform(word64 a)
|
static word64 SHARKTransform(word64 a)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include "shark.h"
|
#include "shark.h"
|
||||||
|
|
||||||
|
#if GCC_DIAGNOSTIC_AWARE
|
||||||
|
# pragma GCC diagnostic ignored "-Wmissing-braces"
|
||||||
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
const byte SHARK::Enc::sbox[256] = {
|
const byte SHARK::Enc::sbox[256] = {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "gf256.h"
|
#include "gf256.h"
|
||||||
|
|
||||||
|
#if GCC_DIAGNOSTIC_AWARE
|
||||||
|
# pragma GCC diagnostic ignored "-Wmissing-braces"
|
||||||
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
// apply theta to a roundkey
|
// apply theta to a roundkey
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,10 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include "twofish.h"
|
#include "twofish.h"
|
||||||
|
|
||||||
|
#if GCC_DIAGNOSTIC_AWARE
|
||||||
|
# pragma GCC diagnostic ignored "-Wmissing-braces"
|
||||||
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
const byte Twofish::Base::q[2][256] = {
|
const byte Twofish::Base::q[2][256] = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue