Skip to content

Commit acf7d93

Browse files
committed
Update cryptopp to 5.6.4
1 parent 05c8e2f commit acf7d93

File tree

270 files changed

+14205
-3489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+14205
-3489
lines changed

vendor/cryptopp/3way.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ static inline word32 reverseBits(word32 a)
5757
a0 ^= c ^ b0; \
5858
a1 ^= c ^ b1; \
5959
a2 ^= c ^ (b0 >> 16) ^ (b1 << 16); \
60-
}
60+
}
6161

6262
#define rho(a0, a1, a2) \
6363
{ \
6464
theta(a0, a1, a2); \
6565
pi_gamma_pi(a0, a1, a2); \
66-
}
66+
}
6767

6868
void ThreeWay::Base::UncheckedSetKey(const byte *uk, unsigned int length, const NameValuePairs &params)
6969
{

vendor/cryptopp/3way.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ NAMESPACE_BEGIN(CryptoPP)
1616
//! \brief ThreeWay block cipher information
1717
struct ThreeWay_Info : public FixedBlockSize<12>, public FixedKeyLength<12>, public VariableRounds<11>
1818
{
19-
static const char *StaticAlgorithmName() {return "3-Way";}
19+
CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "3-Way";}
2020
};
2121

2222
//! \class ThreeWay

vendor/cryptopp/CMakeLists.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ project(cryptopp)
1010

1111
set(cryptopp_VERSION_MAJOR 5)
1212
set(cryptopp_VERSION_MINOR 6)
13-
set(cryptopp_VERSION_PATCH 3)
13+
set(cryptopp_VERSION_PATCH 4)
1414

1515
include(GNUInstallDirs)
1616
include(TestBigEndian)
@@ -286,7 +286,14 @@ set(export_name "cryptopp-targets")
286286

287287
# Runtime package
288288
if (BUILD_SHARED)
289-
install(TARGETS cryptopp-shared EXPORT ${export_name} DESTINATION ${CMAKE_INSTALL_LIBDIR})
289+
install(
290+
TARGETS cryptopp-shared
291+
EXPORT ${export_name}
292+
DESTINATION ${CMAKE_INSTALL_LIBDIR}
293+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
294+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
295+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
296+
)
290297
endif()
291298

292299
# Development package

vendor/cryptopp/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ PROJECT_NAME = Crypto++
4141
# could be handy for archiving the generated documentation or if some version
4242
# control system is used.
4343

44-
PROJECT_NUMBER = 5.6.3
44+
PROJECT_NUMBER = 5.6.4
4545

4646
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4747
# for a project that appears at the top of each page and should give viewer a

