Commit graph

72 commits

Author SHA1 Message Date
Isis Lovecruft
050d2a01e5
Bump curve25519-dalek dependency to 0.19. 2018-07-27 03:38:34 +00:00
Isis Lovecruft
6513d4980a
Implement Drop for secret key material using clear_on_drop. 2018-07-20 23:08:08 +00:00
Isis Lovecruft
6c8ae573d9
Bump ed25519-dalek version to 0.7.0. 2018-07-15 22:15:54 +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
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
47c1d869ec
Make key generation work with no_std. 2018-05-16 22:09:31 +00:00
Isis Lovecruft
f6a631c229
WIP Update curve25519-dalek dependency to 0.17. 2018-05-15 23:34:01 +00:00
Isis Lovecruft
e3dfc8843c
Bump ed25519-dalek version to 0.6.2. 2018-03-26 02:32:38 +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
bc9faa4186
Merge remote-tracking branch 'exrook/master' into develop 2018-01-25 20:48:26 +00:00
Isis Lovecruft
20fd237d35
Revert to using sha2^=0.6. 2018-01-20 03:00:47 +00:00
Isis Lovecruft
b650ae0c28
Update dev dependency versions. 2018-01-20 02:54:42 +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
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
510a1f89c0
Merge remote-tracking branch 'withoutboats/custom-error-type' into develop 2017-12-09 02:12:39 +00:00
Without Boats
6c1acaca7c
Use failure instead of std::error::Error.
failure is no_std compatible, whereas std::error::Error is not.
2017-12-06 15:25:12 -08:00
Without Boats
96246506c0
This is a breaking change. 2017-12-05 18:18:34 -08:00
Isis Lovecruft
9d89e2f660
Upgrade to using curve25519-dalek-0.14.0. 2017-12-04 17:47:06 +00:00
Isis Lovecruft
1cc60aa3ee
Bump ed25519-dalek version to 0.5.0. 2017-11-06 19:09:12 +00:00
Isis Lovecruft
8d0dda0847
Implement serde serialisation support and pre-expanded secret keys.
* ADD support for serialisation with serde.
 * ADD a new pre-expanded secret key type, `ExpandedSecretKey`.
 * FIXES Issue #13:
   https://github.com/isislovecruft/ed25519-dalek/issues/13
2017-11-06 03:51:07 +00:00
Isis Lovecruft
3b3848fc0c
Bump ed25519-dalek version to 0.4.3. 2017-10-05 07:05:08 +00:00
Isis Lovecruft
e9cd9a2264
Changes for bumping curve25519-dalek dependency to 0.12.0. 2017-10-05 07:03:35 +00:00
Isis Lovecruft
b78487132c
Bump subtle dependency version. 2017-10-05 06:58:17 +00:00
Isis Lovecruft
3596e5ec87
Add licence. 2017-10-05 06:19:55 +00:00
Zaki Manian
8accff36b3
Replaces the depracted rustc_serialize with hex 2017-10-05 05:20:24 +00:00
Isis Lovecruft
2ae13d75a0
Bump ed25519-dalek version to 0.4.2. 2017-08-16 04:22:50 +00:00
Isis Lovecruft
bc63dcb315
Bump ed25519-dalek version to 0.4.1. 2017-08-16 02:29:24 +00:00
Isis Lovecruft
178ebba08e
Bump arrayref dependency to 0.3.4. 2017-08-15 05:39:50 +00:00
Isis Lovecruft
07dc9f4ba7
Bump curve25519-dalek dependency to 0.11.0. 2017-08-15 05:30:53 +00:00
Isis Lovecruft
23756b4c74
Bump ed25519-dalek version to 0.4.0. 2017-08-02 19:39:28 +00:00
Isis Lovecruft
a6e5333cb5
Add Cargo.toml feature to optionally use sha2-asm. 2017-08-01 22:21:59 +00:00
Isis Lovecruft
27753235ae
Upgrade curve25519-dalek, generic-array, and digest dependencies.
As well as adding a dependency on subtle and upgrading dev-dependency sha2.
2017-08-01 18:05:58 +00:00
Isis Lovecruft
df3834c03d
Change SecretKey bytes to only include the secret, not also public, key. 2017-08-01 06:23:46 +00:00
Isis Lovecruft
6a24e0812b
Bump ed25519-dalek version to 0.3.2. 2017-05-15 04:10:25 +00:00
Isis Lovecruft
02e5a94044
Bump curve25519-dalek version to ^0.7. 2017-05-14 10:37:40 +00:00
Isis Lovecruft
a195249468
Switch to using new digest v0.5 API. 2017-05-08 07:54:56 +00:00
Isis Lovecruft
833a08ca20
Bump to ed25519-dalek version 0.3.1. 2017-03-15 23:50:49 +00:00
Isis Lovecruft
e93ce2c1e2
Ignore res/ for packaging. 2017-03-15 22:49:35 +00:00
Isis Lovecruft
20c19ac11d
Bump version to 0.3.0. 2017-03-15 22:42:38 +00:00
Isis Lovecruft
054e9ce6b8
Remove blake2b benchmarks. 2017-03-15 19:09:15 +00:00
Isis Lovecruft
645d4e0d8c
The sha2 crate is no longer a required dependency. 2017-03-15 19:01:03 +00:00
Isis Lovecruft
394d1face2
Remove the ZeroDigest from the benchmark suite.
It turns out that testing scalar_mult_vartime() on all zeroes is fast.
2017-03-15 18:53:48 +00:00
Isis Lovecruft
23a14cebb4
Add a Travis badge to Cargo.toml. 2017-03-14 23:11:47 +00:00
Isis Lovecruft
030c3e5373
Make std feature depend on curve25519-dalek/std. 2017-03-14 23:00:26 +00:00
Isis Lovecruft
9dc9bbed4e
Add a nightly feature which depends on curve25519-dalek/nightly. 2017-03-14 21:48:36 +00:00