373 Commits

Author SHA1 Message Date
Brian Smith
5c36a93e4d 0.16.6 2019-08-11 14:49:23 -10:00
Brian Smith
5d32f5bf75 0.16.5 2019-07-26 10:22:50 -10:00
Brian Smith
68f1509f9f 0.16.4 2019-07-24 17:58:09 -10:00
Brian Smith
85007f838f 0.16.3 2019-07-24 13:37:17 -10:00
Brian Smith
d8724ef357 0.16.2 2019-07-23 10:27:19 -10:00
Brian Smith
e6102197e4 0.16.1 2019-07-22 12:26:25 -10:00
Brian Smith
ab18f6ebcd 0.16.0 2019-07-18 15:34:17 -10:00
Brian Smith
4c392ad338 Remove the libc dependency for most platforms. 2019-07-17 14:44:28 -10:00
Brian Smith
bc22053bdf Make std a non-default feature.
Dont enable `std`-based functionality unless requested. This requires removing
the `std` feature dependency from `dev_urandom_fallback` and `test_logging`.
Tweak the meaning of `test_logging` to keep this tractable.
2019-07-15 22:03:17 -10:00
Brian Smith
dd60763446 Use untrusted 0.7.0. 2019-07-15 17:49:40 -10:00
Brian Smith
70e5d96a37 FreeBSD, NetBSD, OpenBSD, Solaris: Use /dev/urandom. 2019-07-15 17:30:40 -10:00
Brian Smith
d9044d6f57 0.15.0 2019-07-14 08:51:19 -10:00
Brian Smith
b582a420ce 0.15.0-alpha6. 2019-07-13 15:14:10 -10:00
Brian Smith
2903aeca8a 0.15.0-alpha4 2019-07-11 19:47:52 -10:00
Brian Smith
feabcc7705 Upgrade to wasm-bindgen 0.2.48. 2019-07-11 19:34:29 -10:00
Brian Smith
9c42fa187d Allow tests to be run when alloc is enabled without std. 2019-07-09 21:15:18 -10:00
Brian Smith
7071dda618 Replace use_heap feature with alloc and std features; use alloc crate. 2019-07-09 21:15:18 -10:00
Brian Smith
d367526a27 Remove 32-bit x86 SHA-2 assembly code. 2019-07-09 17:25:46 -10:00
Brian Smith
957934286d 0.15.0-alpha3. 2019-07-03 12:43:53 -10:00
Brian Smith
d8921f39a2 0.15.0-alpha2. 2019-07-03 12:20:01 -10:00
Brian Smith
f86911d3b5 Use untrusted 0.7.0-alpha1. 2019-07-03 12:20:01 -10:00
Brian Smith
89a56db450 Fix typo in Cargo.toml. 2019-07-03 12:20:00 -10:00
Brian Smith
c53955ea8a Initial wasm32-unknown-unknown support. 2019-07-03 12:20:00 -10:00
Brian Smith
33bffc7cef Minimize and update dependencies. 2019-07-03 08:28:42 -10:00
Brian Smith
928f936c7b Move rsa::bigint to arithmetic/bigint. 2019-06-30 16:57:16 -10:00
Brian Smith
b1b75a241f Replace GFp_block128_xor with Rust code. 2019-06-14 14:36:59 -10:00
Brian Smith
7633902d7c Move ring::rand tests to tests/rand_tests.rs. 2019-06-13 10:01:06 -10:00
Brian Smith
efb6ede3cc Limit dev_urandom_fallback to Linux. 2019-06-13 09:34:40 -10:00
Brian Smith
d9633e27f4 Update to the latest (unreleased) untrusted. 2019-03-14 19:39:56 -10:00
Brian Smith
ca9d638ca0 Update build.rs and Cargo.toml for the Fiat file renaming. 2019-02-12 10:26:20 -10:00
Brian Smith
fd06534dcd Merge BoringSSL 32e59d2: Switch to new fiat pipeline. 2019-02-12 09:56:51 -10:00
Brian Smith
ef85df4781 0.14.6 2019-02-08 09:35:42 -10:00
Brian Smith
5dc4dda179 Use libc's types instead of defining our own ring::c.
As far as I know, `libc` is available for every target now. Especially
since the introduction of `bssl::Result` we hardly reference these
types, other than `size_t`. This will help get rid of crypto/crypto.c.
2019-02-05 19:41:48 -10:00
Brian Smith
e53936a348 On Windows, use winapi RtlGenRandom and associated types.
Now that Cargo can do target-specific dependencies, don't bother defining
this stuff ourselves.
2019-02-05 19:41:48 -10:00
Brian Smith
4a8140fa01 0.14.5. 2019-02-02 16:06:07 -10:00
Brian Smith
050d61647a 0.14.4 2019-01-31 10:12:25 -10:00
Brian Smith
154ca296ce Replace libstd with spin crate in cpu::cache_detected_features.
Eliminate one of the two remaining problems with `#![no_std]` support
and reduce platform variance.
2019-01-30 23:18:48 -10:00
Brian Smith
c7f0eadf0f Move ARM CPU feature caching from C to Rust.
Some of the targets in Rust's `cross` toolchains have old libc headers
that don't have sys/auxv.h, and we want to do this in Rust anyway.

Unfortunately, in the process of doing so, I found out that
`libc::getauxval()` isn't available in enough places either, so we skip
dealing with *that* too.
2019-01-28 14:33:31 -10:00
Brian Smith
387a6965ff Move remaining AEAD feature detection from C to Rust. 2019-01-28 14:33:31 -10:00
Brian Smith
eec4d82f95 0.14.3. 2019-01-22 16:35:11 -10:00
Brian Smith
1445fa4367 Improve and test various key type Clone/Debug implementations. 2019-01-19 19:56:02 -10:00
Brian Smith
52c0e56dda 0.14.2. 2019-01-18 12:50:06 -10:00
Brian Smith
87031013b7 0.14.1. 2019-01-15 08:07:57 -10:00
Brian Smith
292bb7ea76 0.14.0. 2019-01-09 09:06:30 -10:00
Brian Smith
0cdfac9c02 Update Cargo.toml for QUIC API. 2019-01-09 09:06:18 -10:00
Brian Smith
c1b1a821f9 0.14.0-alpha4. 2019-01-02 17:03:56 -10:00
Brian Smith
8c6dd783f2 0.14.0-alpha3. 2018-12-29 14:37:46 -10:00
Brian Smith
1639b8cc43 0.14.0-alpha2: Add missing test input file.
This fixes `cargo test -p ring`.
2018-12-21 15:56:39 -10:00
Brian Smith
0d3a8575a2 0.14.0-alpha1. 2018-12-21 15:40:48 -10:00
Brian Smith
faaef278dc Move der under IO. 2018-12-21 15:22:30 -10:00