vendor/cryptopp/Filelist.txt

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ base64.h
2222
basecode.cpp
2323
basecode.h
2424
bench.h
25+
bds10.zip
2526
bench1.cpp
2627
bench2.cpp
2728
bfinit.cpp
@@ -52,25 +53,19 @@ cpu.cpp
5253
cpu.h
5354
crc.cpp
5455
crc.h
55-
cryptdll.dsp
56-
cryptdll.vcproj
57-
cryptest.dsp
58-
cryptest.dsw
56+
cryptdll.vcxproj
57+
cryptdll.vcxproj.filters
5958
cryptest.sh
6059
cryptest.sln
61-
cryptest.vcproj
60+
cryptest.vcxproj
61+
cryptest.vcxproj.user
62+
cryptest.vcxproj.filters
6263
cryptest.nmake
63-
cryptest_bds.bdsgroup
64-
cryptest_bds.bdsproj
65-
cryptest_bds.bpf
6664
cryptlib.cpp
67-
cryptlib.dsp
6865
cryptlib.h
69-
cryptlib.vcproj
70-
cryptlib_bds.bdsproj
71-
cryptlib_bds.cpp
66+
cryptlib.vcxproj
67+
cryptlib.vcxproj.filters
7268
cryptopp.rc
73-
cryptopp563.diff
7469
datatest.cpp
7570
default.cpp
7671
default.h
@@ -84,8 +79,8 @@ dh2.h
8479
dll.cpp
8580
dll.h
8681
dlltest.cpp
87-
dlltest.dsp
88-
dlltest.vcproj
82+
dlltest.vcxproj
83+
dlltest.vcxproj.filters
8984
dmac.h
9085
dsa.cpp
9186
dsa.h
@@ -106,6 +101,8 @@ eprecomp.h
106101
esign.cpp
107102
esign.h
108103
factory.h
104+
fhmqv.cpp
105+
fhmqv.h
109106
files.cpp
110107
files.h
111108
filters.cpp
@@ -134,6 +131,8 @@ hex.h
134131
hkdf.h
135132
hmac.cpp
136133
hmac.h
134+
hmqv.cpp
135+
hmqv.h
137136
hrtimer.cpp
138137
hrtimer.h
139138
ida.cpp
@@ -144,6 +143,8 @@ integer.cpp
144143
integer.h
145144
iterhash.cpp
146145
iterhash.h
146+
keccak.cpp
147+
keccak.h
147148
lubyrack.h
148149
luc.cpp
149150
luc.h
@@ -279,7 +280,8 @@ validat3.cpp
279280
validate.h
280281
vmac.cpp
281282
vmac.h
282-
vs2010.zip
283+
vc60.zip
284+
vs2005.zip
283285
wait.cpp
284286
wait.h
285287
wake.cpp
@@ -327,7 +329,15 @@ TestData/elgc1024.dat
327329
TestData/esig1023.dat
328330
TestData/esig1536.dat
329331
TestData/esig2046.dat
332+
TestData/fhmqv160.dat
333+
TestData/fhmqv256.dat
334+
TestData/fhmqv384.dat
335+
TestData/fhmqv512.dat
330336
TestData/gostval.dat
337+
TestData/hmqv160.dat
338+
TestData/hmqv256.dat
339+
TestData/hmqv384.dat
340+
TestData/hmqv512.dat
331341
TestData/ideaval.dat
332342
TestData/luc1024.dat
333343
TestData/luc2048.dat
@@ -368,7 +378,6 @@ TestData/xtrdh342.dat
368378
TestVectors/Readme.txt
369379
TestVectors/aes.txt
370380
TestVectors/all.txt
371-
TestVectors/all_fips_202.txt
372381
TestVectors/blake2.txt
373382
TestVectors/blake2b.txt
374383
TestVectors/blake2s.txt
@@ -384,18 +393,19 @@ TestVectors/esign.txt
384393
TestVectors/gcm.txt
385394
TestVectors/hkdf.txt
386395
TestVectors/hmac.txt
396+
TestVectors/keccak.txt
387397
TestVectors/mars.txt
388398
TestVectors/nr.txt
389399
TestVectors/panama.txt
390400
TestVectors/rsa_oaep.txt
391401
TestVectors/rsa_pkcs1_1_5.txt
392402
TestVectors/rsa_pss.txt
403+
TestVectors/dsa_rfc6979.txt
393404
TestVectors/rw.txt
394405
TestVectors/salsa.txt
395406
TestVectors/seal.txt
396407
TestVectors/seed.txt
397408
TestVectors/sha.txt
398-
TestVectors/sha3.txt
399409
TestVectors/sha3_fips_202.txt
400410
TestVectors/sha3_224_fips_202.txt
401411
TestVectors/sha3_256_fips_202.txt

vendor/cryptopp/GNUmakefile

Lines changed: 56 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ CLANG_COMPILER := $(shell $(CXX) --version 2>&1 | $(EGREP) -i -c "clang")
3535
INTEL_COMPILER := $(shell $(CXX) --version 2>&1 | $(EGREP) -i -c "\(icc\)")
3636
MACPORTS_COMPILER := $(shell $(CXX) --version 2>&1 | $(EGREP) -i -c "macports")
3737

