85 Commits

Author SHA1 Message Date
Alex Elsayed
8c8f4e1ff8 Change "no_heap" feature to "use_heap"; enable by default.
Cargo features are additive - Cargo presumes that it is safe to
enable a feature if _any_ dependent requires it, and that doing
so will not break crates that do not require it. As a result,
features that reduce the API surface - as no_heap did - violate
Cargo's invariants and can cause spooky failures at a distance.

Converting to a use_heap feature that enables APIs that may
allocate, and enabling it by default, preserves the current
behavior for users who simply depend on *ring* while better
fitting in to the Cargo ecosystem.

I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2016-06-19 18:54:32 -10:00
Brian Smith
7f4f5d16e0 Add GCC 6 to Travis CI. 2016-06-15 09:19:57 -10:00
Brian Smith
051262d8c8 Improve README.md further, such as by adding a benchmarks section to it. 2016-06-02 08:09:14 -10:00
Brian Smith
d7c36c5cf3 Improve License & Contributing sections of the README. 2016-06-02 08:09:14 -10:00
Brian Smith
b6331570d0 Disable Clang builds on Travis CI.
The LLVM project has disabled the APT servers that are used to source
clang, so clang builds won't succeed.
2016-06-02 00:54:32 -10:00
Brian Smith
6c37f8a972 Update documentation w.r.t. the dropping of MSVS 2013 support. 2016-05-31 11:15:27 -10:00
Brian Smith
6ac696f838 Minimize references to other forks. 2016-05-23 18:39:24 -10:00
Brian Smith
6ef767f9fa Clarify misleading note in README.md about BoringSSL compat.
It was true at the beginning, but now is very untrue.
2016-05-11 15:32:51 -10:00
Brian Smith
bb9911fbdd Fix vulnerability reporting documentation.
Use the better text from webpki.
2016-05-11 15:31:29 -10:00
Brian Smith
4421e7c552 Reduce tested versions of GCC and Clang.
Travis CI runs just take way too long with this huge matrix, so prune
it to something more manageable.
2016-05-06 17:17:58 -10:00
Brian Smith
38b86a7711 Update documentation regarding supported Clang versions.
Clang 3.4 isn't "supported" (but probably still works). Clang 3.8 was
released so it isn't the trunk any more.
2016-04-14 17:30:42 -10:00
Brian Smith
4db5f88f61 Enable asm implementations for Windows; drop NO_ASM mode. 2016-04-14 11:37:37 -10:00
Brian Smith
6286c50038 Sync Apple clang version mention on README.md w/ reality. 2016-03-03 11:51:53 -10:00
Brian Smith
d62d3cd3bd Clarify CLA-related stuff in README.md. 2016-02-21 22:55:16 -10:00
Brian Smith
6cc1d68838 Add ARM and Aarch64 to Travis CI (build only, no tests). 2016-02-02 23:16:40 -10:00
Brian Smith
61b234ef94 Add GCC 4.6 to Travis CI matrix.
GCC 4.6 is the default compiler on Ubuntu 12.04 LTS and other LTS
distros so it isn't a complete waste of time to support it. Luckily, it
is easy to do so.
2016-01-31 20:04:13 -10:00
Brian Smith
2c9a84c637 Drop i686-apple-darwin support.
It doesn't make sense to support this configuration given that nobody
has 32-bit Macs any more.
2016-01-31 19:30:13 -10:00
Brian Smith
f740b44a93 Touch up README.md. 2016-01-07 19:22:39 -10:00
Brian Smith
9079462150 Update supported/tested compilers in README.md. 2015-12-06 16:05:32 -10:00
Brian Smith
562ec71e09 Clean up README.md. 2015-10-31 07:42:51 -10:00
Brian Smith
992e93bf15 Add the |ring::aead| submodule. 2015-09-23 17:03:14 -07:00
Brian Smith
70a3705a38 Remove crypto/evp.
Originally the Rust code used some of the EVP code, but that changed a while
back. As far as the Rust interface is concerned this is dead code. In the
future the EVP interface may get re-implemented on top of the Rust interface.
2015-09-19 20:06:07 -07:00
Brian Smith
b119df5ffa Improve README.md and BUILDIND.md. 2015-09-17 23:12:53 -07:00
Brian Smith
3bdaaf5879 Add HMAC in |ring::hmac|.
This HMAC implementation is built on top of |ring::digest| in Rust
instead of using the FFI to call into the C implementation of HMAC.

This also adds constant-time byte slice comparison to |ring::ffi|,
which is used for HMAC verification.
2015-09-15 17:25:10 -07:00
Brian Smith
4f89d8fe29 Update README.md for the master branch. 2015-08-26 21:35:08 -07:00
Brian Smith
3ad953fc00 Rust: Add append_secure_random. 2015-08-26 21:18:43 -07:00
Brian Smith
cad2a37d16 Minor build system improvements.
* Fix typo in a comment in mk/top_of_makefile.mk.
* Update ring.sln to mention VS 2015 RTM version.
* Suppress variable shadowing warning on Windows in mk/Common.props.
2015-08-26 21:18:41 -07:00
Brian Smith
0b23f8cf9e Rename the C library to "ring-core", rename Rust crate to "ring".
The Rust crate can't be named "ring" if it links to a C library called
"ring".
2015-08-26 21:18:41 -07:00
Brian Smith
d6411bde92 Rust: Add RSA and ECDSA signature verification API. 2015-08-26 21:18:39 -07:00
Brian Smith
20b97a69a9 Rust: Add API for calculating digests (SHA-256, etc.). 2015-08-26 21:18:37 -07:00
Brian Smith
5a590b994d Improve automated testing section of README.md. 2015-08-26 21:18:34 -07:00
Brian Smith
da160fa623 Add Appveyor configuration file. 2015-08-26 21:18:28 -07:00
Brian Smith
d5a95fa5fc Add note about rebasing the |wip| branch. 2015-08-26 21:18:25 -07:00
Brian Smith
51618b4e4a Update documentation; fix RING_LDLIBS. 2015-08-26 21:18:24 -07:00
Brian Smith
13baebc3b5 Replace CMake with GNU Make and add Travis CI integration.
Travis CI doesn't have a new enough version of CMake readily available,
and I've been wanting to replace the CMake-based build system for other
reasons. This kills the Windows support, but I'm intending to add a
native msbuild build system for Windows soon. Also, this builds in
OPENSSL_NO_ASM mode for now.
2015-08-26 21:18:16 -07:00