Brian Smith
1781ed872b
0.9.4: Implement Copy
, Clone
, and Debug
for hmac::Signature
.
2017-05-08 16:16:34 -10:00
Brian Smith
740a1e060e
0.9.3: Prevent multiple copies of *ring* from being linked.
...
This will only protect against linking multiple copies of version from
0.9.3 onward; i.e. it won't prevent a version like 0.7.6 from being
linked alongside 0.9.3.
2017-05-08 15:57:05 -10:00
Brian Smith
6c31da91cf
0.9.2.
2017-05-08 13:31:17 -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
66fed8f154
0.9.1.
2017-05-07 11:43:55 -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
7f7a5a23f4
Add the Ed25519 PKCS#8 template to the Cargo package.
2017-05-07 10:25:58 -10:00
Brian Smith
f2f3863ec6
0.9.0.
2017-05-07 10:21:19 -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
d4e1578187
0.8.1.
2017-05-01 22:12:25 -10:00
Brian Smith
dd500b80fd
Add missing test input file to packaged crate.
...
`cargo test -p ring` fails when running the tests from the packaged
release without this.
2017-05-01 13:34:51 -10:00
Brian Smith
023ae994bf
0.8.0.
2017-05-01 13:30:14 -10:00
Brian Smith
c4e10248df
0.8.0-alpha1.
2017-05-01 13:24:50 -10:00
Brian Smith
85fcb8a2f0
Fix Cargo.toml references to refactored Curve25519 code.
2017-05-01 13:17:07 -10:00
Brian Smith
e3581da4fe
Add support for deserializing RSA keys from PKCS#8.
2017-04-30 11:52:45 -10:00
Brian Smith
60867f2642
Remove GFp/err.h and clean up leftover unused bits.
2017-04-27 16:06:22 -10:00
Brian Smith
c86906bc68
Remove GFp_BN_bin2bn()
.
2017-04-27 14:44:34 -10:00
Brian Smith
3198f62cd7
Use untrusted 0.5.
2017-04-27 12:43:55 -10:00
Brian Smith
d7d2199620
Replace GFp_BN_is_odd()
.
2017-04-26 17:24:44 -10:00
Brian Smith
aa6dcd5b55
Replace GFp_BN_usub()
.
2017-04-26 17:24:40 -10:00
Brian Smith
8c1d54b353
Replace GFp_BN_mod_sub_quick()
.
2017-04-26 17:17:52 -10:00
Brian Smith
f9528db33e
Replace crypto/bn/random.c with Rust code.
2017-04-25 00:10:02 -10:00
Brian Smith
efdffc91db
Remove now-unused BIGNUM functions, and bn_test.cc (the last C++ use).
...
These functions can be removed thanks to the new modular inversion
implementation.
2017-04-24 16:29:37 -10:00
Brian Smith
ff71d521ff
Use "GFp/" instead of "openssl/" for #includes.
...
Avoid any potential conflicts with OpenSSL header files by using a
different namespace.
2017-04-19 14:56:44 -10:00
Brian Smith
f03af74c69
Fix --no-default-features builds.
2017-04-17 19:07:57 -10:00
Peter Reid
63069777b5
Convert random chunk generation from C to Rust
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2017-04-16 18:27:26 -10:00
Brian Smith
0aea3d20c2
Remove now-unused/unneeded headers.
2017-04-16 12:58:28 -10:00
Brian Smith
48f6b36582
0.7.5.
2017-04-12 16:48:28 -10:00
Brian Smith
3b9426e434
0.7.5-alpha3.
2017-04-11 18:17:35 -10:00
Brian Smith
659f47d566
0.7.5-alpha2.
2017-04-11 18:08:27 -10:00
Brian Smith
0fdeb8def0
0.7.5-alpha1.
2017-04-11 17:58:05 -10:00
Brian Smith
74524631b4
0.7.4.
2017-04-08 20:36:17 -10:00
Brian Smith
01604b5b80
Require lazy_static 0.2.6+.
...
We now test with lazy_static 0.2.6, so require at least that.
2017-04-07 15:46:08 -10:00
Josh Stone
9f0e0286b3
Update to rayon 0.7
...
I agree to license my contributions to each file under the terms given
at the top of each file I changed.
2017-04-07 15:43:23 -10:00
Brian Smith
d51e389673
Remove now-unused GFp_RAND_bytes
.
2017-04-07 15:41:06 -10:00
Stephen Oliver
f674a7e945
Don't require a C++ compiler for -musl targets.
...
Also, don't build/run `bn_tests` unless RSA signing is enabled, since
the functionality that `bn_tests` tests is RSA-signing-specific.
2017-04-01 16:26:21 -10:00
Brian Smith
a13b8e279e
Add support for fixed-length ECDSA signatures.
2017-04-01 15:36:09 -10:00
Brian Smith
367d9e9070
Add “asn1” to the name of tests for ASN.1-encoded ECDSA signatures.
2017-04-01 15:36:07 -10:00
Brian Smith
6c0ae8f9d1
Add some tests for mixed Jacobian + affine addition for P-256.
2017-03-31 15:48:05 -10:00
Brian Smith
c67f0552e4
Add basic point doubling tests for P-256 and P-384.
2017-03-30 18:36:36 -10:00
Brian Smith
94d9b0eec7
Add P-256 scalar Montgomery squaring tests.
2017-03-26 15:36:53 -10:00
Brian Smith
9c9546f6e6
Add ECC element and scalar multiplication tests.
2017-03-26 15:36:51 -10:00
Brian Smith
0b54e0b369
Include “elem” in the names of ECC element arithmetic tests.
2017-03-26 15:36:51 -10:00
Brian Smith
8a46eb57b8
0.7.3.
2017-03-19 10:15:07 -10:00
Brian Smith
8195f740da
Package test input files.
2017-03-19 08:49:21 -10:00
Brian Smith
2f7ad58965
0.7.2.
2017-03-19 08:02:21 -10:00
Brian Smith
e20bdbe0cc
0.7.2-alpha2
2017-03-18 22:57:09 -10:00
Brian Smith
855d4986a0
0.7.2-alpha1.
2017-03-18 15:33:12 -10:00
Brian Smith
f7f1fb7773
Remove unused crypto/perlasm/x86masm.pl.
2017-03-18 15:31:16 -10:00
Brian Smith
dd659d2994
Improve Perlasm machinery for SHA-2 on X86-64 and ARMv8.
...
Rename sha-{x86_64, armv8}.pl back to sha512-{x86_64, armv8}.pl. This
will simplify copmarisons between BoringSSL and *ring*.
Replace the *ring*-specific hacky logic done in Perl with hacky logic
done in Rust. The purpose of this hack is to deal with the fact that
sha512-{x86_64, armv8}.pl need to be run twice, once with "512" in the
output file path to generate
`GFp_sha512_block_data_order`, and again with "256" in the output file
path to generate `GFp_sha256_block_data_order`.
2017-03-18 15:31:15 -10:00