38-
# Sun Studio 12.0 (0x0510) and 12.3 (0x0512)
39-
SUNCC_120_OR_LATER := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: (Sun|Studio) .* (5\.1[0-9]|5\.[2-9]|6\.)")
40-
SUNCC_122_OR_LATER := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: (Sun|Studio) .* (5\.1[1-9]|5\.[2-9]|6\.)")
41-
SUNCC_123_OR_LATER := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: (Sun|Studio) .* (5\.1[2-9]|5\.[2-9]|6\.)")
38+
# Sun Studio 12.0 provides SunCC 0x0510; and Sun Studio 12.3 provides SunCC 0x0512
39+
SUNCC_510_OR_LATER := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: (Sun|Studio) .* (5\.1[0-9]|5\.[2-9]|6\.)")
40+
SUNCC_511_OR_LATER := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: (Sun|Studio) .* (5\.1[1-9]|5\.[2-9]|6\.)")
41+
SUNCC_512_OR_LATER := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: (Sun|Studio) .* (5\.1[2-9]|5\.[2-9]|6\.)")
42+
SUNCC_513_OR_LATER := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: (Sun|Studio) .* (5\.1[3-9]|5\.[2-9]|6\.)")
4243

4344
HAS_SOLIB_VERSION := $(IS_LINUX)
4445

@@ -54,7 +55,7 @@ endif
5455

5556
# Base CXXFLAGS used if the user did not specify them
5657
ifeq ($(SUN_COMPILER),1)
57-
ifeq ($(SUNCC_123_OR_LATER),1)
58+
ifeq ($(SUNCC_512_OR_LATER),1)
5859
CXXFLAGS ?= -DNDEBUG -g3 -xO2
5960
else
6061
CXXFLAGS ?= -DNDEBUG -g -xO2
@@ -141,17 +142,21 @@ else
141142
endif # X86/X32/X64
142143
endif
143144

144-
# Aligned access required at -O3 for GCC due to vectorization (circa 08/2008). Expect other compilers to do the same.
145+
# Aligned access required for -O3 and above due to vectorization
145146
UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h)
146-
ifeq ($(findstring -O3,$(CXXFLAGS)),-O3)
147147
ifneq ($(UNALIGNED_ACCESS),0)
148-
ifeq ($(GCC46_OR_LATER),1)
149148
ifeq ($(findstring -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS,$(CXXFLAGS)),)
149+
ifeq ($(findstring -O3,$(CXXFLAGS)),-O3)
150+
CXXFLAGS += -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS
151+
endif # -O3
152+
ifeq ($(findstring -O5,$(CXXFLAGS)),-O5)
150153
CXXFLAGS += -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS
154+
endif # -O5
155+
ifeq ($(findstring -Ofast,$(CXXFLAGS)),-Ofast)
156+
CXXFLAGS += -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS
157+
endif # -Ofast
151158
endif # CRYPTOPP_NO_UNALIGNED_DATA_ACCESS
152-
endif # GCC 4.6
153159
endif # UNALIGNED_ACCESS
154-
endif # Vectorization
155160

156161
ifneq ($(INTEL_COMPILER),0)
157162
CXXFLAGS += -wd68 -wd186 -wd279 -wd327 -wd161 -wd3180
@@ -176,6 +181,7 @@ endif
176181
endif
177182

178183
# Tell MacPorts GCC to use Clang integrated assembler
184+
# http://github.com/weidai11/cryptopp/issues/190
179185
ifeq ($(GCC_COMPILER)$(MACPORTS_COMPILER),11)
180186
ifneq ($(findstring -Wa,-q,$(CXXFLAGS)),-Wa,-q)
181187
CXXFLAGS += -Wa,-q
@@ -185,6 +191,12 @@ CXXFLAGS += -DCRYPTOPP_CLANG_INTEGRATED_ASSEMBLER=1
185191
endif
186192
endif
187193

194+
# GCC on Solaris needs -m64. Otherwise, i386 is default
195+
# http://github.com/weidai11/cryptopp/issues/230
196+
ifeq ($(IS_SUN)$(GCC_COMPILER)$(IS_X64),111)
197+
CXXFLAGS += -m64
198+
endif
199+
188200
# Allow use of "/" operator for GNU Assembler.
189201
# http://sourceware.org/bugzilla/show_bug.cgi?id=4572
190202
ifeq ($(findstring -DCRYPTOPP_DISABLE_ASM,$(CXXFLAGS)),)
@@ -219,6 +231,22 @@ CXXFLAGS += -pipe
219231
endif
220232
endif
221233

