Jeffrey Walton
b5b8dc86bd
Add TestScripts to GNUmakefile
2016-09-23 23:30:44 -04:00
Jeffrey Walton
1b5f1b6cf9
Fixed typo in cryptest.sh
2016-09-23 23:22:11 -04:00
Jeffrey Walton
a2b3e8653f
Fixed "cryptest.exe: '2.4+1e9' is not a value" (Issue 299)
2016-09-23 21:10:15 -04:00
Jeffrey Walton
0a22957481
Disable X86 ASM for VMAC (Issue 304)
...
Address Sanitizer reports problems from GCC 4.9 to 5.3 compilers. Valgrind 2.13-SVN does not report a problem. It needs to be investiagted more to determine what's going on
2016-09-23 20:56:01 -04:00
Jeffrey Walton
b1196d8319
Add messages for STLport and LLVM runtime and STL library
2016-09-23 16:17:18 -04:00
Jeffrey Walton
95242416d6
Delete cryptest-ios.sh after 'git mv' failed to delete it
...
Git could not find it in its heart to actually delete the file. What a broken tool.
2016-09-23 14:45:42 -04:00
Jeffrey Walton
dca76d760d
Delete cryptest.sh after 'git mv' failed to delete it
...
Git could not find it in its heart to actually delete the file. What a broken too.
2016-09-23 14:44:03 -04:00
Jeffrey Walton
2a22a84cd8
Fix typo in message
2016-09-23 13:38:09 -04:00
Jeffrey Walton
4ff49bfc62
Make GNU runtime and STL defult library. Add warning meesage when using GNU gear
2016-09-23 12:43:48 -04:00
Jeffrey Walton
e221eedc7a
Make GNU runtime and STL defult library. Add warning meesage when using GNU gear
2016-09-23 12:43:04 -04:00
Jeffrey Walton
d32d49c3b0
Add unset argument to clear former envars
2016-09-23 12:25:35 -04:00
Jeffrey Walton
2bafebe798
Organize test scripts (Issue 303)
2016-09-23 12:04:33 -04:00
Jeffrey Walton
193983c620
Added reference to CVE-2016-7544 (Issue 302)
2016-09-23 11:36:52 -04:00
Jeffrey Walton
01dbfc8151
Organize test scripts (Issue 303)
2016-09-23 11:32:48 -04:00
Jeffrey Walton
e8b9b7475f
Organize test scripts (Issue 303)
2016-09-23 11:32:14 -04:00
Jeffrey Walton
2ac9ea1253
Guard use of '-march=native' in test script
2016-09-23 02:53:20 -04:00
Jeffrey Walton
f9ee4e2dab
Revert 823bc93357da32a3 (Issue 302)
...
The 823 commit introduced a subtle bug we were not able to detect during testing. However, users experienced it in the field. We are reverting it because we violated the "do no harm" rule. The next steps are (1) completely remediation and (2) proper testing of the unit
2016-09-23 01:58:00 -04:00
Jeffrey Walton
15855226fa
Clang 3.9 and missing member definitions for template classes (Issue 300)
2016-09-22 23:57:57 -04:00
Jeffrey Walton
e0651b458f
Fix Visual Studio 2005 compile (Part of Issue 300)
2016-09-22 23:54:10 -04:00
John Byrd
a33b95325f
When calculating the AES block cipher, allocate 4K of memory on the stack instead of 256+ bytes. Search within that 4K space to put the 256-byte aligned Locals struct in a place which does not have 4K cache conflicts with the Te temporary buffer. This permits us to call _malloca() or alloca() once per call of this function. This commit also makes sure that the Microsoft-only _freea() occurs at the correct location instead of at a pointer to the middle of the stack, when the memory allocated by _malloca() or alloca() is not 256-byte aligned.
2016-09-22 17:43:57 -07:00
Jeffrey Walton
ddac25ead8
Fix GCC attempting to use -stdlib=libc++
2016-09-22 19:33:06 -04:00
Jeffrey Walton
99a83105bd
"EMSA2HashId<SHA>::id" → "EMSA2HashId<SHA1>::id"
2016-09-22 12:23:46 -04:00
Jeffrey Walton
dcbb0c55d9
Whitespace cleanup
2016-09-22 10:35:57 -04:00
Jeffrey Walton
d5aff4e4f8
Cleared Coverity finding CID 12086 (Issue 299)
2016-09-22 03:08:28 -04:00
Jeffrey Walton
17258a49d3
Add Keccak-224 through Keccak-512 benchmarks
2016-09-22 00:49:24 -04:00
Jeffrey Walton
c7303a600f
Cleared Coverity finding CID 12086 (Issue 299)
2016-09-22 00:11:35 -04:00
Jeffrey Walton
933e63f162
Fix use of template parameter as a condition
2016-09-21 23:04:43 -04:00
Jeffrey Walton
91020ce3ba
Cleared signed/unsigned warning under Visual Studio (Related to Issue 295)
2016-09-21 22:10:03 -04:00
Jeffrey Walton
6bfa0d9ab0
Cleared Coverity finding CID 170383 (INTEGER_OVERFLOW) (295)
...
ModPowerOf2 was changed to include a saturating subtract. Unintuitively, the code got faster rather than slower. The saturating operation appears to have helped the optimizer
2016-09-21 21:50:02 -04:00
Jeffrey Walton
9b27d6b83f
Cleared Coverity finding CID 170382 (CONSTANT_EXPRESSION_RESULT) (Issue 298)
2016-09-21 21:16:58 -04:00
Jeffrey Walton
b4f08a3fa1
Trivial VC10 project fixes (Issue 287)
2016-09-21 20:18:58 -04:00
Jeffrey Walton
6200029faa
Fix Clang 3.3 and 3.4 compiles (Issue 264)
2016-09-21 13:57:37 -04:00
Jeffrey Walton
1de8ca5774
Revert "Rewrite 'keylength < MIN_KEYLENGTH' to avoid -Wtautological-compare"
...
This reverts commit 08a206f3eb2713a17eda636ebb96ed8142a4036d. This broke the self tests, and casting everything to 'signed int' to avoid unsigned promots did not resolve the issue.
2016-09-21 13:47:47 -04:00
Jeffrey Walton
08a206f3eb
Rewrite 'keylength < MIN_KEYLENGTH' to avoid -Wtautological-compare
...
The warning surfaces under earlier Clnag's and GCC's
2016-09-21 12:47:26 -04:00
Jeffrey Walton
caf8aef8fe
Updated documentation
2016-09-21 11:57:59 -04:00
DevJPM
70635865a1
Templated Keccak and SHA3
...
templated Keccak and SHA3 to reduce code-size, added a
StaticAlgorithmName() to the base classes and restricted use of
constexpr to this new function in the base classes
2016-09-21 14:16:10 +02:00
Jeffrey Walton
54557b1827
Merge pull request #294 from weidai11/revert-270-fix-undefined-var-template-warning
...
Revert "Fix clang warnings about undefined variable templates in pkcspad.h"
2016-09-21 02:41:26 -04:00
Jeffrey Walton
7a3318218b
Revert "Fix clang warnings about undefined variable templates in pkcspad.h"
2016-09-21 02:39:01 -04:00
Jeffrey Walton
cd06bac6bf
Merge pull request #270 from DimitryAndric/fix-undefined-var-template-warning
...
Fix clang warnings about undefined variable templates in pkcspad.h
2016-09-21 02:34:03 -04:00
Jeffrey Walton
e1f0252b71
Add SSE2 and AVX2 arch switches
2016-09-21 02:17:02 -04:00
Jeffrey Walton
57b3a7c9cc
Fix SunCC compile under x86_64
2016-09-21 02:07:17 -04:00
Jeffrey Walton
ec2f4f597e
Fix MSC compile under ARM
2016-09-21 02:03:45 -04:00
Jeffrey Walton
06e29357cb
config.compat
...
Fix MSC compile under ARM
2016-09-21 02:02:55 -04:00
Jeffrey Walton
32ae3e52f1
Partially revert 714daaf5706e9e2b.
...
We were mostly OK under i686/x86_64, but Clang died completely under ARM-32 and Aarch64.
2016-09-21 00:35:59 -04:00
Jeffrey Walton
584f2f2ad1
Cleared Coverity finding CID 170385 (UNINIT_CTOR) (Issue 293)
2016-09-20 20:51:13 -04:00
Jeffrey Walton
c298dfdbb0
Revert ccd59710 (Issue 292)
2016-09-20 19:01:38 -04:00
Jeffrey Walton
1dd3fae316
Updated documentation
2016-09-20 15:57:45 -04:00
Jeffrey Walton
26c8fa3976
Updated documentation
2016-09-20 10:03:49 -04:00
Jeffrey Walton
aaedeaa647
Updated documentation
2016-09-20 10:03:11 -04:00
Jeffrey Walton
b79ca63a34
Merge pull request #291 from DevJPM/Keccak-Typedef
...
Keccak typedef
2016-09-20 09:29:24 -04:00