Skip to content

Instantly share code, notes, and snippets.

@rfjakob
Created January 8, 2016 09:07
Show Gist options
  • Save rfjakob/24584dde58bd3d4cea1e to your computer and use it in GitHub Desktop.
Save rfjakob/24584dde58bd3d4cea1e to your computer and use it in GitHub Desktop.
$ git clean -dxf
$ make &> build.log
make -C cryptopp static
make[1]: Entering directory '/home/jakob.donotbackup/securefs/cryptopp-5.6.2'
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c skipjack.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c osrng.cpp
In file included from osrng.h:12:0,
from osrng.cpp:9:
aes.h:9:34: warning: extra ‘;’ [-Wpedantic]
DOCUMENTED_TYPEDEF(Rijndael, AES);
^
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c gost.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c esign.cpp
In file included from pubkey.h:35:0,
from esign.h:9,
from esign.cpp:4:
modarith.h: In copy constructor ‘CryptoPP::ModularArithmetic::ModularArithmetic(const CryptoPP::ModularArithmetic&)’:
modarith.h:29:2: warning: base class ‘class CryptoPP::AbstractRing<CryptoPP::Integer>’ should be explicitly initialized in the copy constructor [-Wextra]
ModularArithmetic(const ModularArithmetic &ma)
^
In file included from esign.h:9:0,
from esign.cpp:4:
pubkey.h: In member function ‘CryptoPP::PK_MessageAccumulator* CryptoPP::DL_SignerImpl<SCHEME_OPTIONS>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const’:
pubkey.h:1343:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>);
^
In file included from /usr/include/c++/5.3.1/memory:81:0,
from stdcpp.h:14,
from cryptlib.h:83,
from modarith.h:6,
from pubkey.h:35,
from esign.h:9,
from esign.cpp:4:
/usr/include/c++/5.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
esign.cpp: In member function ‘virtual CryptoPP::Integer CryptoPP::InvertibleESIGNFunction::CalculateRandomizedInverse(CryptoPP::RandomNumberGenerator&, const CryptoPP::Integer&) const’:
esign.cpp:161:24: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
while ((w1 >> 2*GetK()+1).IsPositive());
^
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c randpool.cpp
In file included from randpool.cpp:12:0:
aes.h:9:34: warning: extra ‘;’ [-Wpedantic]
DOCUMENTED_TYPEDEF(Rijndael, AES);
^
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c sharkbox.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c base32.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c dessp.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c hex.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c seal.cpp
In file included from seal.h:4:0,
from seal.cpp:6:
seal.cpp: In instantiation of ‘void CryptoPP::SEAL_Policy<B>::OperateKeystream(CryptoPP::KeystreamOperation, byte*, const byte*, size_t) [with B = CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>; byte = unsigned char; size_t = long unsigned int]’:
seal.cpp:210:16: required from here
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:109:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:109:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:112:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:112:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:116:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_INPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:116:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_INPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:120:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_OUTPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:120:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_OUTPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:124:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:124:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:127:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_BOTH_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:127:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_BOTH_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
seal.cpp: In instantiation of ‘void CryptoPP::SEAL_Policy<B>::OperateKeystream(CryptoPP::KeystreamOperation, byte*, const byte*, size_t) [with B = CryptoPP::EnumToType<CryptoPP::ByteOrder, 0>; byte = unsigned char; size_t = long unsigned int]’:
seal.cpp:211:16: required from here
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:109:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:109:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:112:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:112:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:116:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_INPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:116:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_INPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:120:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_OUTPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:120:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_OUTPUT_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:124:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:124:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(WRITE_KEYSTREAM_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:176:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 0, b + m_S[4*i+0]);\
^
strciphr.h:127:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_BOTH_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
strciphr.h:100:91: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
PutWord(bool(x & OUTPUT_ALIGNED), b, output+i*sizeof(WordType), (x & INPUT_NULL) ? a : a ^ GetWord<WordType>(bool(x & INPUT_ALIGNED), b, input+i*sizeof(WordType)));
^
seal.cpp:178:2: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_WORD’
CRYPTOPP_KEYSTREAM_OUTPUT_WORD(x, B::ToEnum(), 2, d + m_S[4*i+2]);\
^
strciphr.h:127:4: note: in expansion of macro ‘SEAL_OUTPUT’
x(XOR_KEYSTREAM_BOTH_ALIGNED) \
^
seal.cpp:181:4: note: in expansion of macro ‘CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH’
CRYPTOPP_KEYSTREAM_OUTPUT_SWITCH(SEAL_OUTPUT, 4*4);
^
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c fips140.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c mars.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c dh2.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c dsa.cpp
In file included from pubkey.h:35:0,
from gfpcrypt.h:8,
from dsa.h:7,
from dsa.cpp:7:
modarith.h: In copy constructor ‘CryptoPP::ModularArithmetic::ModularArithmetic(const CryptoPP::ModularArithmetic&)’:
modarith.h:29:2: warning: base class ‘class CryptoPP::AbstractRing<CryptoPP::Integer>’ should be explicitly initialized in the copy constructor [-Wextra]
ModularArithmetic(const ModularArithmetic &ma)
^
In file included from gfpcrypt.h:8:0,
from dsa.h:7,
from dsa.cpp:7:
pubkey.h: In member function ‘CryptoPP::PK_MessageAccumulator* CryptoPP::DL_SignerImpl<SCHEME_OPTIONS>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const’:
pubkey.h:1343:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>);
^
In file included from /usr/include/c++/5.3.1/memory:81:0,
from stdcpp.h:14,
from cryptlib.h:83,
from modarith.h:6,
from pubkey.h:35,
from gfpcrypt.h:8,
from dsa.h:7,
from dsa.cpp:7:
/usr/include/c++/5.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c dll.cpp
dll.cpp:7:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(default: 4660)
^
In file included from dll.h:11:0,
from dll.cpp:6:
aes.h:9:34: warning: extra ‘;’ [-Wpedantic]
DOCUMENTED_TYPEDEF(Rijndael, AES);
^
In file included from pubkey.h:35:0,
from gfpcrypt.h:8,
from dh.h:7,
from dll.h:17,
from dll.cpp:6:
modarith.h: In copy constructor ‘CryptoPP::ModularArithmetic::ModularArithmetic(const CryptoPP::ModularArithmetic&)’:
modarith.h:29:2: warning: base class ‘class CryptoPP::AbstractRing<CryptoPP::Integer>’ should be explicitly initialized in the copy constructor [-Wextra]
ModularArithmetic(const ModularArithmetic &ma)
^
In file included from gfpcrypt.h:8:0,
from dh.h:7,
from dll.h:17,
from dll.cpp:6:
pubkey.h: In member function ‘CryptoPP::PK_MessageAccumulator* CryptoPP::DL_SignerImpl<SCHEME_OPTIONS>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const’:
pubkey.h:1343:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>);
^
In file included from /usr/include/c++/5.3.1/memory:81:0,
from stdcpp.h:14,
from cryptlib.h:83,
from seckey.h:8,
from rijndael.h:7,
from aes.h:4,
from dll.h:11,
from dll.cpp:6:
/usr/include/c++/5.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from eccrypto.cpp:9:0,
from eccrypto.h:258,
from dll.h:20,
from dll.cpp:6:
oids.h: At global scope:
oids.h:36:44: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(pkcs_1()+1, rsaEncryption);
^
oids.h:40:46: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(iso()+3, identified_organization);
^
oids.h:41:48: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(identified_organization()+14, oiw);
^
oids.h:42:35: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(oiw()+3, oiw_secsig);
^
oids.h:43:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(oiw_secsig()+2, oiw_secsig_algorithms);
^
oids.h:44:53: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(oiw_secsig_algorithms()+26, id_sha1);
^
oids.h:46:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(identified_organization()+36, teletrust);
^
oids.h:58:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(identified_organization()+132, certicom);
^
oids.h:59:52: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom()+0, certicom_ellipticCurve);
^
oids.h:62:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+6, secp112r1);
^
oids.h:63:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+7, secp112r2);
^
oids.h:64:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+8, secp160r1);
^
oids.h:65:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+9, secp160k1);
^
oids.h:66:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+10, secp256k1);
^
oids.h:67:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+28, secp128r1);
^
oids.h:68:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+29, secp128r2);
^
oids.h:69:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+30, secp160r2);
^
oids.h:70:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+31, secp192k1);
^
oids.h:71:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+32, secp224k1);
^
oids.h:72:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+33, secp224r1);
^
oids.h:73:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+34, secp384r1);
^
oids.h:74:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+35, secp521r1);
^
oids.h:76:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+1, sect163k1);
^
oids.h:77:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+2, sect163r1);
^
oids.h:78:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+3, sect239k1);
^
oids.h:79:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+4, sect113r1);
^
oids.h:80:54: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+5, sect113r2);
^
oids.h:81:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+15, sect163r2);
^
oids.h:82:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+16, sect283k1);
^
oids.h:83:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+17, sect283r1);
^
oids.h:84:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+22, sect131r1);
^
oids.h:85:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+23, sect131r2);
^
oids.h:86:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+24, sect193r1);
^
oids.h:87:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+25, sect193r2);
^
oids.h:88:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+26, sect233k1);
^
oids.h:89:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+27, sect233r1);
^
oids.h:90:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+36, sect409k1);
^
oids.h:91:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+37, sect409r1);
^
oids.h:92:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+38, sect571k1);
^
oids.h:93:55: warning: extra ‘;’ [-Wpedantic]
DEFINE_OID(certicom_ellipticCurve()+39, sect571r1);
^
In file included from eccrypto.h:258:0,
from dll.h:20,
from dll.cpp:6:
eccrypto.cpp: In member function ‘void CryptoPP::DL_GroupParameters_EC<EC>::Initialize(const CryptoPP::OID&)’:
eccrypto.cpp:432:7: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<EllipticCurve> ec(param.NewEC());
^
In file included from /usr/include/c++/5.3.1/memory:81:0,
from stdcpp.h:14,
from cryptlib.h:83,
from seckey.h:8,
from rijndael.h:7,
from aes.h:4,
from dll.h:11,
from dll.cpp:6:
/usr/include/c++/5.3.1/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from eccrypto.h:258:0,
from dll.h:20,
from dll.cpp:6:
eccrypto.cpp: At global scope:
eccrypto.cpp:560:2: warning: extra ‘;’ [-Wpedantic]
};
^
In file included from seckey.h:9:0,
from rijndael.h:7,
from aes.h:4,
from dll.h:11,
from dll.cpp:6:
misc.h: In instantiation of ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >; F = CryptoPP::NewObject<CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> > >; int instance = 0]’:
dh.h:85:41: required from ‘const CryptoPP::DL_KeyAgreementAlgorithm<typename GROUP_PARAMETERS::Element>& CryptoPP::DH_Domain<GROUP_PARAMETERS, COFACTOR_OPTION>::GetKeyAgreementAlgorithm() const [with GROUP_PARAMETERS = CryptoPP::DL_GroupParameters_GFP_DefaultSafePrime; COFACTOR_OPTION = CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0>; typename GROUP_PARAMETERS::Element = CryptoPP::Integer]’
dh.h:92:29: required from here
misc.h:134:3: warning: deleting object of polymorphic class type ‘CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
delete newObject;
^
In file included from misc.h:5:0,
from seckey.h:9,
from rijndael.h:7,
from aes.h:4,
from dll.h:11,
from dll.cpp:6:
smartptr.h: In instantiation of ‘CryptoPP::simple_ptr<T>::~simple_ptr() [with T = CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >]’:
misc.h:123:32: required from ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >; F = CryptoPP::NewObject<CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> > >; int instance = 0]’
dh.h:85:41: required from ‘const CryptoPP::DL_KeyAgreementAlgorithm<typename GROUP_PARAMETERS::Element>& CryptoPP::DH_Domain<GROUP_PARAMETERS, COFACTOR_OPTION>::GetKeyAgreementAlgorithm() const [with GROUP_PARAMETERS = CryptoPP::DL_GroupParameters_GFP_DefaultSafePrime; COFACTOR_OPTION = CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0>; typename GROUP_PARAMETERS::Element = CryptoPP::Integer]’
dh.h:92:29: required from here
smartptr.h:13:17: warning: deleting object of polymorphic class type ‘CryptoPP::DL_KeyAgreementAlgorithm_DH<CryptoPP::Integer, CryptoPP::EnumToType<CryptoPP::CofactorMultiplicationOption, 0> >’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
~simple_ptr() {delete m_p; m_p = NULL;} // set m_p to NULL so double destruction (which might occur in Singleton) will be harmless
^
In file included from seckey.h:9:0,
from rijndael.h:7,
from aes.h:4,
from dll.h:11,
from dll.cpp:6:
misc.h: In instantiation of ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>; F = CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N> >; int instance = 0]’:
pubkey.h:1323:76: required from ‘const CryptoPP::DL_ElgamalLikeSignatureAlgorithm<typename KEY::Element>& CryptoPP::DL_ObjectImpl<BASE, SCHEME_OPTIONS, KEY>::GetSignatureAlgorithm() const [with BASE = CryptoPP::DL_VerifierBase<CryptoPP::EC2NPoint>; SCHEME_OPTIONS = CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256>; KEY = CryptoPP::DL_PublicKey_EC<CryptoPP::EC2N>; typename KEY::Element = CryptoPP::EC2NPoint]’
dll.cpp:38:1: required from here
misc.h:134:3: warning: deleting object of polymorphic class type ‘CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
delete newObject;
^
misc.h: In instantiation of ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>; F = CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP> >; int instance = 0]’:
pubkey.h:1323:76: required from ‘const CryptoPP::DL_ElgamalLikeSignatureAlgorithm<typename KEY::Element>& CryptoPP::DL_ObjectImpl<BASE, SCHEME_OPTIONS, KEY>::GetSignatureAlgorithm() const [with BASE = CryptoPP::DL_VerifierBase<CryptoPP::ECPPoint>; SCHEME_OPTIONS = CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256>; KEY = CryptoPP::DL_PublicKey_EC<CryptoPP::ECP>; typename KEY::Element = CryptoPP::ECPPoint]’
dll.cpp:38:1: required from here
misc.h:134:3: warning: deleting object of polymorphic class type ‘CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
misc.h: In instantiation of ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>; F = CryptoPP::NewObject<CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer> >; int instance = 0]’:
pubkey.h:1323:76: required from ‘const CryptoPP::DL_ElgamalLikeSignatureAlgorithm<typename KEY::Element>& CryptoPP::DL_ObjectImpl<BASE, SCHEME_OPTIONS, KEY>::GetSignatureAlgorithm() const [with BASE = CryptoPP::DL_VerifierBase<CryptoPP::Integer>; SCHEME_OPTIONS = CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA2<CryptoPP::SHA1>, CryptoPP::DL_Keys_DSA, CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA1>; KEY = CryptoPP::DL_PublicKey_GFP<CryptoPP::DL_GroupParameters_DSA>; typename KEY::Element = CryptoPP::Integer]’
dll.cpp:38:1: required from here
misc.h:134:3: warning: deleting object of polymorphic class type ‘CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
In file included from misc.h:5:0,
from seckey.h:9,
from rijndael.h:7,
from aes.h:4,
from dll.h:11,
from dll.cpp:6:
smartptr.h: In instantiation of ‘CryptoPP::simple_ptr<T>::~simple_ptr() [with T = CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>]’:
misc.h:123:32: required from ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>; F = CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N> >; int instance = 0]’
pubkey.h:1323:76: required from ‘const CryptoPP::DL_ElgamalLikeSignatureAlgorithm<typename KEY::Element>& CryptoPP::DL_ObjectImpl<BASE, SCHEME_OPTIONS, KEY>::GetSignatureAlgorithm() const [with BASE = CryptoPP::DL_VerifierBase<CryptoPP::EC2NPoint>; SCHEME_OPTIONS = CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256>; KEY = CryptoPP::DL_PublicKey_EC<CryptoPP::EC2N>; typename KEY::Element = CryptoPP::EC2NPoint]’
dll.cpp:38:1: required from here
smartptr.h:13:17: warning: deleting object of polymorphic class type ‘CryptoPP::DL_Algorithm_ECDSA<CryptoPP::EC2N>’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
~simple_ptr() {delete m_p; m_p = NULL;} // set m_p to NULL so double destruction (which might occur in Singleton) will be harmless
^
smartptr.h: In instantiation of ‘CryptoPP::simple_ptr<T>::~simple_ptr() [with T = CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>]’:
misc.h:123:32: required from ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>; F = CryptoPP::NewObject<CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP> >; int instance = 0]’
pubkey.h:1323:76: required from ‘const CryptoPP::DL_ElgamalLikeSignatureAlgorithm<typename KEY::Element>& CryptoPP::DL_ObjectImpl<BASE, SCHEME_OPTIONS, KEY>::GetSignatureAlgorithm() const [with BASE = CryptoPP::DL_VerifierBase<CryptoPP::ECPPoint>; SCHEME_OPTIONS = CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256>; KEY = CryptoPP::DL_PublicKey_EC<CryptoPP::ECP>; typename KEY::Element = CryptoPP::ECPPoint]’
dll.cpp:38:1: required from here
smartptr.h:13:17: warning: deleting object of polymorphic class type ‘CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
smartptr.h: In instantiation of ‘CryptoPP::simple_ptr<T>::~simple_ptr() [with T = CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>]’:
misc.h:123:32: required from ‘const T& CryptoPP::Singleton<T, F, instance>::Ref() const [with T = CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>; F = CryptoPP::NewObject<CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer> >; int instance = 0]’
pubkey.h:1323:76: required from ‘const CryptoPP::DL_ElgamalLikeSignatureAlgorithm<typename KEY::Element>& CryptoPP::DL_ObjectImpl<BASE, SCHEME_OPTIONS, KEY>::GetSignatureAlgorithm() const [with BASE = CryptoPP::DL_VerifierBase<CryptoPP::Integer>; SCHEME_OPTIONS = CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA2<CryptoPP::SHA1>, CryptoPP::DL_Keys_DSA, CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA1>; KEY = CryptoPP::DL_PublicKey_GFP<CryptoPP::DL_GroupParameters_DSA>; typename KEY::Element = CryptoPP::Integer]’
dll.cpp:38:1: required from here
smartptr.h:13:17: warning: deleting object of polymorphic class type ‘CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c winpipes.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c eprecomp.cpp
g++ -g -march=native -mtune=native -std=c++11 -pipe -Wall -Wextra -pedantic -pthread -O3 -DNDEBUG -ffunction-sections -fdata-sections -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -march=native -pipe -c vmac.cpp
In file included from vmac.cpp:7:0:
cpu.h: In function ‘__m128i _mm_clmulepi64_si128(__m128i, __m128i, int)’:
cpu.h:51:1: error: redefinition of ‘__m128i _mm_clmulepi64_si128(__m128i, __m128i, int)’
_mm_clmulepi64_si128 (__m128i a, __m128i b, const int i)
^
In file included from /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/x86intrin.h:43:0,
from /usr/include/c++/5.3.1/x86_64-redhat-linux/bits/opt_random.h:33,
from /usr/include/c++/5.3.1/random:50,
from /usr/include/c++/5.3.1/bits/stl_algo.h:66,
from /usr/include/c++/5.3.1/algorithm:62,
from stdcpp.h:18,
from cryptlib.h:83,
from iterhash.h:4,
from vmac.h:4,
from vmac.cpp:5:
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/wmmintrin.h:116:1: note: ‘__m128i _mm_clmulepi64_si128(__m128i, __m128i, int)’ previously defined here
_mm_clmulepi64_si128 (__m128i __X, __m128i __Y, const int __I)
^
In file included from vmac.cpp:7:0:
cpu.h: In function ‘__m128i _mm_aeskeygenassist_si128(__m128i, int)’:
cpu.h:57:1: error: redefinition of ‘__m128i _mm_aeskeygenassist_si128(__m128i, int)’
_mm_aeskeygenassist_si128 (__m128i a, const int i)
^
In file included from /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/x86intrin.h:43:0,
from /usr/include/c++/5.3.1/x86_64-redhat-linux/bits/opt_random.h:33,
from /usr/include/c++/5.3.1/random:50,
from /usr/include/c++/5.3.1/bits/stl_algo.h:66,
from /usr/include/c++/5.3.1/algorithm:62,
from stdcpp.h:18,
from cryptlib.h:83,
from iterhash.h:4,
from vmac.h:4,
from vmac.cpp:5:
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/wmmintrin.h:87:1: note: ‘__m128i _mm_aeskeygenassist_si128(__m128i, int)’ previously defined here
_mm_aeskeygenassist_si128 (__m128i __X, const int __C)
^
In file included from vmac.cpp:7:0:
cpu.h: In function ‘__m128i _mm_aesimc_si128(__m128i)’:
cpu.h:64:1: error: redefinition of ‘__m128i _mm_aesimc_si128(__m128i)’
_mm_aesimc_si128 (__m128i a)
^
In file included from /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/x86intrin.h:43:0,
from /usr/include/c++/5.3.1/x86_64-redhat-linux/bits/opt_random.h:33,
from /usr/include/c++/5.3.1/random:50,
from /usr/include/c++/5.3.1/bits/stl_algo.h:66,
from /usr/include/c++/5.3.1/algorithm:62,
from stdcpp.h:18,
from cryptlib.h:83,
from iterhash.h:4,
from vmac.h:4,
from vmac.cpp:5:
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/wmmintrin.h:77:1: note: ‘__m128i _mm_aesimc_si128(__m128i)’ previously defined here
_mm_aesimc_si128 (__m128i __X)
^
In file included from vmac.cpp:7:0:
cpu.h: In function ‘__m128i _mm_aesenc_si128(__m128i, __m128i)’:
cpu.h:71:1: error: redefinition of ‘__m128i _mm_aesenc_si128(__m128i, __m128i)’
_mm_aesenc_si128 (__m128i a, __m128i b)
^
In file included from /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/x86intrin.h:43:0,
from /usr/include/c++/5.3.1/x86_64-redhat-linux/bits/opt_random.h:33,
from /usr/include/c++/5.3.1/random:50,
from /usr/include/c++/5.3.1/bits/stl_algo.h:66,
from /usr/include/c++/5.3.1/algorithm:62,
from stdcpp.h:18,
from cryptlib.h:83,
from iterhash.h:4,
from vmac.h:4,
from vmac.cpp:5:
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/wmmintrin.h:61:1: note: ‘__m128i _mm_aesenc_si128(__m128i, __m128i)’ previously defined here
_mm_aesenc_si128 (__m128i __X, __m128i __Y)
^
In file included from vmac.cpp:7:0:
cpu.h: In function ‘__m128i _mm_aesenclast_si128(__m128i, __m128i)’:
cpu.h:77:1: error: redefinition of ‘__m128i _mm_aesenclast_si128(__m128i, __m128i)’
_mm_aesenclast_si128 (__m128i a, __m128i b)
^
In file included from /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/x86intrin.h:43:0,
from /usr/include/c++/5.3.1/x86_64-redhat-linux/bits/opt_random.h:33,
from /usr/include/c++/5.3.1/random:50,
from /usr/include/c++/5.3.1/bits/stl_algo.h:66,
from /usr/include/c++/5.3.1/algorithm:62,
from stdcpp.h:18,
from cryptlib.h:83,
from iterhash.h:4,
from vmac.h:4,
from vmac.cpp:5:
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/wmmintrin.h:69:1: note: ‘__m128i _mm_aesenclast_si128(__m128i, __m128i)’ previously defined here
_mm_aesenclast_si128 (__m128i __X, __m128i __Y)
^
In file included from vmac.cpp:7:0:
cpu.h: In function ‘__m128i _mm_aesdec_si128(__m128i, __m128i)’:
cpu.h:83:1: error: redefinition of ‘__m128i _mm_aesdec_si128(__m128i, __m128i)’
_mm_aesdec_si128 (__m128i a, __m128i b)
^
In file included from /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/x86intrin.h:43:0,
from /usr/include/c++/5.3.1/x86_64-redhat-linux/bits/opt_random.h:33,
from /usr/include/c++/5.3.1/random:50,
from /usr/include/c++/5.3.1/bits/stl_algo.h:66,
from /usr/include/c++/5.3.1/algorithm:62,
from stdcpp.h:18,
from cryptlib.h:83,
from iterhash.h:4,
from vmac.h:4,
from vmac.cpp:5:
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/wmmintrin.h:44:1: note: ‘__m128i _mm_aesdec_si128(__m128i, __m128i)’ previously defined here
_mm_aesdec_si128 (__m128i __X, __m128i __Y)
^
In file included from vmac.cpp:7:0:
cpu.h: In function ‘__m128i _mm_aesdeclast_si128(__m128i, __m128i)’:
cpu.h:89:1: error: redefinition of ‘__m128i _mm_aesdeclast_si128(__m128i, __m128i)’
_mm_aesdeclast_si128 (__m128i a, __m128i b)
^
In file included from /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/x86intrin.h:43:0,
from /usr/include/c++/5.3.1/x86_64-redhat-linux/bits/opt_random.h:33,
from /usr/include/c++/5.3.1/random:50,
from /usr/include/c++/5.3.1/bits/stl_algo.h:66,
from /usr/include/c++/5.3.1/algorithm:62,
from stdcpp.h:18,
from cryptlib.h:83,
from iterhash.h:4,
from vmac.h:4,
from vmac.cpp:5:
/usr/lib/gcc/x86_64-redhat-linux/5.3.1/include/wmmintrin.h:52:1: note: ‘__m128i _mm_aesdeclast_si128(__m128i, __m128i)’ previously defined here
_mm_aesdeclast_si128 (__m128i __X, __m128i __Y)
^
GNUmakefile:207: recipe for target 'vmac.o' failed
make[1]: *** [vmac.o] Error 1
make[1]: Leaving directory '/home/jakob.donotbackup/securefs/cryptopp-5.6.2'
Makefile:32: recipe for target 'cryptopp' failed
make: *** [cryptopp] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment