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
eacd3b8fa0
Add Ed25519 PKCS#8 support.
2017-05-07 10:21:18 -10:00
Brian Smith
743cefca51
Remove a spurious comma in a comment in documentation.
2017-05-07 10:17:40 -10:00
Brian Smith
15bb419df7
Add note about the ~18 special Ed25519 keys.
2017-05-07 10:07:47 -10:00
Brian Smith
ad5e514365
Use public_key_bytes()
in Ed25519KeyPair::from_seed_and_public_key()
.
2017-05-07 09:35:14 -10:00
Brian Smith
f575202d04
Add Ed25519KeyPair::from_seed_unchecked()
.
2017-05-07 09:34:27 -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
e3769d9fd1
Mark binary files as binary in .gitattributes.
2017-05-07 09:23:57 -10:00
Brian Smith
ab4c97d93b
Shorten the addition chain for P-384 inversion mod n.
2017-05-03 00:50:27 -10:00
Brian Smith
df51498154
Shorten the addition chain for P-256 inversion mod n.
2017-05-03 00:50:13 -10:00
Brian Smith
9e0819f7ee
Remove support for AMD XOP.
...
AMD dropped XOP in Ryzen.
2017-05-02 14:31:03 -10:00
Brian Smith
2853cd78be
Implement Clone() for ring::digest::SigningContext.
2017-05-01 22:30:38 -10:00
Brian Smith
d4e1578187
0.8.1.
2017-05-01 22:12:25 -10:00
Brian Smith
f3187fdef0
Pad high end, not low end, in big_endian_from_limbs_padded()
.
2017-05-01 21:56:37 -10:00
Brian Smith
c7938a4d54
Fix documentation for ECDSAVerificationAlgorithm
.
2017-05-01 14:22:45 -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
ad1ab02478
Remove SystemRandom::fill()
.
...
`SystemRandom` still implements `fill()`, but it must be called
through the `SecureRandom` trait now. Users of *ring* should prefer
to use `SecureRandom` whenever possible and use `SystemRandom` only
to instantiate a `SecureRandom`.
2017-05-01 13:22:38 -10:00
Brian Smith
85fcb8a2f0
Fix Cargo.toml references to refactored Curve25519 code.
2017-05-01 13:17:07 -10:00
Brian Smith
a3ad8815a3
Rename ECDSAParameters
to ECDSAVerificationAlgorithm
.
...
This is in preparation for adding `ECDSASigningAlgorithm`.
2017-05-01 13:10:24 -10:00
Brian Smith
2f4c6ea86e
Fix code coverage reports.
...
Integration tests are compiled into separate executables and each
executable needs to be run under kcov.
2017-05-01 09:16:21 -10:00
Brian Smith
7a414a5421
Replace Signature::as_slice()
with AsRef<[u8]>
implementation.
...
Make the API more consistent.
2017-05-01 03:00:22 -10:00
Brian Smith
3ebdd8c6a3
Remove non-SSE2 code from 32-bit x86 SHA-2.
2017-04-30 19:34:19 -10:00
Brian Smith
92466b427b
Remove non-SSE2 and AVX2 code from 32-bit x86 poly1305.
2017-04-30 19:34:19 -10:00
Brian Smith
0df8522638
Remove non-SSE2 32-bit x86 x86 bn_mul_mont()
code.
2017-04-30 19:34:18 -10:00
Brian Smith
aaac30f7e0
Remove non-SSE2 32-bit x86 P-256 code.
2017-04-30 19:34:17 -10:00
Brian Smith
dab5305b30
Add integration tests to the coverage report.
2017-04-30 15:25:05 -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
d5d285177f
Remove GFp_BN_get_positive_u64()
.
2017-04-27 15:05:44 -10:00
Brian Smith
c86906bc68
Remove GFp_BN_bin2bn()
.
2017-04-27 14:44:34 -10:00
Brian Smith
85abe846ad
Fix Appveyor build.
2017-04-27 13:28:13 -10:00
Brian Smith
3198f62cd7
Use untrusted 0.5.
2017-04-27 12:43:55 -10:00
Brian Smith
5fbc504d8d
Fix formatting (whitespace) typo.
2017-04-27 12:27:10 -10:00
Brian Smith
ede257442b
Use the new field init shorthand syntax where applicable.
2017-04-27 11:58:20 -10:00
Brian Smith
55b15b5132
Bump Rust Stable on Appveyor to 1.17.
2017-04-27 11:56:34 -10:00
Brian Smith
d18eb07d3f
Remove GFp_BN_set_word()
.
2017-04-26 17:24:44 -10:00
Brian Smith
d7d2199620
Replace GFp_BN_is_odd()
.
2017-04-26 17:24:44 -10:00
Brian Smith
3ee3b63ee0
Replace GFp_BN_is_one()
.
2017-04-26 17:24:43 -10:00
Brian Smith
68fa32053f
Replace GFp_BN_is_zero()
.
2017-04-26 17:24:42 -10:00
Brian Smith
c1ab3fe08f
Remove now-unused BIGNUM internal constants.
2017-04-26 17:24:42 -10:00
Brian Smith
08ec11041e
Replace GFp_BN_ucmp()
.
2017-04-26 17:24:41 -10:00
Brian Smith
aa6dcd5b55
Replace GFp_BN_usub()
.
2017-04-26 17:24:40 -10:00
Brian Smith
f2e5be3c00
Replace GFp_BN_uadd()
.
2017-04-26 17:17:52 -10:00
Brian Smith
8c1d54b353
Replace GFp_BN_mod_sub_quick()
.
2017-04-26 17:17:52 -10:00
Brian Smith
bff4a74a1f
Replace GFp_BN_mod_add_quick()
.
2017-04-26 17:12:28 -10:00