Commit graph

154 commits

Author SHA1 Message Date
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
Isis Lovecruft
85b0cd933c
Split off benchmarks into separate module and require --features=bench.
This allows us to compile (and test) on the rustc stable and beta channels.
Benchmarking is only available on nightly, with the --features=bench flag.
2017-03-14 21:37:46 +00:00
Isis Lovecruft
304d591756
Make key generation generic to hash function choice. 2017-03-14 21:36:35 +00:00
Isis Lovecruft
5f8f05dad9
Bump ed25519-dalek version to 0.2.3. 2017-03-14 20:42:44 +00:00
Isis Lovecruft
4f1447314f
Bump curve25519-dalek version to ^0.6. 2017-03-14 20:16:20 +00:00
Isis Lovecruft
11bc81da89
Bump the version to 0.2.2. 2017-02-21 21:27:54 +00:00
Isis Lovecruft
86c29ff6e7
Add Cargo.toml keywords, categories, and revise description. 2017-02-21 21:27:12 +00:00
Isis Lovecruft
85c77f5da0
Add a homepage and links to documentation in Cargo.toml. 2017-02-21 21:26:44 +00:00
Isis Lovecruft
c6c04bf207
Bump version to 0.2.1. 2017-02-21 21:19:20 +00:00
Isis Lovecruft
d87930e7b7
Bump curve25519-dalek version to use 0.4.0. 2017-02-21 21:19:00 +00:00
Isis Lovecruft
409f329890
Change link to repository to github. 2017-02-21 21:18:40 +00:00
Isis Lovecruft
4b12789bcc
Bump version to 0.2.0. 2017-02-08 20:13:35 +00:00
Tony Arcieri
4f81231dc2 Add #![no_std]
Use ::core in lieu of ::std, allowing this crate to be usable in #![no_std]
environments.

Gates features that presently depend on ::std (presently just rand) behind a
"std" cargo feature, which is enabled by default.

Switches from the "rust-crypto" crate (which is not #![no_std] compatible) to
the sha2 crate, which is factored out of the original "rust-crypto" project
and being actively maintained.
2017-02-06 13:48:35 -08:00
Tony Arcieri
6269edb266 Update to curve25519-dalek v0.3.0
Changes `curve25519_dalek::curve::CompressedPoint` -> `CompressedEdwardsY`
2017-02-06 13:43:37 -08:00
Isis Lovecruft
50f53841bf
Ensure signatures match bytewise with reference and Go implementations. 2016-12-09 01:18:46 +00:00
Isis Lovecruft
2a74e28587
Use any curve25519-dalek version greater than 0.1. 2016-12-08 22:22:22 +00:00
Isis Lovecruft
67137255da
Change the package name to ed25519-dalek. 2016-12-08 22:21:57 +00:00
Isis Lovecruft
d943e2b323
Rename the repo. 2016-12-08 22:02:37 +00:00
Isis Lovecruft
0282179c8a
Use 'license' directive rather than 'license-file'.
When using the 'licence-file' directive, crates.io states that the license is
"non-standard", when really it should say that the code is CC0 (public
domain).
2016-12-08 21:40:01 +00:00
Isis Lovecruft
a64bbfc09f
Change curve25519-dalek requirement to 0.1.0. 2016-12-08 10:39:07 +00:00
Isis Lovecruft
1dc3865bf0
Fix up the keywords and description. 2016-12-08 10:19:01 +00:00
Isis Lovecruft
9186fb9a6d
Bump to version 0.1.0 in Cargo.toml. 2016-12-08 10:18:43 +00:00
Isis Lovecruft
27ee13b6ef
Initial commit 2016-12-01 22:03:46 +00:00