234+
# Aligned access required for -O3 and above due to vectorization
235+
UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h)
236+
ifneq ($(UNALIGNED_ACCESS),0)
237+
ifeq ($(findstring -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS,$(CXXFLAGS)),)
238+
ifeq ($(findstring -O3,$(CXXFLAGS)),-O3)
239+
CXXFLAGS += -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS
240+
endif # -O3
241+
ifeq ($(findstring -O5,$(CXXFLAGS)),-O5)
242+
CXXFLAGS += -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS
243+
endif # -O5
244+
ifeq ($(findstring -Ofast,$(CXXFLAGS)),-Ofast)
245+
CXXFLAGS += -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS
246+
endif # -Ofast
247+
endif # CRYPTOPP_NO_UNALIGNED_DATA_ACCESS
248+
endif # UNALIGNED_ACCESS
249+
222250
endif # IS_X86
223251

224252
###########################################################
@@ -257,9 +285,12 @@ endif
257285
ifneq ($(SUN_COMPILER),0) # override flags for CC Sun C++ compiler
258286
IS_64 := $(shell isainfo -b 2>/dev/null | grep -i -c "64")
259287
ifeq ($(IS_64),1)
260-
CXXFLAGS += -native -m64
288+
CXXFLAGS += -m64
261289
else ifeq ($(IS_64),0)
262-
CXXFLAGS += -native -m32
290+
CXXFLAGS += -m32
291+
endif
292+
ifneq ($(SUNCC_513_OR_LATER),0)
293+
CXXFLAGS += -native
263294
endif
264295
# Add for non-i386
265296
ifneq ($(IS_X86),1)
@@ -268,7 +299,7 @@ endif
268299
# Add to all Solaris
269300
CXXFLAGS += -template=no%extdef
270301
# Add to Sun Studio 12.2 and above
271-
ifneq ($(SUNCC_122_OR_LATER),0)
302+
ifneq ($(SUNCC_511_OR_LATER),0)
272303
CXXFLAGS += -w -erroff=wvarhidemem -erroff=voidretw
273304
endif
274305
SUN_CC10_BUGGY := $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: Sun .* 5\.10 .* (2009|2010/0[1-4])")
@@ -277,7 +308,7 @@ ifneq ($(SUN_CC10_BUGGY),0)
277308
# remove it if you get "already had a body defined" errors in vector.cc
278309
CXXFLAGS += -DCRYPTOPP_INCLUDE_VECTOR_CC
279310
endif
280-
#ifneq ($SUNCC_123_OR_LATER),0)
311+
#ifneq ($SUNCC_512_OR_LATER),0)
281312
#CXXFLAGS += -xarch=aes -D__AES__=1 -xarch=no%sse4_1 -xarch=no%sse4_2
282313
#endif
283314
AR = $(CXX)
@@ -388,7 +419,7 @@ endif # HAS_SOLIB_VERSION
388419
# List cryptlib.cpp first and cpu.cpp second in an attempt to tame C++ static initialization problems.
389420
# The issue spills into POD data types of cpu.cpp due to the storage class of the bools, so cpu.cpp
390421
# is the second candidate for explicit initialization order.
391-
SRCS := cryptlib.cpp cpu.cpp $(filter-out cryptlib.cpp cpu.cpp pch.cpp simple.cpp winpipes.cpp cryptlib_bds.cpp,$(wildcard *.cpp))
422+
SRCS := cryptlib.cpp cpu.cpp integer.cpp $(filter-out cryptlib.cpp cpu.cpp integer.cpp pch.cpp simple.cpp winpipes.cpp cryptlib_bds.cpp,$(wildcard *.cpp))
392423

