Jeffrey Walton
ab7f885c9f
Fix CPU_ProbePMULL on PowerPC
2022-03-29 21:17:37 -04:00
Jeffrey Walton
003959567f
Fix SIGIL on PowerPC during cpu feature probes (GH #1115 )
...
Also see GH #1112
2022-03-29 21:06:48 -04:00
Jeffrey Walton
9d055394d9
Fix use of bitwise OR with booleans in rsa.cpp (GH #1114 )
2022-03-26 09:09:19 -04:00
Jeffrey Walton
6a3b34f555
Fix GCC incorrectly removing code (GH #1112 )
2022-03-22 07:11:06 -04:00
Jeffrey Walton
bfbf76fd0f
Update g_PowerPcDetectionDone variable name
2022-03-21 07:46:19 -04:00
Jeffrey Walton
1ab00148ba
Fix PowerPC feature detection
2022-03-21 07:24:28 -04:00
Jeffrey Walton
5e5808ad1e
Update cryptest.sh for ARM NEON
2022-03-04 22:13:30 -05:00
Jeffrey Walton
458a69fdbc
Fix Cygwin NonblockingRng build due to missing O_NOFOLLOW
2022-02-27 16:28:32 -05:00
Jeffrey Walton
2ef3254fe1
Fix NonblockingRng on Solaris
...
Solaris links /dev/urandom to .../devices/pseudo/random@0:urandom. We allow the link in this case.
2022-02-26 14:47:11 -05:00
Jeffrey Walton
27b7b8e4e6
Disable Analyzer tests. C++ is still not working.
2022-02-16 15:08:03 -05:00
Jeffrey Walton
5c01b1115e
Disable Analyzer tests. C++ is still not working.
2022-02-16 14:45:18 -05:00
Jeffrey Walton
b8a73a9faa
Fix copy/paste in cryptest.sh
2022-02-16 10:25:39 -05:00
Jeffrey Walton
1f258c72d2
Fix missing CPU_Probe functions when CRYPTOPP_DISABLE_ASM
2022-02-16 05:37:28 -05:00
Jeffrey Walton
647fe861cf
Add -I. option for testing programs
2022-02-16 05:19:02 -05:00
Jeffrey Walton
5c68c63fd9
Use curl or wget for download
2022-02-15 22:26:32 -05:00
Jeffrey Walton
3d9245db91
Remove SIMD files when CRYPTOPP_DISABLE_ASM
2022-02-15 21:33:38 -05:00
Jeffrey Walton
667df88670
Update cryptest.sh script
2022-02-15 11:00:58 -05:00
Jeffrey Walton
15677c7c05
Update cryptest.sh script
2022-02-15 08:23:42 -05:00
Jeffrey Walton
0d869878bc
Update cryptest.sh script
2022-02-15 06:39:52 -05:00
Jeffrey Walton
3f3e8c70d0
Update cryptest.sh script
2022-02-15 06:37:39 -05:00
Jeffrey Walton
14cfaeba6a
Update cryptest.sh script
2022-02-15 06:36:00 -05:00
Jeffrey Walton
857a542463
Update cryptest.sh to track failed tests
2022-02-14 22:55:00 -05:00
Jeffrey Walton
79518b0b8a
Update makefiles
2022-02-14 22:54:39 -05:00
Jeffrey Walton
c07c53ae41
Cleanup after merging PR #1043
2022-02-14 09:08:10 -05:00
ejl103
e06bac5bfc
Fix issue with VS runtime checks for data truncation ( #1043 )
...
When running VS with the 'c' runtime check on for data truncation (see https://docs.microsoft.com/en-us/cpp/build/reference/rtc-run-time-error-checks?view=msvc-160 )
This code will throw errors because the 64 bit ptr gets truncated to a 32bit value. Normally I'd disable this using the pragma specifically for this code, but sadly that doesn't work for template functions, so I have come up with a way to get the appropriate masking type for any template combinations and using the recommended way to silence the error without impacting the quality of the generated code.
This code could be more concise in modern C++ but it seems the project expects to support C++03 so this should work fine there.
All tests passed locally for me on Windows (some asserts but verified they were the same before my changes)
2022-02-14 09:02:13 -05:00
Jeffrey Walton
7762fe2186
Make bootstrap.sh /bin/sh friendly
2022-02-13 23:24:50 -05:00
jamiehankins
70432b3eb1
Update .gitignore ( #1083 )
...
This ignores the .vs directory at the root. The directory is used by Visual Studio to save user configuration that should not be in source control.
2022-02-13 21:42:48 -05:00
Jeffrey Walton
b54a41d9f2
Try fix ProcessData in CFB_CipherTemplate and AdditiveCipherTemplate
...
This commit attempts to restore performance while taming the optimizer.
Also see GH #683 , GH #1010 , GH #1088 , GH #1103 .
2022-02-13 21:18:43 -05:00
Jeffrey Walton
711e79f102
Update misc.cpp and xts.cpp header includes
2022-02-13 20:06:04 -05:00
Jeffrey Walton
b4d21aa506
Update documentation
2022-02-13 18:33:08 -05:00
Jeffrey Walton
5baf6c5364
Fix SM3 and SM4 test programs
2022-02-13 18:21:54 -05:00
Jeffrey Walton
296258dea8
Fix test program include
2022-02-13 18:12:17 -05:00
Jeffrey Walton
a5ef464ae8
Fix test program include
2022-02-13 16:54:02 -05:00
Jeffrey Walton
a1e35ee50e
Fix test program include
2022-02-13 16:49:10 -05:00
Jeffrey Walton
8799a8948a
Update cryptest-autools.sh script
2022-02-13 14:55:08 -05:00
Jeffrey Walton
2384c8ea1e
Fix typos in Makefiles
2022-02-13 02:13:16 -05:00
Jeffrey Walton
e3fb5a9918
Add ASFLAGS to setenv-android.sh
2022-02-12 23:49:31 -05:00
Jeffrey Walton
003256431e
Whitespace check-in
2022-02-12 21:57:47 -05:00
Jeffrey Walton
6e84ed3767
Update cryptest-autools.sh script
2022-02-12 21:57:29 -05:00
Jeffrey Walton
5db47eba56
Update cryptest-autools.sh script
2022-02-12 21:40:43 -05:00
Jeffrey Walton
fd1b8298be
Update cryptest-autools.sh script
2022-02-12 21:31:27 -05:00
Jeffrey Walton
5dde13d1e3
Add bootstrap.sh to autotools-clean recipe
2022-02-12 21:25:08 -05:00
Jeffrey Walton
2ca062e4d5
Update cryptest-autools.sh script
2022-02-12 21:17:10 -05:00
Jeffrey Walton
749a8b34d4
Update cryptest-autools.sh script
2022-02-12 21:04:53 -05:00
Jeffrey Walton
911d8c4347
Update cryptest-autools.sh script
2022-02-12 20:56:45 -05:00
Jeffrey Walton
6eefbcf3cb
Use CPPFLAGS in NMake recipes
2022-02-12 17:01:48 -05:00
Jeffrey Walton
dfcee7d2c4
Clear Visual Studio warning
2022-02-12 16:02:41 -05:00
Jeffrey Walton
7a01e6052f
Add test_arm_armv7.cpp program
2022-02-11 22:14:50 -05:00
Jeffrey Walton
d068c66526
Fix Visual Studio build (GH # 1105)
2022-02-11 21:37:03 -05:00
Jeffrey Walton
9dcfe507d3
Clear MSVC conversion warning
2022-02-11 19:55:33 -05:00