Commit Graph

4454 Commits (d481922a507be2a6352f2b2f3c5c64ebf887d421)

Author SHA1 Message Date
Jeffrey Walton d481922a50
Re-enable UBsan tests on Travis
The Xenial image and the Xcode 10.1 toolchain are mature enough to enable the sanitizer.
2018-12-12 09:34:09 -05:00
Jeffrey Walton 3d98320b1e
Fix compile on 32-bit SunCC (GH #761) 2018-12-12 09:05:56 -05:00
Jeffrey Walton 80c551121f
Remove duplicate test run
The test vector collection is run earlier in the process.
2018-12-12 05:59:20 -05:00
Jeffrey Walton e97d6d0ff5
Fix failed self test when NO_OS_DEPENDENCE (GH #761)
Add is_clamped for secret key validation.

Cleanup paramter names in Donna::curve25519 to follow function.

Overload Donna::curve25519 to implicitly use base point if not provided.

Add additional asserts to let the code debug itself.

Update documentation.
2018-12-12 03:56:09 -05:00
Jeffrey Walton 80776453f8
Fix x25519 test data (GH #761) 2018-12-12 03:55:56 -05:00
Jeffrey Walton 34d42b6998
Cut-in x25519 weak points and validation 2018-12-11 18:26:44 -05:00
Jeffrey Walton 4afa78c0e2
Update documentation 2018-12-11 17:48:19 -05:00
Jeffrey Walton 20fce33449
Update documentation 2018-12-11 17:32:28 -05:00
Jeffrey Walton 77923a291a
Add Langley's curve25519 (GH #761, PR# 762) 2018-12-11 16:17:56 -05:00
Jeffrey Walton c1681148a2
Add fallback arch in case arch is not set for setenv-ios.sh 2018-12-09 13:19:27 -05:00
Jeffrey Walton 0aa217b91c
Update comments in config.h
Some comments in config.h were old. Time for a refresh.
Switch from CRYPTOPP_BOOL_ARM64 to CRYPTOPP_BOOL_ARMV8. Aarch32 is ARMv8, and that's the important part.
2018-12-09 10:24:55 -05:00
Jeffrey Walton fbb9b40397
Update Travis Android SDK and NDK gear 2018-12-09 09:43:15 -05:00
Jeffrey Walton 709ca5c480
Update Travis Android SDK and NDK gear 2018-12-09 09:39:38 -05:00
Jeffrey Walton 354e7ca7c9
Update Travis Android SDK and NDK gear 2018-12-09 08:11:04 -05:00
Jeffrey Walton e08898b215
Squash Android SDK warning
Also see https://stackoverflow.com/a/47028911/608639
2018-12-09 06:36:52 -05:00
Jeffrey Walton b6acde8327
Add setenv-travis script 2018-12-09 06:04:53 -05:00
Jeffrey Walton 123b0725cf
Update Travis Android SDK and NDK gear 2018-12-09 04:52:06 -05:00
Jeffrey Walton 7a191ba42d
Update Travis Android SDK and NDK gear 2018-12-09 04:51:07 -05:00
Jeffrey Walton 435b7cabd3
Update Travis Android SDK and NDK gear 2018-12-09 04:19:00 -05:00
Jeffrey Walton b324f18777
Increase git clone depth for Travis 2018-12-09 03:31:50 -05:00
Jeffrey Walton 872c9487e5
Rename VS2005 files with dashes to underscores (GH #736) 2018-12-08 13:26:54 -05:00
Jeffrey Walton 99b7a73047
Add missing iOS architectures for Travis 2018-12-08 12:50:16 -05:00
Jeffrey Walton 7777704a38
Move iOS simulator builds to allowed_failures in Travis 2018-12-08 11:40:53 -05:00
Jeffrey Walton 95964fd0b3
Backout setenv-ios.sh changes
The changes did not help
2018-12-08 11:31:30 -05:00
Jeffrey Walton d1156ddfc6
Try -watchos_simulator_version_min and -tvos_simulator_version_min 2018-12-08 10:37:57 -05:00
Jeffrey Walton d48192d190
Remove -no_new_main from Apple Watch and TV simulators
It did not help...
2018-12-08 10:24:58 -05:00
Jeffrey Walton 1e9a487b47
Clear Clang warning about C++11 template extension
"warning: non-type template argument referring to function 'F' with internal linkage is a C++11 extension". Also see https://travis-ci.org/noloader/cryptopp/jobs/465328751
2018-12-08 09:51:42 -05:00
Jeffrey Walton 55b1535a18
Try to fix Watch and TV simulator link error
Something about a missing _start symbol. I'm not sure if -no_new_main is the solution or not. Also see https://stackoverflow.com/q/24841283/608639.
2018-12-08 09:03:38 -05:00
Jeffrey Walton c531c1c550
Add iOS Watch and TV simulator testing 2018-12-08 08:28:53 -05:00
Jeffrey Walton c52e99a3c1
Fix ANDROID_HOME path
ANDROID_HOME is /c/Users/Jeff/.android on desktops. It is a place where user's private data goes, like Android debug signing keys. It is not the SDK directory like answered on Stack Overflow.
2018-12-08 08:24:27 -05:00
Jeffrey Walton 5124ff7b20
Use OS X 10.1 image for Travis testing 2018-12-08 08:08:08 -05:00
Jeffrey Walton 8c4f38b27d
Update comments 2018-12-08 00:01:38 -05:00
Jeffrey Walton eee358b025
Fix DataDir for C++03 and below (GH #760) 2018-12-07 23:42:31 -05:00
Jeffrey Walton 5b0df2592a
Handle test vectors with extensions 2018-12-07 14:25:10 -05:00
Jeffrey Walton 1c88fd6f59
Add search for test vectors and test data (GH #760) 2018-12-07 12:25:52 -05:00
Jeffrey Walton 52035583de
Cleanup Panama cihers 2018-12-07 01:46:49 -05:00
Jeffrey Walton 08aa7724cd
Disable Panama ASM on X86 (GH #758) 2018-12-06 18:28:56 -05:00
Jeffrey Walton f74b8c8344
Fix -Wreorder warning using GCC 2018-12-06 08:39:19 -05:00
Jeffrey Walton fd15d998be
Update comments 2018-12-05 19:53:14 -05:00
Jeffrey Walton 7656ff2b49
Fix Fedora and Red Hat feature tests
They use a hardened build and include flags like -Werror=XXX and -Wp,FORTIFY_SOURCE
2018-12-05 18:35:21 -05:00
Jeffrey Walton a6067da355
Fix Fedora and Red Hat feature tests
They use a hardened build and include flags like -Werror=XXX and -Wp,FORTIFY_SOURCE
2018-12-05 18:30:25 -05:00
Jeffrey Walton 8769302a8b
Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test (GH #756, PR #757) 2018-12-05 13:22:10 -05:00
Jeffrey Walton 4b295f1f32
Use const_cast instead of reinterpret_cast 2018-12-04 22:12:07 -05:00
Jeffrey Walton 7832ae3733
Switch to uintptr_t for IsAlignedOn
I thought this might be part of the problem for https://groups.google.com/d/msg/cryptopp-users/sHCHSjM7scY/PkcSbIo-DQAJ but it did not help. However, the uintptr_t is the proper cast here.
2018-12-04 21:42:23 -05:00
Jeffrey Walton a1c89661bc
Fix -xarch for CLMUL on Solaris 2018-12-04 18:32:45 -05:00
Jeffrey Walton cdefa5befe
Test Travis Xenial build
I can't test on my fork at the moment because it is tied up with some other changes. Also see https://blog.travis-ci.com/2018-11-08-xenial-release.
2018-12-04 11:05:16 -05:00
Jeffrey Walton 482151a980
Fix Aarch64 with early GCC 2018-12-04 05:49:21 -05:00
Jeffrey Walton 800dd99c60
Add init priorities for XLC compilers 2018-12-04 04:13:58 -05:00
Jeffrey Walton 71ce30f75f
Whitespace check-in 2018-12-04 03:56:47 -05:00
Jeffrey Walton fc5019a89e
Add test_x86_avx512.cxx (GH #753) 2018-12-04 00:11:33 -05:00