Commit Graph

6431 Commits

Author SHA1 Message Date
Jeffrey Walton
a75a7d87ff
Set ARFLAGS to -r on Alpine Linux 2023-07-19 15:52:48 -04:00
Jeffrey Walton
6ecc789df1
Add precomuted small prime table (GH #1210) 2023-06-26 09:57:15 -04:00
Jeffrey Walton
cbc1859048
Update setenv-android.sh script
Newer NDKs cannot consume -mtune=intel, so omit it.
2023-06-26 07:45:43 -04:00
Jeffrey Walton
205ebf17a9
Move unused variables to top of function
Also see PR #1218
2023-06-26 07:32:12 -04:00
Marcel Raad
b2e0635660
Fix unused parameter warnings for x86 non-GCC (GH #1218)
These were suppressed for MSVC until commit dced966b7a.
2023-06-26 06:25:05 -04:00
Jeffrey Walton
1659a9ef64
Add clang-cl.exe to list of CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY 2023-06-25 22:13:16 -04:00
Jeffrey Walton
e65fa006be
Simplify use of cpuid and xgetbv on Windows
In the past we were pivoting on Visual Studio versions, and trying to use intrinsics when available. The updated code just uses our versions of the calls.
2023-06-25 22:10:22 -04:00
Jeffrey Walton
a89a27b72c
Attempt to keep Clang out of other compiler paths (GH #147) 2023-06-25 18:28:11 -04:00
Jeffrey Walton
0d9cd947a0
Avoid call to CPU_ProbeSSE2 in DetectX86Features (GH #1162)
The call was a workaround for Solaris. Limit it to Solaris.
2023-06-25 17:09:33 -04:00
Jeffrey Walton
a23f78d116
Fix release fence in Singleton::Ref (GH #1208) 2023-06-25 16:57:50 -04:00
Jeffrey Walton
e6f1f81319
Use PROC FRAME and prolog for MASM (GH #1116) 2023-06-25 16:49:11 -04:00
Jeffrey Walton
001227705a
Fix chang-version.sh script 2023-06-25 15:19:50 -04:00
Jeffrey Walton
0825e938ba
Post-release version increment 2023-06-25 15:11:06 -04:00
Jeffrey Walton
4d0cad5401
Prepare for Crypto++ 8.8 release 2023-06-25 03:02:25 -04:00
Jeffrey Walton
2656d80959
Prepare for Crypto++ 8.8 release 2023-06-25 02:59:39 -04:00
Jeffrey Walton
6ac6668b29
Remove unneeded check in Integer::Randomize(bitCount) (GH #1206)
Update docs to specify case when bitCount==0
Add tests for Randomize function in debug builds
2023-06-25 02:48:20 -04:00
Jeffrey Walton
3f36b1dd87
Prepare for Crypto++ 8.7.1 release 2023-06-25 00:36:09 -04:00
Jeffrey Walton
1e9e6e137a
Prepare for Crypto++ 8.7.1 release 2023-06-24 23:45:48 -04:00
Jeffrey Walton
d6bc19da7f
Update comments 2023-06-24 22:51:26 -04:00
Jeffrey Walton
acb48cc180
Update comments in UnsignedMin 2023-06-24 03:09:00 -04:00
Jeffrey Walton
3e0742f5e7
Update comments in cryptest.sh 2023-06-24 02:58:05 -04:00
Jeffrey Walton
f156aeba4b
Avoid std::is_unsigned
Use of std::is_unsigned and friends caused lots of compile failures in C++11 and above. So much for that idea...
2023-06-24 02:52:44 -04:00
Jeffrey Walton
3b1cf30f1b
Guard use of std::numeric_limits<word128>::max()
Apple Clang has the problem. Limit the work around to just Apple Clang.
2023-06-23 17:04:38 -04:00
Jeffrey Walton
12c6a9032b
Use unsigned types with UnsignedMin 2023-06-23 16:51:05 -04:00
Jeffrey Walton
0b04c12cbe
Update comments
The apostrophe gave the pretty printer problems
2023-06-23 15:22:33 -04:00
Jeffrey Walton
cc920825d2
Guard std::numeric_limits::min and max for MSVC
Also see GH #1214
2023-06-23 15:07:13 -04:00
irwir
a5f47381b5
Fix macro and member function confilct for min and max (GH #1214) 2023-06-23 14:09:08 -04:00
Jeffrey Walton
0cf084506d
Add remainder of SafeConvert specializations 2023-06-23 04:08:58 -04:00
Jeffrey Walton
37846e0509
Fix SafeConvert on 32-bit platofrms 2023-06-23 02:52:15 -04:00
Jeffrey Walton
a58a783529
Update docs 2023-06-23 01:59:20 -04:00
Jeffrey Walton
7e631380cc
Add specialization for SafeConvert 2023-06-23 01:49:42 -04:00
Jeffrey Walton
823ceca743
Update docs 2023-06-23 01:19:28 -04:00
Jeffrey Walton
a9d062bf76
Add specialization for SafeConvert 2023-06-23 01:12:38 -04:00
Jeffrey Walton
cb914d6f31
Add curly braces for Clang builds 2023-06-23 00:33:31 -04:00
Jeffrey Walton
143b9d2619
Add specialization for SafeConvert 2023-06-23 00:24:04 -04:00
Jeffrey Walton
805a1c4fcf
Add casts for NTSTATUS in NtStatusToErrorCode 2023-06-23 00:18:42 -04:00
Jeffrey Walton
df86e69902
Add specialization for SafeConvert 2023-06-23 00:13:16 -04:00
Jeffrey Walton
dced966b7a
Clear unused-value warnings with void cast 2023-06-22 23:24:36 -04:00
Jeffrey Walton
14d799767a
Clear unused variable in fltimpl.h in cross-compiler way 2023-06-22 22:36:25 -04:00
Jeffrey Walton
c654762f91
Whitespace check-in 2023-06-22 22:36:01 -04:00
Jeffrey Walton
d8261ed8fb
Update compiler version defines 2023-06-22 02:32:34 -04:00
Jeffrey Walton
00262d939b
Add compile test code 2023-06-22 02:31:43 -04:00
Ed Maste
1a30be8807
Update Cirrus CI FreeBSD images (GH #1212)
FreeBSD 13.2 is the current supported release
2023-06-21 00:32:04 -04:00
CryptAxe
2038ab191e
Fix typos in Readme.txt (PR #1207) 2023-05-04 22:14:25 -04:00
Jeffrey Walton
899dea9071
Revert "Update RSA encryption and signature docs"
This reverts commit 9fb35dcc35. Going back through history, PKCS#1 v2.0 has been used in the comments for at least 20 years dating back to Crypto++ 5.0"
2023-04-22 01:05:18 -04:00
Jeffrey Walton
9fb35dcc35
Update RSA encryption and signature docs
Specifiy they use PKCS #1 v1.5.
2023-04-21 20:24:34 -04:00
Jeffrey Walton
16a8708c58
Handle '\r\0' from early RFCs in Readline 2023-04-21 10:34:59 -04:00
Jeffrey Walton
3b8c9303b4
Add typedefs for RSAES and RSASS using SHA256
Also see https://groups.google.com/g/cryptopp-users/c/0GXv5oj7RgI/m/MVZt_V8eBAAJ
2023-04-20 19:08:02 -04:00
Jeffrey Walton
03e9fa0942
Remove 'native' target from makefile 2023-04-16 14:11:09 -04:00
Jeffrey Walton
7c82386a86
Update comments in makefile 2023-04-16 14:10:04 -04:00