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
Brian Smith
33d9c74fd4
Fix cargo package
.
2018-12-21 15:21:41 -10:00
Brian Smith
be3f13aeef
Better encapsulate ECC key parts.
2018-12-21 12:22:42 -10:00
Brian Smith
f481e61c45
Remove mention of removed file signature_impl.rs
from Cargo.toml.
2018-12-16 17:36:50 -10:00
Brian Smith
02536f527f
Update minimum version requirement for dependencies.
...
Also remove out-of-date comment about parallel builds of C code.
2018-12-14 15:33:09 -10:00
Brian Smith
b989d3343d
Implement high-level AES-GCM logic to Rust.
2018-12-14 11:39:34 -10:00
Brian Smith
67425b7463
Enable RSA signign by default; remove rsa_signing
feature.
2018-12-12 20:09:46 -10:00
Brian Smith
ce77943017
Add a TryFrom
polyfill and use it for slice -> array conversions.
2018-12-10 08:56:33 -10:00
Brian Smith
2843931bb7
Switch to Rust 2018 Edition.
...
Switch to Rust 2018 Edition. Fix up some build breakage for different
configurations that were found in the process of testing this,
particularly `--no-default-features`.
2018-12-08 21:39:17 -10:00
Brian Smith
86f6e7722d
Add basic tests for chacha20_poly1305_openssh
.
2018-12-08 13:10:25 -10:00
Brian Smith
c28be94ecb
Move ring::chacha
to ring::aead::chacha
.
...
This will make it easier to share code within `ring::aead`.
2018-12-08 13:10:25 -10:00
Brian Smith
ea9e9f105f
Digest internals: Replace manual type punning.
...
Replace the manual type punning with the use of unions and explicit
endian types.
2018-12-08 10:06:56 -10:00
Brian Smith
e2ba6cb73b
Rename ring::init::init_once()
to ring::cpu::cache_detected_features()
.
...
This is an internal API so this doesn't affect users.
2018-12-01 08:50:39 -10:00
Brian Smith
cda9d33d31
Use Rust for RSA exponentiation.
2018-11-29 16:01:00 -10:00
Brian Smith
ddc36a9ca3
Bump major number in Cargo.toml for upcoming API change.
2018-11-28 11:23:00 -10:00
Brian Smith
b91dbdca92
Move ring::poly1305
to ring::aead::poly1305
.
2018-11-27 15:31:19 -10:00
Brian Smith
b82bf1c937
Remove references to removed file e_aesgcmsiv.c.
2018-11-25 16:34:54 -10:00
Brian Smith
704e4216a3
0.13.5.
2018-11-16 09:14:27 -10:00
Brian Smith
5c8f13a721
Remove unused polyval.c.
2018-11-15 16:17:39 -10:00
Brian Smith
916679ff23
0.13.4.
2018-11-15 12:05:22 -10:00
Brian Smith
296e5a2b78
0.13.3.
2018-11-06 11:06:37 -10:00
Brian Smith
ed8c0bca1e
Update Cargo.toml include pattern for Ed25519 refactoring.
2018-11-06 11:06:37 -10:00
Brian Smith
a1c71ce36e
Remove README text from crates.io/docs.rs.
2018-11-06 10:53:53 -10:00
Brian Smith
9a5d3a4300
Require lazy_static 1.2.x.
...
Version 1.2 fixes a potential unsoundness issue. That issue doesn't
seem to affect *ring* but upgrade to the safer version just to be sure.
A nice side-effect of this is that lazy_static no longer depends on the
`version_check` crate.
2018-11-05 11:25:24 -10:00
Brian Smith
7e3682c021
0.13.2.
2018-07-15 15:25:45 -10:00
Brian Smith
e5610f195c
0.13.1.
2018-07-13 09:18:45 -10:00
Brian Smith
614cfd60eb
0.13.0.
2018-07-13 08:56:40 -10:00
Brian Smith
577fffb778
0.13.0-alpha5.
2018-06-08 14:13:39 -10:00