Pietro Monteiro
70ca967455
Remove option that breaks newer android emulators.
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2017-03-14 10:00:45 -10:00
Brian Smith
e6f97fa1f5
Revert "Revert "Fix Android NDK caching. This is a directory.""
...
This reverts commit 39982f81c761595b57945cd9b75181b687251e4f, i.e.
it re-applies the fix from 2ca8cba8795091c2bcd6945f99b2036807a6883b.
This change can be made independently of the switch to clang.
2017-03-14 09:44:54 -10:00
Brian Smith
63691d4245
Revert "Use clang on android."
...
This reverts commit de8a1636a13f45aaff159ebf041c08e46fb16fd1 because
switching to clang broke something.
2017-03-14 09:36:15 -10:00
Brian Smith
39982f81c7
Revert "Fix Android NDK caching. This is a directory."
...
This reverts commit 2ca8cba8795091c2bcd6945f99b2036807a6883b, as part
of rolling back the switch to clang.
2017-03-14 09:34:58 -10:00
Pietro Monteiro
2ca8cba879
Fix Android NDK caching. This is a directory.
2017-03-13 09:30:11 -10:00
Pietro Monteiro
de8a1636a1
Use clang on android.
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2017-03-09 08:51:08 -08:00
Pietro Monteiro
e5982b3ba3
Use Android NDK Unified Headers.
2017-03-08 14:00:08 -10:00
Pietro Monteiro
f0f584863e
Update Android NDK.
2017-03-08 14:00:07 -10:00
Brian Smith
b2ed2666e2
Stop using MSBuild on Windows.
2017-03-05 16:36:01 -10:00
Georg Semmler
5a50c3c0a4
Remove Makefiles, which are now unused.
...
I agree to license my contributions to each file under the terms
given at the top of each file I changed.
2017-03-05 15:10:53 -10:00
Georg Semmler
86c24b9e6b
Use only build.rs to build the native libraries for non-Windows builds.
...
I agree to license my contributions to each file under the terms
given at the top of each file I changed.
2017-03-05 15:10:51 -10:00
Brian Smith
e7c305992e
For default compiler tests on Travis CI, don't set CC and CXX.
...
Most people probably aren't setting CC and CXX when building for
Linux unless they're using a non-default compiler. Do similar on
Travis CI to be more consistent with typical use.
2017-03-04 11:48:59 -10:00
Brian Smith
b72c3f2671
Use default compiler on macOS on Travis CI instead of setting CC
& CXX
.
...
Most people probably aren't setting `CC` and `CXX` when building on MacOS,
so don't set those variables on Travis CI, to be more like typical use.
2017-03-04 11:47:51 -10:00
Brian Smith
abb20e83d7
Fix typo in comment in mk/travis.sh.
2017-03-04 11:47:10 -10:00
Brian Smith
4456eba269
Revert "Invoke clang using "cc" and "c++" on macOS on Travis CI."
...
This reverts commit ff0087a9b67a6eb6cc8496d50735fcc965199486.
2017-02-15 23:54:02 -10:00
Brian Smith
9377df1b4a
Revert "Fix macOS builds on Travis CI."
...
This reverts commit 29fe1bc867d2bbcef331c4aa00dffd3b506a50ff.
2017-02-15 23:53:40 -10:00
Brian Smith
8f822853ff
Revert "Fix travis.sh $CC_X tests."
...
This reverts commit d65c5e14cb7b51f1ea653ff60ec7a6ba62efec99.
2017-02-15 23:53:33 -10:00
Brian Smith
d205dfed0d
Revert "Fix CC_X and CXX_X tests in Travis CI for macOS."
...
This reverts commit d520bd4d634c03017190ae5067c12bea4e16d4f7.
2017-02-15 23:53:23 -10:00
Brian Smith
d520bd4d63
Fix CC_X and CXX_X tests in Travis CI for macOS.
2017-02-15 23:04:07 -10:00
Brian Smith
3f1d2cb3db
Build with Clang 3.9 instead of 3.8 on Travis CI.
2017-02-15 23:02:36 -10:00
Brian Smith
d65c5e14cb
Fix travis.sh $CC_X tests.
2017-02-15 22:35:40 -10:00
Brian Smith
88088ef270
Use "-vv" to force cargo output in CI.
2017-02-15 22:11:43 -10:00
Brian Smith
29fe1bc867
Fix macOS builds on Travis CI.
2017-02-15 22:07:17 -10:00
Brian Smith
ff0087a9b6
Invoke clang using "cc" and "c++" on macOS on Travis CI.
2017-02-15 17:15:53 -10:00
Brian Smith
1879e1057a
Make GFp_BN_new()
test-only.
2017-01-24 14:25:08 -10:00
Brian Smith
a67775a252
Tell MSVC that the source code is in UTF-8.
...
Thanks to Yusuke Ito for reporting this.
2017-01-24 10:15:28 -10:00
Brian Smith
429f5c25ba
Don't require the ABI to be specified in the Makefile.
...
Lots of platforms, including various BSDs, Fuchsia, and Redox, do not
specify an ABI in the target triple, so don't require one by default.
2017-01-12 06:06:41 -10:00
Jeremy Soller
8a0976b363
Fix for building for Redox.
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2017-01-12 06:06:41 -10:00
Brian Smith
368279ffd2
Implement RSA signing using the CRT using Rust.
2017-01-01 20:13:46 -10:00
Brian Smith
7dcaddfaba
Give GFp_*
modular arithmetic primitives more general names.
...
These aren't just useful for finite fields over primes GFp. They can
be used for arithmetic in the ring Z/Zn where n isn't prime, as is
the case for RSA arithmetic modulo the public modulus `n`.
Now it is clear now that we're not going to need to disambiguate the
types in this module with other libraries' types, so remove the `GFp_`
prefixes.
2017-01-01 20:09:49 -10:00
Brian Smith
d4204736cd
Implement RSA blinding in Rust.
2016-12-30 19:19:47 -10:00
Brian Smith
3bef002b43
Use xcode 8.2 on Travis CI.
2016-12-22 13:08:02 -10:00
Brian Smith
9c76ffe09c
Force the use of libc++ on older Mac OS X toolchains.
2016-12-22 13:08:01 -10:00
Brian Smith
53fd7f97b9
Remove currently-unused RSAZ code.
...
This code isn't being used since $AVX isn't set in the asm code. This
may get ressurrected later, but if so it will probably be done slightly
differently.
2016-12-12 14:59:36 -10:00
Brian Smith
94c056dd90
Remove unused GFp_suite_b_wnaf
function.
2016-12-12 09:10:06 -10:00
Peter Reid
986185e521
Port C code supporting poly1305 to Rust.
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-12-02 16:02:58 -10:00
Brian Smith
f1ad3efb3c
Remove rsa.c, including the checks on dmp1
and dmq1
.
2016-12-01 15:18:29 -10:00
Brian Smith
c96d59a760
Use the v140, not v140-xp toolchain on Windows.
...
The v140-xp toolchain is an optional component and there was a report
from somebody that didn't have it installed. Also, we don't have
testing on Windows XP yet, and it's likely we're depending on libstd
features that don't work on Windows XP. In particular, does
`lazy_static` work on XP?
We can always add support for v140-xp later if/when somebody needs it
and we can test it.
2016-11-07 12:41:53 -10:00
Mathieu Poumeyrol
4efb6f5a1e
Enable NEON support on iOS ARMv7 targets.
...
This is required to get some assembly language code to build.
2016-10-17 09:23:06 -10:00
Tatsuya Kawano
4102ae7cc5
Issue #287 - Support building on *BSD
...
- build.rs
* Default to `gmake` on BSD systems
* Support `MAKE` variable for pointing to correct `make`
- mk/top_of_makefile.mk
* Allow target triple on BSD* not to have abi (e.g. x86_64-unknown-freebsd)
- BUILDING.md
* Add descriptions about `MAKE` variable.
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-10-12 18:16:31 +08:00
Артём Павлов [Artyom Pavlov]
6dac94bac6
Replaced crypto/aes/aes_test.cc with Rust code.
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-10-04 16:43:50 -10:00
Артём Павлов [Artyom Pavlov]
3b5ae496b9
Use Rust instead of C for Poly1305 tests.
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-10-04 16:35:17 -10:00
Sam Scott
f5be9c34b1
Replace ChaCha20 tests with Rust code.
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-08-27 11:55:02 -10:00
Brian Smith
85609e29e9
Remove BN_CTX.
2016-08-23 13:25:14 -10:00
David Judd
f96d6403ec
Make BN_rand test-only.
...
It was already only used in tests, so only compile it in tests,
and remove now-unused modes.
I agree to license my contributions to each file under the terms
given at the top of each file I changed.
2016-08-22 10:01:40 -10:00
Brian Smith
4c4ea47e26
Linux: Re-enable clang builds on Travis CI.
...
This reverts commit b6331570d081c820ded86f4fa2423a53beb75c56. It isn't
a pure revert because of merge conflicts.
2016-08-16 10:22:33 -10:00
Brian Smith
086227aba4
Remove pregenerated/ from .gitignore.
...
Putting it in .gitignore resulted in "cargo package" excluding its
contents from the package.
2016-08-15 15:14:41 -10:00
Brian Smith
caa4df6e68
Prepare for publishing on crates.io.
2016-08-15 12:38:08 -10:00
Brian Smith
078d3c2bae
Windows: Compute linker inputs from PerlAsm output automatically.
2016-08-14 20:14:43 -10:00
Brian Smith
6440d1cdad
Windows: Fix dependencies on PerlAsm scripts in build system.
...
Wildcards are not allowed in this part of MSBuild files. When doing a
/verbosity:d build using MSBuild here, MSBuild outputs a warning/error.
2016-08-14 20:13:24 -10:00