393424
# Need CPU for X86/X64/X32 and ARM
394425
ifeq ($(IS_X86)$(IS_X64)$(IS_ARM32)$(IS_ARM64),0000)
@@ -412,7 +443,7 @@ TESTOBJS := $(TESTSRCS:.cpp=.o)
412443
LIBOBJS := $(filter-out $(TESTOBJS),$(OBJS))
413444

414445
# List cryptlib.cpp first in an attempt to tame C++ static initialization problems
415-
DLLSRCS := cryptlib.cpp cpu.cpp shacal2.cpp md5.cpp shark.cpp zinflate.cpp gf2n.cpp salsa.cpp xtr.cpp oaep.cpp polynomi.cpp rc2.cpp default.cpp wait.cpp wake.cpp twofish.cpp iterhash.cpp adler32.cpp elgamal.cpp marss.cpp blowfish.cpp ecp.cpp filters.cpp strciphr.cpp camellia.cpp ida.cpp zlib.cpp des.cpp crc.cpp algparam.cpp dessp.cpp tea.cpp eax.cpp network.cpp emsa2.cpp pkcspad.cpp squaretb.cpp idea.cpp authenc.cpp hmac.cpp zdeflate.cpp xtrcrypt.cpp queue.cpp mars.cpp rc5.cpp blake2.cpp hrtimer.cpp eprecomp.cpp hex.cpp dsa.cpp sha.cpp fips140.cpp gzip.cpp seal.cpp files.cpp base32.cpp vmac.cpp tigertab.cpp sharkbox.cpp safer.cpp randpool.cpp esign.cpp arc4.cpp osrng.cpp skipjack.cpp seed.cpp integer.cpp sha3.cpp sosemanuk.cpp bfinit.cpp rabin.cpp 3way.cpp rw.cpp rdrand.cpp rsa.cpp rdtables.cpp gost.cpp socketft.cpp tftables.cpp nbtheory.cpp panama.cpp modes.cpp rijndael.cpp casts.cpp chacha.cpp gfpcrypt.cpp poly1305.cpp dll.cpp ec2n.cpp blumshub.cpp algebra.cpp basecode.cpp base64.cpp cbcmac.cpp rc6.cpp dh2.cpp gf256.cpp mqueue.cpp misc.cpp pssr.cpp channels.cpp tiger.cpp cast.cpp rng.cpp square.cpp asn.cpp whrlpool.cpp md4.cpp dh.cpp ccm.cpp md2.cpp mqv.cpp gf2_32.cpp ttmac.cpp luc.cpp trdlocal.cpp pubkey.cpp gcm.cpp ripemd.cpp eccrypto.cpp serpent.cpp cmac.cpp
446+
DLLSRCS := cryptlib.cpp cpu.cpp integer.cpp shacal2.cpp md5.cpp shark.cpp zinflate.cpp gf2n.cpp salsa.cpp xtr.cpp oaep.cpp polynomi.cpp rc2.cpp default.cpp wait.cpp wake.cpp twofish.cpp iterhash.cpp adler32.cpp elgamal.cpp marss.cpp blowfish.cpp ecp.cpp filters.cpp strciphr.cpp camellia.cpp ida.cpp zlib.cpp des.cpp crc.cpp algparam.cpp dessp.cpp tea.cpp eax.cpp network.cpp emsa2.cpp pkcspad.cpp squaretb.cpp idea.cpp authenc.cpp hmac.cpp zdeflate.cpp xtrcrypt.cpp queue.cpp mars.cpp rc5.cpp blake2.cpp hrtimer.cpp eprecomp.cpp hex.cpp dsa.cpp sha.cpp fips140.cpp gzip.cpp seal.cpp files.cpp base32.cpp vmac.cpp tigertab.cpp sharkbox.cpp safer.cpp randpool.cpp esign.cpp arc4.cpp osrng.cpp skipjack.cpp seed.cpp sha3.cpp sosemanuk.cpp bfinit.cpp rabin.cpp 3way.cpp rw.cpp rdrand.cpp rsa.cpp rdtables.cpp gost.cpp socketft.cpp tftables.cpp nbtheory.cpp panama.cpp modes.cpp rijndael.cpp casts.cpp chacha.cpp gfpcrypt.cpp poly1305.cpp dll.cpp ec2n.cpp blumshub.cpp algebra.cpp basecode.cpp base64.cpp cbcmac.cpp rc6.cpp dh2.cpp gf256.cpp mqueue.cpp misc.cpp pssr.cpp channels.cpp tiger.cpp cast.cpp rng.cpp square.cpp asn.cpp whrlpool.cpp md4.cpp dh.cpp ccm.cpp md2.cpp mqv.cpp gf2_32.cpp ttmac.cpp luc.cpp trdlocal.cpp pubkey.cpp gcm.cpp ripemd.cpp eccrypto.cpp serpent.cpp cmac.cpp
416447
DLLOBJS := $(DLLSRCS:.cpp=.export.o)
417448

