Jeffrey Walton
2b5bea7b12
Fix POWER8 compile when -DCRYPTOPP_DISABLE_ALTIVEC
2018-11-22 22:23:44 -05:00
Jeffrey Walton
3efc7752e4
Remove __IBM_ATTRIBUTES
...
I believe this is C++ attributes, and not GCC attributes
2018-11-22 20:47:35 -05:00
Jeffrey Walton
3ba4dc6052
Use __IBMCPP_NULLPTR from IBM compiler manual
2018-11-22 19:44:41 -05:00
Jeffrey Walton
652d0e42bf
Use __IBM_ATTRIBUTES and __IBM_ALIGNOF__ from IBM compiler manual
2018-11-22 19:18:08 -05:00
Jeffrey Walton
2fe5177d07
Update documentation
2018-11-22 16:54:28 -05:00
Jeffrey Walton
17b7ebeb39
Update documentation
2018-11-22 16:37:41 -05:00
Jeffrey Walton
f6de172367
Fix UBsan finding on PowerPC under Clang 7.0
2018-11-22 16:27:16 -05:00
Jeffrey Walton
568d9376a2
Update documentation
...
Signed-off-by: Jeffrey Walton <noloader@gmail.com>
2018-11-22 13:54:03 -05:00
Jeffrey Walton
64981be36b
Remove unneeded assert in panama.cpp
...
The code handles both aligned and unaligned cases
2018-11-22 04:28:38 -05:00
Jeffrey Walton
8d4103fb0c
Fix alignment on AIX (GH #745 )
2018-11-22 00:15:37 -05:00
Jeffrey Walton
6cf8895bf1
Add additional assert to FixedSizeAllocatorWithCleanup (GH #745 )
...
This assert checks the array we return to the caller is large enough. Spoiler alert... it is not always large enough, like on 64-bit AIX. The linker on AIX appears to align smaller than 8-bytes
2018-11-21 23:04:00 -05:00
Jeffrey Walton
1e8ac49b49
Guard use of _debug_memset with __DEBUG_ALLOC__
...
This is engaged with IBM XLC's -qheapdebug option
2018-11-21 21:04:20 -05:00
Jeffrey Walton
e26b1a0b2a
Add debug heap support on AIX with IBM XLC
2018-11-21 20:19:06 -05:00
Jeffrey Walton
be437504c7
Clear "x" might be used before it is set using IBM XLC
2018-11-21 20:15:00 -05:00
Jeffrey Walton
5492101fc0
Fix XLC 13.1 debug builds on Linux
2018-11-21 17:37:19 -05:00
Jeffrey Walton
2caa62a066
Add TCXXFLAGS for compiler and cpu feature testing (GH #741 )
...
This will allow users to specify agreesive warning flags without accidentally failing a feature test. The feature tests are minimal but the system headers could be noisy under elevated warnings
2018-11-21 16:25:34 -05:00
Jeffrey Walton
4db81f2eba
Improve -fPIC and -pthread rules
2018-11-21 15:16:55 -05:00
Jeffrey Walton
322c67f373
Use previous digest size as a default value in BLAKE2
2018-11-21 13:28:21 -05:00
Jeffrey Walton
0d44176fd1
Cleanup debug information from SIMON source files
2018-11-21 13:05:59 -05:00
Jeffrey Walton
0998b40d2d
Disable Altivec for BLAKE2s on AIX 7.1 and XLC 12.01 (GH #743 )
2018-11-21 00:25:05 -05:00
Jeffrey Walton
a65d55a3fd
Rewrite BLAKE2 classes
...
The ParameterBlocks for BLAKE2 had undefined behavior. We relied on the compiler packing the bytes in the structure, then we used the first byte as the start of an array.
This rewrite does things correctly. We don't memset the structure, and we don't treat the structure as a contiguous array.
2018-11-20 23:32:35 -05:00
Jeffrey Walton
13bee44388
Update comments
2018-11-20 00:06:34 -05:00
Jeffrey Walton
3be1ae60f8
Clear warning on unitialized rounds
2018-11-19 23:41:34 -05:00
Jeffrey Walton
778f6f122d
Remove potential UB from CFB_CipherConcretePolicy
2018-11-19 23:40:51 -05:00
Jeffrey Walton
081d9110ee
Call VecStore_ALTIVEC by name
...
The old form could suffer recursion if teplate deduction fails
2018-11-19 20:59:15 -05:00
Jeffrey Walton
e6370f3ea1
Fix typo in VecStore
2018-11-19 20:31:06 -05:00
Jeffrey Walton
66b3ba5d66
Update comments
2018-11-19 20:02:51 -05:00
Jeffrey Walton
f52a141f6e
Add separate Polynomial Multiply feature test on POWER8 (GH#742)
2018-11-19 18:31:45 -05:00
Jeffrey Walton
215f9dc164
Fix POWER7 runtime detection test (GH #742 )
2018-11-19 18:31:00 -05:00
Jeffrey Walton
0de4556b39
Fix feature test programs for early POWER7 machines
2018-11-19 18:29:46 -05:00
Jeffrey Walton
0df98b049a
Improve support for early XLC compilers on POWER7 (GH #742 )
2018-11-19 18:28:50 -05:00
Jeffrey Walton
7274827f19
Add test_ppc_vmull.cxx test program
2018-11-19 15:47:04 -05:00
Jeffrey Walton
531ab7e8c5
Update comments
2018-11-19 15:23:29 -05:00
Jeffrey Walton
87565dce75
Add POWER3 test for PowerPC
...
Issue 656 talks about running on a G4 Macbook
2018-11-19 15:23:07 -05:00
Jeffrey Walton
3681d2fa1f
Update documentation
2018-11-19 13:50:53 -05:00
Jeffrey Walton
201375749b
Update documentation
2018-11-19 13:30:56 -05:00
Jeffrey Walton
4c192ecc18
Whitespace check-in
2018-11-19 04:55:45 -05:00
Jeffrey Walton
7d637ded9c
Cleanup POWER8 SHA code
2018-11-19 04:50:13 -05:00
Jeffrey Walton
2f26de7aab
Add 64-bit element loads and stores
2018-11-19 04:49:51 -05:00
Jeffrey Walton
3129ad4d70
Fix LLVM Clang compile on PowerPC
2018-11-19 02:28:29 -05:00
Jeffrey Walton
c9f1a26024
Update test programs for PowerPC (GH #741 )
2018-11-19 02:02:43 -05:00
Jeffrey Walton
b1929f78d0
Update test programs for PowerPC (GH #741 )
2018-11-19 01:36:11 -05:00
Jeffrey Walton
f8b1a997c5
Update test programs for PowerPC (GH #741 )
2018-11-18 23:41:43 -05:00
Jeffrey Walton
2bb9f49544
Add test_ppc_aes.cxx test program
2018-11-18 22:26:34 -05:00
Jeffrey Walton
1ac7207545
Use clean compile as feature test gate on PowerPC (GH #742 )
2018-11-18 20:49:55 -05:00
Jeffrey Walton
76cb99ffe8
Add unexpected to BAD_RESULT
2018-11-18 19:40:34 -05:00
Jeffrey Walton
a82e766925
Make CMake configurable in test script
2018-11-18 18:54:57 -05:00
Jeffrey Walton
b65ff5293a
Make CMake configurable in test script
2018-11-18 18:49:16 -05:00
Jeffrey Walton
3725c8411b
Move CPU_ProbePower7 and CPU_ProbePower8 into their own source files (GH #742 )
2018-11-18 16:35:02 -05:00
Jeffrey Walton
1a06aadbf0
Update comments
2018-11-18 14:54:37 -05:00