Commit graph

184 commits

Author SHA1 Message Date
Isis Lovecruft
5c26349b6c
Derive Eq, PartialEq for Signature. 2018-07-15 21:50:20 +00:00
Isis Lovecruft
80075a0b41
Cleanup signing code to use new dalek APIs and Rust syntax. 2018-07-15 21:41:44 +00:00
Isis Lovecruft
3840cb9733
Merge remote-tracking branch 'hdevalence/verify-result' into develop 2018-07-15 21:21:14 +00:00
Henry de Valence
030eff547f Make verify return a Result.
This also simplifies the verification logic.  Because the verification check
happens in variable time, we don't need to do a constant-time eq check at the
end, so we can drop the `subtle` dependency entirely.

The `DecodingError` type becomes `SignatureError` and is also used to
signal failing verifications.
2018-07-15 13:07:58 -07:00
Isis Lovecruft
21a1e7145c
Merge branch 'feature/21-ed25519ph' into develop 2018-07-14 00:03:01 +00:00
Isis Lovecruft
f8373a9e70
Fix two more links in the README. 2018-07-13 23:57:27 +00:00
Isis Lovecruft
a1ea26ef0f
Merge remote-tracking branch 'millette/patch-1' into develop 2018-07-13 23:56:11 +00:00
Isis Lovecruft
fad39851aa
Add doctests for sign_prehashed() and verify_prehashed(). 2018-07-13 23:07:07 +00:00
Isis Lovecruft
68d2ff93f5
Implement ed25519ph from RFC8032 §5.1.
* FIXES #21: https://github.com/dalek-cryptography/ed25519-dalek/issues/21
2018-07-13 23:06:39 +00:00
Isis Lovecruft
9d58954578
Avoid compressing R twice. 2018-07-12 21:47:52 +00:00
Isis Lovecruft
b8e42e9a7e
Merge branch 'feature/criterion' into develop 2018-07-12 20:32:03 +00:00
Isis Lovecruft
bda9bba9d5
Remove ZeroRng from benchmarks. 2018-07-12 20:19:42 +00:00
Isis Lovecruft
164303eeac
Switch to using criterion for benchmarks. 2018-07-11 22:46:32 +00:00
Isis Lovecruft
a4be92b271
Update curve25519-dalek dependency to 0.18. 2018-07-11 20:36:17 +00:00
Isis Lovecruft
1dfe211aa1
Remove failure/std from the default enabled features. 2018-07-11 20:32:12 +00:00
Isis Lovecruft
a7c318da6e
Fix benchmarks to use new rand_core traits. 2018-05-30 21:01:21 +00:00
Isis Lovecruft
196fd24b63
Update README to explain features and update benches. 2018-05-30 20:59:44 +00:00
Isis Lovecruft
115174df19
Merge branch 'feature/remove-unnecessary-std' into develop 2018-05-16 22:24:06 +00:00
Isis Lovecruft
47c1d869ec
Make key generation work with no_std. 2018-05-16 22:09:31 +00:00
Isis Lovecruft
85a3776d27
Collapse part of the .travis build matrix. 2018-05-16 19:56:09 +00:00
Isis Lovecruft
44b3a32598
Merge branch 'feature/update-curve25519-dalek-0.17' into develop 2018-05-16 19:54:40 +00:00
Isis Lovecruft
3a54e970a6
Change travis config to test various backends. 2018-05-16 19:47:35 +00:00
Isis Lovecruft
f6a631c229
WIP Update curve25519-dalek dependency to 0.17. 2018-05-15 23:34:01 +00:00
Robin Millette
51f176007e
fix links
image and #9
2018-04-02 17:25:40 -04:00
Isis Lovecruft
66b3712f1d
Merge branch 'master' into develop 2018-03-26 02:36:31 +00:00
Isis Lovecruft
93149bc071
Merge branch 'release/0.6.2' 2018-03-26 02:36:18 +00:00
Isis Lovecruft
e3dfc8843c
Bump ed25519-dalek version to 0.6.2. 2018-03-26 02:32:38 +00:00
Isis Lovecruft
d61808cb08
Remove done TODO item from README. 2018-03-26 02:32:01 +00:00
Isis Lovecruft
f53e914b15
Merge branch 'update/curve25519-0.16' into develop 2018-03-26 02:31:41 +00:00
Isis Lovecruft
fd9f5aaef6
Merge branch 'master' into develop 2018-03-26 02:31:05 +00:00
Isis Lovecruft
45d5ccd197
Merge branch 'release/0.6.1' 2018-03-26 02:30:57 +00:00
Isis Lovecruft
f790bd2ce1
Update subtle and curve25519-dalek dependencies. 2018-03-26 02:13:39 +00:00
Isis Lovecruft
ac3d974f70
Update Travis badge to point to dalek-cryptography repo. 2018-03-26 02:11:43 +00:00
Isis Lovecruft
40e887ce54
Bump ed25519-dalek version to 0.6.1. 2018-02-02 22:17:36 +00:00
Isis Lovecruft
e648c641cc
Fix typo in benchmark variable name. 2018-02-02 22:17:01 +00:00
Isis Lovecruft
08a5fc34ae
Fix serde expecting() string for Keypair. 2018-01-26 22:19:55 +00:00
Isis Lovecruft
bc9faa4186
Merge remote-tracking branch 'exrook/master' into develop 2018-01-25 20:48:26 +00:00
Isis Lovecruft
a29d1fbabc
Merge branch 'master' into develop 2018-01-20 03:07:23 +00:00
Isis Lovecruft
a40bc4c6fd
Merge branch 'release/0.6.0' 2018-01-20 03:07:16 +00:00
Isis Lovecruft
20fd237d35
Revert to using sha2^=0.6. 2018-01-20 03:00:47 +00:00
Isis Lovecruft
4c633acaf9
Bump ed25519-dalek version to 0.6.0. 2018-01-20 02:56:35 +00:00
Isis Lovecruft
b650ae0c28
Update dev dependency versions. 2018-01-20 02:54:42 +00:00
Isis Lovecruft
36399cb1ad
Merge remote-tracking branch 'chain/feature/pubkey_no_std' into develop 2018-01-20 02:51:02 +00:00
Isis Lovecruft
6724268ea1
Update website and repo links. 2018-01-20 02:49:53 +00:00
Isis Lovecruft
04c8574106
Bump versions for several dependencies. 2018-01-20 02:49:34 +00:00
Isis Lovecruft
e356e476d8
Enable slack notifications. 2018-01-20 02:33:53 +00:00
Jacob Hughes
fff5deddf8 Update dependencies
Update rand to verion 0.4
Update sha2 and digest to version 0.7
Update hex to version 0.3
2018-01-17 14:33:41 -05:00
Isis Lovecruft
c7b69c6562
Expand boats' error types to give more detailed reasons for failures.
This code was significantly based off without boats' error types in
commit 6c1acaca7c, and also upon
conversation with them.  Please target them with praise, and blame me
for whatever mistakes I might have made.
2017-12-24 00:16:52 +00:00
Oleg Andreev
f64b20b351 Do not require feature=std for PublicKey::from_secret 2017-12-12 15:41:39 -08:00
Isis Lovecruft
510a1f89c0
Merge remote-tracking branch 'withoutboats/custom-error-type' into develop 2017-12-09 02:12:39 +00:00