Commit Graph

4252 Commits (926e91008b289f10ac2f8d5868e1cfa1420544ae)

Author SHA1 Message Date
Jeffrey Walton 926e91008b
Use Windows EOL conventions 2018-11-13 13:48:38 -05:00
Jeffrey Walton 69a00192b9
Add return value to pthread test function 2018-11-13 13:43:20 -05:00
Jeffrey Walton dd6af58c98
Add pthreads test 2018-11-13 12:13:16 -05:00
Jeffrey Walton e69106f257
Add "Invalid mnemonic" to bad result on PPC 2018-11-13 01:57:12 -05:00
Jeffrey Walton 27b61d8752
Add CRYPTOPP_INLINE to SIMON and SPECk for debugging 2018-11-13 00:02:34 -05:00
Jeffrey Walton 4da4f7ea2a Add AVX2 arch to chacha_avx.cpp 2018-11-13 00:01:55 -05:00
Jeffrey Walton 57b2bf5708
Switch to VectorLoad overload with one arg 2018-11-12 23:38:46 -05:00
Jeffrey Walton 7515b4d661
Fix SIMON64 and SPECK64 providers 2018-11-12 22:03:26 -05:00
Jeffrey Walton 9550ccc9a3
Port SIMON64 to Altivec
SIMON64 runs about 4x faster than C++ for POWER4 and friends. If POWER7 is available it goes back to full speed due to efficient unaligned loads
2018-11-12 21:51:11 -05:00
Jeffrey Walton a0608a6b80
Port SPECK64 to Altivec
SPECK64 runs about 4x faster than C++ for POWER4 and friends. If POWER7 is available it goes back to full speed due to efficient unaligned loads
2018-11-12 20:56:15 -05:00
Jeffrey Walton b372f7d387
Clear unused variable warning 2018-11-12 16:54:29 -05:00
Jeffrey Walton cff351de11
Simplify Aach64 polynomial multiply tests 2018-11-12 16:50:52 -05:00
Jeffrey Walton 6291e2fbeb
Simplify Aach64 polynomial multiply tests 2018-11-12 16:36:46 -05:00
Jeffrey Walton 75c9775944
Simplify Aach64 polynomial multiply tests 2018-11-12 16:27:48 -05:00
Jeffrey Walton 1070186bc4
Update Filelist.txt 2018-11-12 15:44:05 -05:00
Jeffrey Walton cac97f041d
Rename PPC feature tests to test_ppc_xxx.cxx (PR #737) 2018-11-12 15:43:01 -05:00
Jeffrey Walton ff212dae3e
Rename x86 feature tests to test_x86_xxx.cxx (PR #737) 2018-11-12 15:37:14 -05:00
Jeffrey Walton 41639e5ec6
Fix ARM A-32 and Aarch64 feature tests (PR #737) 2018-11-12 14:59:36 -05:00
Jeffrey Walton 886fd7903d
Remove wildcard from a.out clean recipe 2018-11-12 05:25:01 -05:00
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