Jeffrey Walton
e4c402ace9
Clear truncation warning in rng.cpp (PR #867 )
2019-07-25 04:52:24 -04:00
Andrew Marshall
12382a14be
Use fixed size temporary in LC_RNG for consistency across platforms ( #867 )
2019-07-23 12:39:51 -04:00
Jeffrey Walton
614795f3e1
Add -DNDEBUG for openSUSE standrad build test
2019-07-22 16:10:43 -04:00
Jeffrey Walton
6eab4b7c32
Add openSUSE standard build test (GH #865 )
2019-07-22 15:37:25 -04:00
Jeffrey Walton
9d2cab7548
Add CRYPTOPP_CXX14 define
2019-07-22 01:08:12 -04:00
Jeffrey Walton
a7f2796dda
Update comments
2019-07-21 22:21:10 -04:00
Jeffrey Walton
7b7827e9cb
Clear Clang warning on SSE2 load
2019-07-21 22:20:55 -04:00
Jeffrey Walton
46e58df837
Add LINK_LIBRARY_PATH (GH #866 )
2019-07-21 15:57:26 -04:00
Jeffrey Walton
3747e3d944
Don't use BASH_SOURCE in cryptest.sh
2019-07-21 03:19:14 -04:00
Jeffrey Walton
ed7f4a0493
Use LINK_LIBRARY in cryptest-symbols.sh script (GH #866 )
2019-07-21 03:16:01 -04:00
Jeffrey Walton
dfaf2fc453
Remove references to GNUmakefile.shared (GH# 866)
2019-07-21 03:06:44 -04:00
Jeffrey Walton
ef6e57990e
Use LINK_LIBRARY in cryptest.sh script (GH #866 )
2019-07-21 03:02:43 -04:00
Jeffrey Walton
52ad132134
Add link-library variable to Makefiles (GH #866 )
...
This should help distros and Crypto++ test scripts
2019-07-21 02:24:06 -04:00
Jeffrey Walton
5957b19fb8
Fix AVX2 feature test under Clang 3.3
...
Clang 3.3 appears to support some of AVX2, but it is missing _mm256_broadcastsi128_si256.
2019-07-21 00:27:23 -04:00
Jeffrey Walton
22a55bbbc5
Use wildcard for FORTIFY_SOURCE filter on TCXXFLAGS (GH #865 )
2019-07-19 11:26:20 -04:00
Jeffrey Walton
417fbd719a
Fix missing if statement
...
Copy/paste error from the regular GNUmakefile
2019-07-19 00:16:23 -04:00
Jeffrey Walton
058a59814f
Fix TCXXFLAGS using openSUSE standard flags (GH #865 )
2019-07-19 00:14:25 -04:00
Jeffrey Walton
07c208dbc6
Filter out static_assert from Posix assert test
2019-07-14 22:43:31 -04:00
Jeffrey Walton
769643bbe1
Fix macro paste in CRYPTOPP_ASSERT_JOIN
2019-07-14 19:09:05 -04:00
Jeffrey Walton
388a2e6ded
Fix macro paste in CRYPTOPP_ASSERT_JOIN
2019-07-14 19:04:52 -04:00
Jeffrey Walton
f5881d121a
CRYPTOPP_CXX11_STATIC_ASSERT -> CRYPTOPP_CXX14_STATIC_ASSERT
...
WHoops, this is a C++14 feature
2019-07-14 19:02:58 -04:00
Jeffrey Walton
002e794ae2
Use C++ static_assert from N3928 when available
2019-07-14 18:28:51 -04:00
Jeffrey Walton
5de1089c8c
Update documentation
2019-07-14 12:50:50 -04:00
Jeffrey Walton
e8b07b162f
Avoid preprocessor error in SIZE_MAX (GH #864 )
2019-07-14 00:52:30 -04:00
Jeffrey Walton
6ae9c055cc
Move CRYPTOPP_CXX11 down in list of defines
2019-07-11 12:12:19 -04:00
Jeffrey Walton
f0d7917719
Move CRYPTOPP_NO_CXX11 and CRYPTOPP_NO_CXX17 to config_cxx.h
...
It looks like these two were overlooked during refactoring
2019-07-11 12:10:19 -04:00
Jeffrey Walton
8260dd1e81
Increase m_buf size (GH #862 )
2019-07-10 15:54:48 -04:00
Jeffrey Walton
6d69043403
Add BufferedTransformation GetWord64 and PutWord64 (GH #862 )
2019-07-10 10:04:58 -04:00
Jeffrey Walton
a76c6a203f
Update documentation
2019-07-10 08:10:44 -04:00
Jeffrey Walton
60e7bf3081
Update documentation
2019-07-08 18:46:27 -04:00
Jeffrey Walton
195cd6e7c8
Update documentation
2019-07-06 16:06:27 -04:00
Jeffrey Walton
2ffa70fbc6
Clear asserts under DEBUG builds
2019-07-06 15:57:08 -04:00
Jeffrey Walton
fd7115fc8b
Remove duplicate CRYPTOPP_GCC_VERSION test
2019-07-06 08:06:00 -04:00
Jeffrey Walton
b76a010dda
Cleanup PowerPC defines
2019-07-06 07:35:36 -04:00
Jeffrey Walton
f0a2967191
Fix missing binary operator
2019-07-06 07:07:16 -04:00
Jeffrey Walton
37de652635
Use C++ feature test macros when available
...
There are not too many of them. __cpp_threadsafe_static_init may be useful for less frequently used compilers and platforms.
2019-07-06 07:03:26 -04:00
Jeffrey Walton
76fa704cbe
Avoid potential uninitialized read in AutoSeededX917RNG
...
This is a minor fix to AutoSeededX917RNG::Reseed. Valgrind produces a finding if user input is too small or seed size is too large. The constraints make it a little tricky to use correctly. HKDF will always produce the correct amount of material with provable security, and avoid the Valgrind finding.
2019-07-06 02:58:43 -04:00
Jeffrey Walton
6c995e215a
Fold CRYPTOPP_VALGRIND into CRYPTOPP_COVERAGE
2019-07-05 19:10:01 -04:00
Jeffrey Walton
d4b3e1535a
Limit GCC workaround to 5.3 on PowerPC
...
GCC fixed the issue at GCC 5.3. Also see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31690
2019-07-05 18:08:05 -04:00
Jeffrey Walton
9c28cf2227
Whitespace check-in
...
Cleanup after the VMAC fixes
2019-07-05 17:26:50 -04:00
Jeffrey Walton
ad99fc5b05
Clear Asan finding in VMAC under 32-bit inline ASM (GH #860 )
...
Second try. The first try cleared the Asan finding but broke at -O3. Eventually we will skin this cat.
2019-07-05 16:33:01 -04:00
Jeffrey Walton
7fd751ed36
Revert Asan finding in VMAC change (GH #860 )
...
cryptest.sh showed it broke at -O3
2019-07-05 11:58:35 -04:00
Jeffrey Walton
f7986129df
Clear Asan finding in VMAC under 32-bit inline ASM (GH #860 )
...
This one has been nagging us for a while. Tested OK under i686 and x86_64.
2019-07-05 03:38:03 -04:00
Jeffrey Walton
6bead34bd9
Update headers for 'make dep'
2019-07-05 02:42:27 -04:00
Jeffrey Walton
ae04195d1f
Use xattr in cryptest-autotools.sh
2019-07-04 16:06:51 -04:00
Jeffrey Walton
6afa6fc213
Fix cryptest-autotools.sh on OS X
...
Needed to remove quarantine bit
2019-07-04 15:36:17 -04:00
Jeffrey Walton
6eeebaf26b
Update documentation
2019-07-04 13:57:33 -04:00
Jeffrey Walton
2baa37efac
Clear unused parameter warnings for GCC with -Wextra (GH #856 )
2019-07-03 15:17:53 -04:00
Jeffrey Walton
cd0d145635
Add legacy ECIES EC2N cryptosystem and kat (GH #856 )
2019-07-03 03:06:58 -04:00
Jeffrey Walton
ce6d3c1306
Add legacy ECIES ECP cryptosystem and kat (GH #856 )
2019-07-03 01:41:23 -04:00