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
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
Without Boats
b5b295e414
Use a custom error type instead of &'static str.
...
Advantages of a custom error type:
- It can be more easily integrated into other error types by clients;
they can implement From<FromBytesError> for their error types, or
they can use a library like failure.
- It is a zero-sized type, which can enable some representational
optimizations.
- It can be easier and more stable to test for.
2017-12-05 18:13:43 -08:00
Isis Lovecruft
9d89e2f660
Upgrade to using curve25519-dalek-0.14.0.
2017-12-04 17:47:06 +00:00
Isis Lovecruft
65b7a21062
Make the Keypair struct inherit repr(C).
2017-12-04 00:50:39 +00:00
Isis Lovecruft
7888bfe3f8
Fix serde expecting string.
2017-12-04 00:50:17 +00:00
Isis Lovecruft
ecee2a4708
Merge branch 'master' into develop
2017-11-06 19:11:12 +00:00
Isis Lovecruft
33be38eb51
Merge branch 'release/0.5.0'
2017-11-06 19:11:07 +00:00
Isis Lovecruft
1cc60aa3ee
Bump ed25519-dalek version to 0.5.0.
2017-11-06 19:09:12 +00:00
Isis Lovecruft
649c844567
Merge branch 'feature/13-serde' into develop
2017-11-06 18:51:11 +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
cbc3abd002
Merge branch 'master' into develop
2017-10-05 07:05:39 +00:00
Isis Lovecruft
608f63d0eb
Merge branch 'release/0.4.3'
2017-10-05 07:05:38 +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
Isis Lovecruft
e706b35d92
Merge remote-tracking branch 'greyspectrum/license-typo' into develop
2017-10-05 06:12:03 +00:00
Isis Lovecruft
cec6b5e3b9
Merge remote-tracking branch 'emilbayes/patch-1' into develop
2017-10-05 05:32:12 +00:00
Isis Lovecruft
08a9715a5c
Merge remote-tracking branch 'nikkolasg/patch-1' into develop
2017-10-05 05:27:43 +00:00
Zaki Manian
8accff36b3
Replaces the depracted rustc_serialize with hex
2017-10-05 05:20:24 +00:00
Isis Lovecruft
a1caa4dfda
Fix typo in README.
2017-09-21 22:06:48 +00:00
greyspectrum
52ecf1669e
Fix a small typo in the license url.
2017-09-06 13:31:52 -04:00
Isis Lovecruft
2fade021aa
Merge branch 'master' into develop
2017-08-16 04:29:45 +00:00
Isis Lovecruft
2f4dd71eed
Merge branch 'release/0.4.2'
2017-08-16 04:29:40 +00:00
Isis Lovecruft
2ae13d75a0
Bump ed25519-dalek version to 0.4.2.
2017-08-16 04:22:50 +00:00
Isis Lovecruft
039533d349
Add additional benchmark for further comparison with ed25519-donna.
...
ed25519-donna includes a "curved25519_scalarmult_basepoint" [sic]
function. See https://github.com/isislovecruft/dalek-benchmarks .
2017-08-16 04:19:04 +00:00
Isis Lovecruft
be06f5339b
Merge branch 'master' into develop
2017-08-16 02:33:22 +00:00
Isis Lovecruft
2d7dfc919d
Merge branch 'release/0.4.1'
2017-08-16 02:33:13 +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
c79f08d0a4
Merge branch 'master' into develop
2017-08-02 19:43:57 +00:00
Isis Lovecruft
dcdd76b45e
Merge branch 'release/0.4.0'
2017-08-02 19:43:48 +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
6146a55845
Merge branch 'feature/curve25519-dalek-0.10' into develop
2017-08-01 18:17:26 +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
18999ec386
Merge branch 'feature/key-separation' into develop
2017-08-01 06:24:16 +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
Emil Bay
13ed8af8de
Fix badge links
2017-07-22 23:21:16 +02:00
Nicolas Gailly
8ac6ef9ab1
simple typo fix
2017-07-12 15:24:35 +02:00
Isis Lovecruft
45171dfc72
Merge branch 'master' into develop
2017-05-15 05:02:19 +00:00
Isis Lovecruft
8ea81bec89
Merge branch 'release/0.3.2'
2017-05-15 05:02:18 +00:00
Isis Lovecruft
6a24e0812b
Bump ed25519-dalek version to 0.3.2.
2017-05-15 04:10:25 +00:00
Isis Lovecruft
f097baf20d
Merge branch 'feature/curve25519-dalek-0.7' into develop
2017-05-15 04:06:51 +00:00