29 Commits

Author SHA1 Message Date
Brian Smith
7b7d562e76 Be stricter with lints in the rest of tests/*.rs. 2017-08-27 12:31:17 -10:00
Brian Smith
118c634c2e Be stricter with lints in tests/agreement_tests.rs. 2017-08-27 12:31:01 -10:00
Brian Smith
270226b23f Do strict linting in tests/rsa_tests.rs. 2017-08-27 12:26:06 -10:00
Brian Smith
b73e2a248b Generalize PBKDF2 to work with any digest algorithm. 2017-06-09 17:47:35 -10:00
Brian Smith
dde61c2945 Add SHA-512/256. 2017-06-09 17:47:34 -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
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
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
Brian Smith
f66121467d Switch to ? syntax in ring::rsa. 2017-05-17 21:41:17 -10:00
Brian Smith
209329e059 Support ECPrivateKey with a parameters field in PKCS#8.
Don't generate them, but do accept them.
2017-05-17 10:05:25 -10:00
Brian Smith
eb3843e4dd Add PKCS#8 generation to ECDSAKeyPair. 2017-05-17 09:05:46 -10:00
Brian Smith
d7ee87e785 Add ring::signature::ECDSAKeyPair with PKCS#8 import. 2017-05-16 18:14:15 -10:00
Brian Smith
30093dd947 Convert RSA PKCS#8 tests to file tests. 2017-05-16 18:00:02 -10:00
Brian Smith
e52904256b Move RSA signing & verification functional tests to tests/. 2017-05-13 22:37:26 -10:00
Brian Smith
0124565a52 Move ECDSA integration/functional tests to tests/. 2017-05-13 00:34:45 -10:00
Brian Smith
93cdb56916 Rename tests/pkcs8_test.rs to tests/rsa_tests.rs. 2017-05-12 16:26:50 -10:00
Brian Smith
c78d5d9ef4 Add additional Ed25519 PKCS#8 tests. 2017-05-09 15:01:37 -10:00
Brian Smith
74c54980ea Add some PKCS#8 v2 Ed25519 private key test cases. 2017-05-07 13:30:42 -10:00
Brian Smith
0f60416266 Update Ed25519 PKCS#8 support to account for extra octet string.
The private key is wrapped in an extra octet string.
2017-05-07 11:42:22 -10:00
Brian Smith
eacd3b8fa0 Add Ed25519 PKCS#8 support. 2017-05-07 10:21:18 -10:00
Brian Smith
79207747a4 Replace Ed25519KeyPair::from_bytes() with from_seed_and_public_key(). 2017-05-07 09:28:28 -10:00
Brian Smith
f587947fd7 Convert Ed25519 tests to from unit tests to integration tests.
They are integration tests.
2017-05-07 09:23:58 -10:00
Brian Smith
e3581da4fe Add support for deserializing RSA keys from PKCS#8. 2017-04-30 11:52:45 -10:00