373 Commits

Author SHA1 Message Date
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
Brian Smith
397cf4d15f 0.13.0-alpha4. 2018-05-31 08:23:16 -10:00
Brian Smith
e5a4fe96f7 Initial ECDSA signing implementation.
Nonce reuse hardening and more tests will be added later.
2018-05-31 08:18:58 -10:00
Brian Smith
a53fb68d42 Split ECDSA submodule into signing and verification parts.
Make the ECDSA code more like the RSA code.
2018-05-28 12:36:09 -10:00
Brian Smith
ae66000e30 Remove binding from RSA.
We'll bring it back if/when we implement operations on secret messages
(i.e. RSA encryption).
2018-05-20 13:13:56 -10:00
Brian Smith
b60250e47e Remove bn.h. 2018-05-16 13:13:47 -10:00
Brian Smith
737e61df7d Remove BIGNUM. 2018-05-16 11:47:28 -10:00
Brian Smith
9f15e1905f 0.13.0-alpha3. 2018-05-15 11:09:02 -10:00
Brian Smith
d8a13d64e2 Remove rayon from the build. 2018-05-14 18:18:32 -10:00
Brian Smith
39a8124d5b Merge BoringSSL 5c30dab: Import P-256 scalar multiplication assembly from OpenSSL. 2018-05-11 11:16:14 -10:00
Brian Smith
c3986cccbe 0.13.0-alpha2. 2018-05-10 15:52:04 -10:00
Brian Smith
ca1d9cda6e Fix cargo package. 2018-05-07 13:04:56 -10:00
Brian Smith
d42b765cb1 Rename third-party/ to third_party/.
Be consistent with BoringSSL.
2018-04-30 13:31:35 -10:00
Brian Smith
17ae173379 Bump cc dependency to cc 1.0.9. 2018-04-04 17:16:25 -10:00
Josh Stone
f857df6d27 Update to rayon 1.0
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2018-04-04 16:47:39 -10:00
Brian Smith
7a6f3c8ddd Derive Copy and Clone for ring::signature::Signature.
Derive `Copy` and `Clone` for `Signature`.

Add some utilities for testing `Clone`, `Copy`, `Send`, and `Sync`
and use them to test that `Signature` implements these traits.
2017-12-27 15:53:35 -10:00
Brian Smith
0539b51368 Mark 0.13.0 as an alpha release. 2017-12-24 10:42:39 -10:00
Brian Smith
8cad323643 Update Cargo.toml for updated file names. 2017-12-24 10:30:37 -10:00
Brian Smith
9860579e5d 0.13.0. 2017-12-24 10:22:44 -10:00
Brian Smith
964a8b1d79 Use untrusted 0.6.1. 2017-12-24 10:22:31 -10:00
Brian Smith
24114ed805 Update minimum dependency versions. 2017-12-24 09:48:38 -10:00
Alex Gaynor
afeea5e2a1 Use lazy_static 1.0. 2017-12-23 11:47:19 -10:00
Brian Smith
33784df727 Use untrusted 0.6. 2017-09-27 07:58:25 -10:00
Brian Smith
300f0d6ff5 Use cc 1.0, which replaces the old gcc crate. 2017-09-19 18:31:26 -10:00