Jeffrey Walton
a0f3744ed4
Use __cpp_lib_uncaught_exceptions for CRYPTOPP_CXX17_EXCEPTIONS
...
Also see https://bugs.llvm.org/show_bug.cgi?id=39631
2018-11-12 03:37:32 -05:00
Jeffrey Walton
499a5e289d
Remove a.out artifacts whenever feature tests run (GH #738 )
2018-11-12 01:57:09 -05:00
Jeffrey Walton
f91584a7bc
Remove a.out artifacts on OS X during clean (GH #738 )
2018-11-12 00:56:54 -05:00
Jeffrey Walton
4e404cceeb
Fix incorrect Macport compiler detection (GH #738 )
2018-11-11 13:44:39 -05:00
Jeffrey Walton
b163176f82
Fix missing 'no such instruction' in assembler messages (GH #738 )
2018-11-11 13:35:03 -05:00
Jeffrey Walton
05f053007b
Make TrimComment call TrimSpace
2018-11-11 12:41:29 -05:00
Jeffrey Walton
de75959fd7
Move HAS_NEWLIB down to _XOPEN_SOURCE test
2018-11-11 11:54:58 -05:00
Jeffrey Walton
74ee0eef7e
Update comments
2018-11-11 10:55:51 -05:00
Jeffrey Walton
959d81b236
Fix cryptest.sh are *-simd file rename
2018-11-11 10:03:31 -05:00
Jeffrey Walton
40da78e5ad
Cleanup GNUmakefile (PR #737 )
2018-11-11 09:59:55 -05:00
Jeffrey Walton
04062661bf
Fix test program header include
2018-11-11 08:43:14 -05:00
Jeffrey Walton
8e83d7a8ff
Use __GNUC__ for POWER8 AES availability test
2018-11-11 08:00:45 -05:00
Jeffrey Walton
213569a46d
Remove Darwin requirement for Port compilers
...
I seem to recall someone used one on Linux at one time
2018-11-11 07:53:49 -05:00
Jeffrey Walton
8011f023b5
Add test programs to file list (PR #737 )
2018-11-11 01:33:41 -05:00
Jeffrey Walton
6e94562c52
Move to feature-based availability testing in Makefile (PR #737 )
2018-11-11 01:14:43 -05:00
Jeffrey Walton
087f97edea
Remove patch file
2018-11-10 22:24:23 -05:00
Jeffrey Walton
1db4115add
Allow all Android tests to fail until we fix the script for NDK 16b
2018-11-10 18:57:00 -05:00
Jeffrey Walton
5e48e6560e
Whitespace check-in
2018-11-10 14:10:31 -05:00
Jeffrey Walton
b354eee1ed
Add /arch:AVX for chacha_avx.cpp to Nmake recipe
2018-11-10 11:56:56 -05:00
Jeffrey Walton
0ee1cb2ae9
Rename files with dashes to underscores
...
Also see https://github.com/weidai11/cryptopp/issues/736
2018-11-10 11:55:39 -05:00
Jeffrey Walton
06e1d0c0d9
Add call to _mm256_zeroupper to avoid state penalties
...
Also see https://stackoverflow.com/a/7841251/608639
2018-11-10 11:39:30 -05:00
Jeffrey Walton
cc7d5c1561
Rename files with dashes to underscores
...
Also see https://github.com/weidai11/cryptopp/issues/736
2018-11-10 11:19:35 -05:00
Jeffrey Walton
f3fa10a15c
Rename files with dashes to underscores
...
Also see https://github.com/weidai11/cryptopp/issues/736
2018-11-10 11:16:39 -05:00
Jeffrey Walton
896225069d
Rename files with dashes to underscores (GH #736 )
...
Also see https://groups.google.com/forum/#!topic/cryptopp-users/HBz-6gZZFOA on the mailing list
2018-11-10 08:00:14 -05:00
Jeffrey Walton
776a2195bd
Re-add static functions to eccrypto.cpp
...
I think another approach is better for CMake
2018-11-09 21:29:59 -05:00
Jeffrey Walton
9dfc010425
Fix compile with SunCC using CMake
...
This is likely another SunCC problem.
2018-11-09 21:00:37 -05:00
Jeffrey Walton
f839e5093c
Enable SSE2 intrinsics for SunCC
2018-11-09 20:35:27 -05:00
Jeffrey Walton
2106086f1f
Fix Solaris mapfile
...
The mapfile now removes all hwcaps_1 (SSE-AVX), and hwcaps_2 (AVX2, RDRAND, RDSEED). Unfortunately, it requires 2 and does not work on Solaris 9.
2018-11-09 18:59:04 -05:00
Jeffrey Walton
a592d64d1d
Update comments
2018-11-09 17:04:02 -05:00
Jeffrey Walton
656be82a8f
Cleanup ARIA SSE and NEON code
2018-11-09 11:56:47 -05:00
Jeffrey Walton
ca9d0f10f6
Use single block for ARIA key
2018-11-09 10:16:40 -05:00
Jeffrey Walton
28e7baf46b
Clear C4456 under MSVC
2018-11-09 09:26:09 -05:00
Jeffrey Walton
a75f0cd855
Fix missing comment characters
2018-11-09 08:38:29 -05:00
Jeffrey Walton
092309b266
Fix global optimization bug for ChaCha AVX2 under VS2017 (GH #735 )
...
Also see https://github.com/weidai11/cryptopp/issues/649 . The 649 issue is the one affecting AES. It appears to be the same problem.
2018-11-09 08:00:53 -05:00
Jeffrey Walton
af9fb9d21e
Add ChaCha to self tests (GH #732 )
2018-11-08 22:08:59 -05:00
Jeffrey Walton
e6112e35df
Clear C4456 under MSVC
2018-11-08 21:31:25 -05:00
Jeffrey Walton
dede7bf6b4
Whitespace check-in
2018-11-08 20:34:22 -05:00
Jeffrey Walton
aa1d0a5129
Lower Binutil version to 2.23 for AVX
2018-11-08 19:03:33 -05:00
Jeffrey Walton
d9011f07d2
Add ChaCha AVX2 implementation (GH #735 )
2018-11-08 16:20:31 -05:00
Jeffrey Walton
9b31bc189c
Fix Solaris hardware cpas to allow AVX and AVX2
2018-11-08 15:38:13 -05:00
Jeffrey Walton
cc5eb3919f
Fix compile using SunCC 5.9
2018-11-08 15:08:30 -05:00
Jeffrey Walton
4ddaa9d01d
whitespace check-in
2018-11-07 13:18:37 -05:00
Jeffrey Walton
f57df06c5e
Disable global optimizations for Rijndael using MSC compiler (GH #649 )
2018-11-05 23:45:59 -05:00
Jeffrey Walton
5a36cd54bd
Add meaningful test failure messages
2018-11-05 21:26:16 -05:00
Jeffrey Walton
8b13c2a8d0
Whitespace check-in
...
Look, we can finally use whitespace to add breaks and make these somewhat readable.
2018-11-05 20:43:11 -05:00
Jeffrey Walton
93c7518900
Improve datatest parser
...
This switches to line oriented parsing for the test files. Previously we we using streams for names, and lines for values. We can now use whitespace and make the tests a bit more readable by grouping similar tests. AlgorithmType will clear the current accumlated values.
2018-11-05 20:40:39 -05:00
Jeffrey Walton
7c0be4ea8f
Add additional Salsa test vectors
2018-11-05 09:00:32 -05:00
Jeffrey Walton
5de6545827
Add additional test vectors
2018-11-04 20:05:08 -05:00
Jeffrey Walton
4ee0b3e2f6
cryptlib.h
2018-11-04 15:46:44 -05:00
Jeffrey Walton
f5bce1ab8c
Fix missing errno on PPC64 with GCC 4.8.5
2018-11-04 15:36:13 -05:00