Commit Graph

6304 Commits

Author SHA1 Message Date
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
Jeffrey Walton
4473b50803
Fix 32-bit ARM build 2022-02-11 08:07:33 -05:00
Jeffrey Walton
ce961bce0e
Remove SSE and AVX source files from non-Intel platforms 2022-02-10 23:08:58 -05:00
Jeffrey Walton
a1d5313c7d
Use CRYPTOPP_CPPFLAGS in recipes that use CPPFLAGS 2022-02-10 22:45:43 -05:00
Jeffrey Walton
56e5d5921d
Use CRYPTOPP_CPPFLAGS for Cryptogams recipe 2022-02-10 22:39:48 -05:00
Jeffrey Walton
4a0857f491
Fix Cryptogams ARMv7 test 2022-02-10 22:23:04 -05:00
Jeffrey Walton
0fd499946f
Fix ARMv7 compile test 2022-02-10 21:43:06 -05:00
Jeffrey Walton
6215e1d2e3
Use CRYPTOPP_ARM_NEON_AVAILABLE in sha.cpp 2022-02-10 21:29:30 -05:00
Jeffrey Walton
3632a54e1a
Allow Cryptogams AES and SHA unless CRYPTOPP_DISABLE_ASM 2022-02-10 19:42:56 -05:00
Jeffrey Walton
a619dae0a0
Disable NEON when NEON test fails, not ASM 2022-02-10 19:39:44 -05:00
Jeffrey Walton
8d8524e66c
Fix grep expression 2022-02-10 19:27:11 -05:00
Jeffrey Walton
90e64ab645
Update Cryptogams SHA recipes 2022-02-10 19:01:39 -05:00
Jeffrey Walton
c38adfd7f4
Don't use -march=armv7 when compiler already offers it (GH #1094) 2022-02-10 18:56:24 -05:00
Jeffrey Walton
03e043a72d
Squash linker and libtool warnings 2022-02-10 12:08:03 -05:00
Jeffrey Walton
444c20d268
Squash linker and libtool warnings 2022-02-10 10:30:03 -05:00
Jeffrey Walton
ea9532e5c9
Couple Cryptogams source files to ARMv7 and NEON 2022-02-08 13:33:12 -05:00
Jeffrey Walton
9dffe71da7
Couple Cryptogams source files to ARMv7 and NEON 2022-02-08 12:33:13 -05:00
Jeffrey Walton
60c5cfeb5b
Use CPPFLAGS more consistently in Makefiles 2022-02-08 11:49:25 -05:00