Isis Lovecruft
d052e63da8
Enabling std feature can now enable rand/std.
...
Previously it pulled in a bunch of fuschia dependencies regardless of
target system.
2018-12-22 12:22:02 +00:00
Isis Lovecruft
80ae5d0683
Cleanup RNG usage after merging #57 .
2018-12-22 12:20:59 +00:00
Isis Lovecruft
b9f078af16
Remove default-features=false from rand dependency.
...
cf. https://github.com/rust-random/rand/issues/645
2018-12-22 12:14:45 +00:00
Isis Lovecruft
0708974aaa
Bump curve25519-dalek dependency to version 1.0. 🎉
2018-12-22 12:10:03 +00:00
Colt Frederickson
1132665ac2
Update to 1.0.0-pre1 curve25519
2018-11-19 10:13:59 -07:00
Colt Frederickson
42b5d6ada9
Rand 0.6 version bump
2018-11-14 17:08:32 -07:00
Isis Lovecruft
99c64cc403
Bump ed25519-dalek version to 1.0.0-pre.0.
2018-11-06 01:56:13 +00:00
Isis Lovecruft
b97fa08900
Update curve25519-dalek dependency to 1.0.0-pre.0.
2018-11-06 01:40:21 +00:00
Isis Lovecruft
93b73783aa
Bump ed25519-dalek version to 0.8.1.
2018-09-26 18:46:58 +00:00
Isis Lovecruft
7f82308799
Bump curve25519-dalek dependency to 0.20.
2018-09-26 18:46:17 +00:00
Isis Lovecruft
591aff7025
Bump ed25519-dalek version to 0.8.0.
2018-07-27 21:35:36 +00:00
Isis Lovecruft
e35323412d
Merge remote-tracking branch 'hdevalence/feature/27-batch' into develop
2018-07-27 17:24:37 +00:00
Henry de Valence
4c838decd8
Use 128-bit scalars
2018-07-26 21:09:52 -07:00
Henry de Valence
f60987dee5
Try optional_multiscalar_mul
2018-07-26 20:58:11 -07:00
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
ce46a12d92
Implement batch verification.
...
The API for this isn't the greatest and I apologise for that. Suggestions for
improvement welcome. One thing which @hdevalence and I considered was to
change the function signature to:
pub fn verify_batch<D, C, M, S, K>(messages: M,
signatures: S,
public_keys: K,
csprng: &mut C) -> Result<(), SignatureError>
where D: Digest<OutputSize = U64> + Default,
C: Rng + CryptoRng,
M: IntoIterator<Item = &[u8]>,
S: IntoIterator,
S::Item: Borrow<Signature>,
K: IntoIterator,
K::Item: Borrow<Signature>,
The other improvement which could be made is to implement 128-bit scalars for
the randomnesses.
* CLOSES #27
2018-07-17 19:03:46 +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