Hi Everyone, I kicked of some tests on my fork last night for the recent changes. My fork includes splitting sources files into C++ and SIMD implementations to better support distros, and it includes ARMv8 AES testing.
The i686/amd64 tests are starting to trickle in and the results are good. An example is shown below. We'll start getting ARMv7 and ARMv8 results in a day or two. Jeff ************************************************ ************************************************ $ head -128 cryptest-result.txt IS_LINUX: 1 IS_X64: 1 HAVE_CXX03: 1 HAVE_GNU03: 1 HAVE_CXX11: 1 HAVE_GNU11: 1 HAVE_CXX14: 1 HAVE_GNU14: 1 HAVE_CXX17: 1 HAVE_GNU17: 1 HAVE_LDGOLD: 1 OPT_O3: -O3 OPT_O5: -O5 OPT_OS: -Os OPT_OFAST: -Ofast HAVE_OMP: 1 HAVE_ASAN: 1 HAVE_UBSAN: 1 HAVE_BSAN: 1 HAVE_VALGRIND: 0 CPU: 4 logical FREQ: 3.14713 GHz MEM: 7884 MB Git branch: master (commit 6478d6db87a7e96c) Compiler: g++ (GCC) 6.4.1 20170727 (Red Hat 6.4.1-1) Pathname: /bin/g++ DEBUG_CXXFLAGS: -DDEBUG -g3 -O0 RELEASE_CXXFLAGS: -DNDEBUG -g2 -O2 VALGRIND_CXXFLAGS: -DNDEBUG -g3 -O1 Start time: Mon Aug 7 01:42:55 EDT 2017 ************************************ Testing: No Posix NDEBUG or assert Verified no Posix NDEBUG or assert ************************************ Testing: C++ std::min and std::max Verified std::min and std::max ************************************ Testing: X86 rotate immediate code generation g++ -DNDEBUG -g2 -O2 -DDISABLE_NATIVE_ARCH=1 -fPIC -pipe -c sha.cpp Verified rotate immediate machine instructions (SHA256_HashBlocks_SSE2) ************************************ Testing: X86 CRC32 code generation g++ -DNDEBUG -g2 -O2 -DDISABLE_NATIVE_ARCH=1 -fPIC -pipe -msse4.2 -c crc-simd.cpp Verified crc32b and crc32l machine instructions ************************************ Testing: X86 AES-NI code generation g++ -DNDEBUG -g2 -O2 -DDISABLE_NATIVE_ARCH=1 -fPIC -pipe -msse4.1 -maes -c rijndael-simd.cpp Verified aesenc, aesenclast, aesdec, aesdeclast, aesimc, aeskeygenassist machine instructions ************************************ Testing: X86 carryless multiply code generation g++ -DNDEBUG -g2 -O2 -DDISABLE_NATIVE_ARCH=1 -fPIC -pipe -mssse3 -mpclmul -c gcm-simd.cpp Verified pclmullqhq and pclmullqlq machine instructions ************************************ Testing: X86 RDRAND and RDSEED code generation g++ -DNDEBUG -g2 -O2 -DDISABLE_NATIVE_ARCH=1 -fPIC -pipe -c rdrand.cpp Verified rdrand and rdseed machine instructions ************************************ Testing: X86 SHA code generation g++ -DNDEBUG -g2 -O2 -DDISABLE_NATIVE_ARCH=1 -fPIC -pipe -msse4.2 -msha -c sha-simd.cpp Verified sha1rnds4, sha1nexte, sha1msg1, sha1msg2, sha256rnds2, sha256msg1 and sha256msg2 machine instructions ************************************ ... ************************************ 72 configurations tested - No Posix NDEBUG or assert - C++ std::min and std::max - X86 rotate immediate code generation - X86 CRC32 code generation - X86 AES-NI code generation - X86 carryless multiply code generation - X86 RDRAND and RDSEED code generation - X86 SHA code generation - Debug, default CXXFLAGS - Release, default CXXFLAGS - Fedora standard build - Debug, x86_64 minimum arch CXXFLAGS - Release, x86_64 minimum arch CXXFLAGS - Debug, mismatched arch capabilities - Release, mismatched arch capabilities - Debug, DISABLE_ASM - Release, DISABLE_ASM - Debug, c++03 - Release, c++03 - Debug, gnu++03 - Release, gnu++03 - Debug, c++11 - Release, c++11 - Debug, gnu++11 - Release, gnu++11 - Debug, c++14 - Release, c++14 - Debug, gnu++14 - Release, gnu++14 - Debug, c++17 - Release, c++17 - Debug, gnu++17 - Release, gnu++17 - Debug, INIT_PRIORITY (0) - Release, INIT_PRIORITY (0) - Debug, NO_OS_DEPENDENCE - Release, NO_OS_DEPENDENCE - Debug, ld-gold linker - Release, ld-gold linker - Debug, -O3 optimizations - Release, -O3 optimizations - Debug, -O5 optimizations - Release, -O5 optimizations - Debug, -Os optimizations - Release, -Os optimizations - Debug, -Ofast optimizations - Release, -Ofast optimizations - Debug, dead code strip - Release, dead code strip - Debug, OpenMP - Release, OpenMP - Debug, c++03, UBsan - Release, c++03, UBsan - Debug, c++03, Asan - Release, c++03, Asan - Debug, c++03, Bounds Sanitizer - Release, c++03, Bounds Sanitizer - Debug, c++11, UBsan - Release, c++11, UBsan - Debug, c++11, Asan - Release, c++11, Asan - Debug, c++11, Bounds Sanitizer - Release, c++11, Bounds Sanitizer - Release, c++14, UBsan - Release, c++14, Asan - Release, c++14, Bounds Sanitizer - Release, c++17, UBsan - Release, c++17, Asan - Release, c++17, Bounds Sanitizer - Clang compiler - Test install with data directory - Test remove with data directory ************************************************ No failures detected ************************************************ No warnings detected ************************************************ Testing started: Mon Aug 7 01:42:55 EDT 2017 Testing finished: Mon Aug 7 05:26:21 EDT 2017 -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.