418449
# Import lib testing
@@ -506,6 +537,9 @@ endif
506537
ifneq ($(wildcard *.exe.dSYM),)
507538
-$(RM) -r *.exe.dSYM/
508539
endif
540+
ifneq ($(wildcard *.dylib.dSYM),)
541+
-$(RM) -r *.dylib.dSYM/
542+
endif
509543
ifneq ($(wildcard cov-int/),)
510544
-$(RM) -r cov-int/
511545
endif
@@ -514,7 +548,7 @@ endif
514548
distclean: clean
515549
-$(RM) adhoc.cpp adhoc.cpp.copied GNUmakefile.deps benchmarks.html cryptest.txt cryptest-*.txt
516550
-$(RM) CMakeCache.txt Makefile CTestTestfile.cmake cmake_install.cmake cryptopp-config-version.cmake
517-
-$(RM) cryptopp.tgz *.o *.ii *.s *~
551+
-$(RM) cryptopp.tgz *.o *.bc *.ii *.s *~
518552
ifneq ($(wildcard CMakeFiles/),)
519553
-$(RM) -r CMakeFiles/
520554
endif
@@ -637,7 +671,7 @@ dlltest.exe: cryptopp.dll $(DLLTESTOBJS)
637671
$(CXX) -o $@ $(CXXFLAGS) $(DLLTESTOBJS) -L. -lcryptopp.dll $(LDFLAGS) $(LDLIBS)
638672

639673
# This recipe prepares the distro files
640-
TEXT_FILES := *.h *.cpp adhoc.cpp.proto License.txt Readme.txt Install.txt Filelist.txt CMakeLists.txt config.recommend Doxyfile cryptest* cryptlib* dlltest* cryptdll* *.sln *.vcproj *.dsw *.dsp cryptopp.rc TestVectors/*.txt TestData/*.dat
674+
TEXT_FILES := *.h *.cpp adhoc.cpp.proto License.txt Readme.txt Install.txt Filelist.txt CMakeLists.txt config.recommend Doxyfile cryptest* cryptlib* dlltest* cryptdll* *.sln *.vcxproj cryptopp.rc TestVectors/*.txt TestData/*.dat
641675
EXEC_FILES := GNUmakefile GNUmakefile-cross TestData/ TestVectors/
642676

643677
ifeq ($(wildcard Filelist.txt),Filelist.txt)
@@ -739,10 +773,13 @@ endif
739773
%.export.o : %.cpp
740774
$(CXX) $(CXXFLAGS) -DCRYPTOPP_EXPORTS -c $< -o $@
741775

776+
%.bc : %.cpp
777+
$(CXX) $(CXXFLAGS) -c $<
778+
742779
%.o : %.cpp
743780
$(CXX) $(CXXFLAGS) -c $<
744781

745-
# Warn of potential configuration issues. They will go away after 5.6.3.
782+
# Warn of potential configuration issues. They will go away after 5.6.4.
746783
UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h)
747784
NO_INIT_PRIORITY := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_INIT_PRIORITY" config.h)
748785
COMPATIBILITY_562 := $(shell $(EGREP) -c "^[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562" config.h)

0 commit comments

Comments
 (0)