6685 Commits

Author SHA1 Message Date
Brian Smith
dde61c2945 Add SHA-512/256. 2017-06-09 17:47:34 -10:00
Brian Smith
9e8cbcaac4 Hide incomplete ECDSA signing API from documentation.
It will be unhidden when the implementation is complete.
2017-06-09 17:47:33 -10:00
Brian Smith
89f719e527 Fix copy-paste errors in ECDSA documentation. 2017-06-09 17:47:33 -10:00
Brian Smith
743d88dc4f Remove empty submodule pointing out where signature tests are.
The comments were out of date anyway as they didn't account for
various shuffling of files nor the addition of RSA signing.
2017-06-08 12:13:24 -10:00
Brian Smith
a04bdddf4d Move PBKDF2 functional tests to tests/. 2017-06-08 12:11:47 -10:00
Brian Smith
eb73404257 Move HMAC functional tests to tests/. 2017-06-08 12:01:35 -10:00
Brian Smith
5884ed3149 Move HKDF functional tests to tests/. 2017-06-08 12:01:34 -10:00
Brian Smith
c035ea67e1 Move iterated X25519 test to tests/agreement_tests.rs. 2017-06-08 12:01:33 -10:00
Brian Smith
f95cf64e57 Move agreement functional tests to tests/agreement_tests.rs.
Also remove ring::agreement::EphemeralKeyPair::from_test_vector().
2017-06-08 12:01:26 -10:00
Brian Smith
8dc0b9811c Move AEAD functional tests to tests/. 2017-06-08 10:41:05 -10:00
Pietro Monteiro
4388505aa5 Add AArch64 build info to README. 2017-06-08 10:12:59 -10:00
Pietro Monteiro
ffe7e973b7 Use travis_wait on all Android release builds on Travis CI. 2017-06-08 10:12:59 -10:00
Pietro Monteiro
cd011b39e3 Add AArch64 to Travis CI builds. 2017-06-08 10:12:59 -10:00
Pietro Monteiro
759f1cc51f Define Android API level needed for AArch64. 2017-06-08 10:12:58 -10:00
Pietro Monteiro
06da374f66 Add support to install different Android system images on Travis CI. 2017-06-08 10:12:58 -10:00
Pietro Monteiro
b7073f4177 Cache Android NDK, tools and platform tools on Travis CI. 2017-06-08 10:12:58 -10:00
Pietro Monteiro
52c645b7a0 Don't install unnecessary packages on Travis CI Android builds. 2017-06-08 10:12:58 -10:00
Brian Smith
f5ef8ad074 0.10.0. 2017-06-07 15:45:01 -10:00
Brian Smith
2db042dc0d Remove duplicate definition of bssl_test!.
The duplicate was accidentally added in
commit 8b026c93f2c3174ce43d0ef7bd6f618e4f772920.

This was causing an "unused_macro" warning which was causing
beta and nightly builds to fail.
2017-06-07 15:43:42 -10:00
Brian Smith
c66da3e5bf Remove the dashes in Debug output for ring::digest types.
This will make the output for the upcoming SHA-512/256 more sensible.
2017-06-07 13:20:27 -10:00
Brian Smith
394ec98e9f Eliminate duplicate calculations in ring::digest::Algorithm metrics. 2017-06-07 13:20:25 -10:00
Brian Smith
0cc5bde692 Add digest_ prefix to digest tests.
This makes them run with `cargo test digest`.
2017-06-07 13:20:23 -10:00
Brian Smith
eed6898211 Move digest functional tests to tests/. 2017-06-07 13:20:15 -10:00
Sander Maijers
45ec0c553c Remove completed TLS 1.3 project from README 2017-05-30 15:08:09 -10:00
Brian Smith
313116de6e Remove Ed25519KeyPair::generate().
AFAICT there aren't real-world use cases for ephemeral
`Ed25519KeyPair`s. Note that the documentation referenced the
`generalize_serializable()` function that was already removed.
2017-05-30 15:05:20 -10:00
Brian Smith
d1b0a0a31d Save one more multiplication during inversion (mod q).
If we were to not need 1/(z**3), we'd be able to save one squaring and
two multiplications. Since we do need 1/(z**3), we save one
multiplication.
2017-05-26 10:47:14 -10:00
Brian Smith
f2023b71a9 Suite B: Explain why the affine Y coordinate is always calculated. 2017-05-26 10:46:23 -10:00
Brian Smith
1d421a76c9 Clarify comments in P-384 element inversion. 2017-05-23 14:00:27 -10:00
Brian Smith
c510c6b9ce Make P-384 element inversion more efficient. 2017-05-23 13:52:37 -10:00
Brian Smith
551ec9ece5 Remove typo in p384.rs. 2017-05-23 13:21:43 -10:00
Brian Smith
8a6984f8a2 Remove redundant let b_1 = &a; in p384.rs.
The same statement appears a few lines above.
2017-05-23 13:19:38 -10:00
Brian Smith
9b54de5e56 Fix comment in P-256 inversion mod q. 2017-05-23 13:09:29 -10:00
Brian Smith
340026b032 Make P-256 element inversion more efficient. 2017-05-23 12:57:18 -10:00
Brian Smith
94c5b2ac6e Derive Debug for BitLength. 2017-05-17 21:56:10 -10:00
Brian Smith
81b219f70f Derive Debug for testing utility types. 2017-05-17 21:55:03 -10:00
Brian Smith
9a3878a192 Enforce the unused_qualifications lint. 2017-05-17 21:47:52 -10:00
Brian Smith
6ab31bb8b4 Switch to ? syntax in the remaining files still using try!(). 2017-05-17 21:41:23 -10:00
Brian Smith
67d1712243 Switch to ? syntax in ring::rand. 2017-05-17 21:41:22 -10:00
Brian Smith
da63b10ca7 Switch to ? syntax in ring::agreement. 2017-05-17 21:41:22 -10:00
Brian Smith
41107fd8a5 Switch to ? syntax in ring::pkcs8. 2017-05-17 21:41:21 -10:00
Brian Smith
d181ddb94a Switch to ? syntax in ring::limb. 2017-05-17 21:41:20 -10:00
Brian Smith
b968d7a742 Switch to ? syntax in ring::der. 2017-05-17 21:41:19 -10:00
Brian Smith
023e5c1068 Switch to ? syntax in ring::aead. 2017-05-17 21:41:19 -10:00
Brian Smith
f66121467d Switch to ? syntax in ring::rsa. 2017-05-17 21:41:17 -10:00
Brian Smith
cfb1018a86 Switch to ? syntax in ring::ec. 2017-05-17 21:35:38 -10:00
Brian Smith
5c4819d444 Use ? in examples. 2017-05-17 20:56:27 -10:00
Brian Smith
897a1601e8 0.9.8. 2017-05-17 17:18:09 -10:00
Brian Smith
175cf4a16d Implement core::fmt::Debug for ring::signature::VerificationAlgorithm. 2017-05-17 17:18:08 -10:00
Brian Smith
4d9fa15dd5 0.9.7. 2017-05-17 10:36:04 -10:00
Brian Smith
24a8629b75 Add missing test data files to the published package. 2017-05-17 10:35:25 -10:00