Commit Graph

4958 Commits (c3d4e79a0983c1b5ccf885d39edd44cebd51c07b)

Author SHA1 Message Date
Jeffrey Walton c3d4e79a09
Use CRYPTOPP_CXX11_DELETED_FUNCTIONS in NotCopyable 2019-07-01 13:27:51 -04:00
Jeffrey Walton 36e8dfeca8
Add define for C++11 deleted functions 2019-07-01 08:17:22 -04:00
Jeffrey Walton 18d5e5528f Fix divide by 0 finding (GH #855)
I'm not sure which tool is producing this finding. I am pretty sure it is a false positive, but clear it for the sake of dark and silent cockpits
2019-06-28 14:22:03 -04:00
Jeffrey Walton 26a59cd94b
Update README 2019-06-15 06:42:34 -04:00
Jeffrey Walton 840bc65740
Update README 2019-06-15 06:20:49 -04:00
Mouse 03619c0800
Merge pull request #853 from DimaStebaev/pull-request
Compilation warning fix.
2019-06-12 07:37:52 -04:00
Dmytro Stebaiev d24c991913
Pull changes from master branch 2019-06-10 11:25:46 +03:00
Jeffrey Walton 0ea4354157
Update comments 2019-06-09 12:52:10 -04:00
Jeffrey Walton 570a8e1b36
Whitespace check-in 2019-06-09 12:12:46 -04:00
Jeffrey Walton 955ac6fe24
Rework SSE2 and AVX2 loads and stores 2019-06-09 04:29:40 -04:00
Jeffrey Walton 8c78985de2
Add ModularArithmetic::operator= 2019-06-09 02:56:30 -04:00
Jeffrey Walton c1f4d17e10
Cleanup BERGeneralDecoder constructors
For real this time...
2019-06-09 02:03:06 -04:00
Jeffrey Walton 55fe6a2191
Cleanup BERGeneralDecoder constructors 2019-06-09 02:00:53 -04:00
Jeffrey Walton 8fab1c3677
Revert changes for lgtm findings
This broke SunCC to the point of no repair. SunCC is using AVX2 instructions for C++ and SSE2. Man this compiler sucks...
2019-06-09 01:49:44 -04:00
Jeffrey Walton 3ce1823fd1
Fix SunCC compile
Sun's compiler is mostly braindead.
2019-06-09 00:00:22 -04:00
Jeffrey Walton 6a11f00768
Clear lgtm findings 2019-06-08 12:59:14 -04:00
Jeffrey Walton 43b01973b1
Clear lgtm findings
We did some refactoring and added sse_simd.h. Over time more SSE functions will likely move into sse_simd.h
2019-06-08 11:00:11 -04:00
Jeffrey Walton afffba7b7b
Add -mtune=native option to makefile
Added for Solaris 11 .3 on SPARC64
2019-06-07 13:02:25 -04:00
Dmytro Stebaiev fa9187ac77
Fix compilation warning 2019-06-07 18:17:15 +03:00
Jeffrey Walton ed4996f652
Cleanup governor.sh script 2019-06-05 23:21:00 -04:00
Jeffrey Walton 29a30b74b0
Update head comments 2019-06-05 23:09:58 -04:00
Jeffrey Walton 17fa3031b3
Clear lgtm finding in ECP class 2019-06-05 10:52:45 -04:00
Jeffrey Walton d8122cec16
Avoid ARM rev on Aarch64
This broke Aarch64
2019-06-04 21:17:13 -04:00
Jeffrey Walton 6c009ddf43
Remove dummy operator= in ModularArithmetic 2019-06-04 19:05:33 -04:00
Jeffrey Walton 994c98b6c0
Fix GCC compile on AIX
In file included from test.cpp:31:0:
validate.h:213:93: error: operator '||' has no right operand
 #elif (_POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE || _POSIX_SOURCE)
2019-06-04 09:45:33 -04:00
Jeffrey Walton 3afb1f1099
Fix GCC compile on AIX
In file included from test.cpp:31:0:
validate.h:213:93: error: operator '||' has no right operand
 #elif (_POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE || _POSIX_SOURCE)
2019-06-04 09:37:28 -04:00
Jeffrey Walton 198b081df5
Add assert to RemainingLength member function 2019-06-04 09:29:01 -04:00
Jeffrey Walton 238578a808
Clear lgtm findings
The lgtm service asks for scoped calls to IsolatedInitialize. The code is a tad bit more readable, so we will clear the findings.
2019-06-04 05:31:46 -04:00
Jeffrey Walton 462bcc859d
Update Poly1305 nonce length check 2019-06-04 04:39:19 -04:00
Jeffrey Walton a644008679
Cleanup ASN.1 encoders and decoders (GH #851) 2019-06-04 02:49:16 -04:00
Jeffrey Walton ab538471b1
Update documentation 2019-06-04 02:46:43 -04:00
Jeffrey Walton f330c0eca8
Clear warning on missing assignment operator 2019-06-03 23:17:15 -04:00
Jeffrey Walton c76711237a
Call base class IsolatedInitialize 2019-06-03 06:45:58 -04:00
Jeffrey Walton 3faf716d73
Call base class IsolatedInitialize 2019-06-03 06:44:58 -04:00
Jeffrey Walton 0a20141f36
Clear warning for assignment operator in HuffmanNode 2019-06-03 06:32:24 -04:00
Jeffrey Walton 54d48ac1f4
Add header guard for serpentp.h 2019-06-03 06:17:58 -04:00
Jeffrey Walton 342cdb9589
Clear lgtm warning on unsafe functions 2019-06-03 05:41:58 -04:00
Jeffrey Walton 959494871f
Guard use of volatile cast in TEA and XTEA 2019-06-02 05:29:08 -04:00
Jeffrey Walton 9538f2d715
Fix compile on iOS 2019-06-01 08:05:39 -04:00
Jeffrey Walton f00b0427aa
Exit setenv script if not sourced 2019-06-01 07:43:32 -04:00
Jeffrey Walton 1a0d7c516d
Disable BMI2 code paths in Integer class (GH #850) 2019-06-01 00:14:19 -04:00
Jeffrey Walton 8e27c6b3fa
Fix OS X compile with Clang later than 6.0
It looks like Apple Clang 6.0 does not provide _blsr_u32 and friends. Later versions of Clang defines _blsr_u32 and it causes a stream of warnings.
2019-05-31 23:33:17 -04:00
Jeffrey Walton 392ec3465e
Fix OS X compile with Clang 6.0 2019-05-31 23:03:24 -04:00
Jeffrey Walton 4952fa489d
Use BMI2 when available for MultiplyWordsLoHi, MulAcc and friends
Using BMI2 saves about 0.03 ms on a Core i5 6400 @ 2.7 GHz. It is small but measurable. It also gives GCC more freedom in selecting memory or register operands
2019-05-31 09:42:39 -04:00
Jeffrey Walton fb0bef1eb6
Use BMI2 when available for MultiplyWordsLoHi, MulAcc and friends
Using BMI2 saves about 0.03 ms on a Core i5 6400 @ 2.7 GHz. It is small but measurable. It also gives GCC more freedom in selecting memory or register operands
2019-05-31 05:37:35 -04:00
Jeffrey Walton aed6e935d6
Update documentation 2019-05-30 23:22:47 -04:00
Jeffrey Walton 1f2be58434
Update Doxygen comments 2019-05-30 22:30:22 -04:00
Jeffrey Walton 0dd07252d2
Update comments 2019-05-28 20:19:34 -04:00
Jeffrey Walton e40de18538
Update comments 2019-05-28 20:18:58 -04:00
Jeffrey Walton b61da7acfe
Update cryptest-autotools script 2019-05-28 06:36:01 -04:00