Commit graph

69 commits

Author SHA1 Message Date
Isis Lovecruft
71c2bc7687
Revise README with new benchmarks, warning, and install instructions. 2017-03-15 21:05:07 +00:00
Isis Lovecruft
054e9ce6b8
Remove blake2b benchmarks. 2017-03-15 19:09:15 +00:00
Isis Lovecruft
b188516b22
Remove unused import digest::Digest from bench module. 2017-03-15 19:07:21 +00:00
Isis Lovecruft
645d4e0d8c
The sha2 crate is no longer a required dependency. 2017-03-15 19:01:03 +00:00
Isis Lovecruft
89d246ec15
Rearrange extern crates. 2017-03-15 18:57:03 +00:00
Isis Lovecruft
e869d14387
Fix doctests to specify hash function choice. 2017-03-15 18:56:24 +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
5e84eedfbb
Add benchmarks with blake2b. 2017-03-15 18:44:59 +00:00
Isis Lovecruft
f1dd165208
Use array_ref! for getting digest during signing. 2017-03-15 18:42:58 +00:00
Isis Lovecruft
e4c085706c
Make signing generic to hash function choice. 2017-03-14 23:54:43 +00:00
Isis Lovecruft
aa6e0a4324
Benchmark signing/verifying blank messages. 2017-03-14 23:53:53 +00:00
Isis Lovecruft
1e2fa1025e
Implement a ZeroDigest for use in benchmarks. 2017-03-14 23:53:53 +00:00
Isis Lovecruft
03f20fdae3
ZeroRng in benchmarks doesn't need to be public. 2017-03-14 23:43:50 +00:00
Isis Lovecruft
b1105618e7
Make verification dependent on hash function. 2017-03-14 23:43:02 +00:00
Isis Lovecruft
b5531c1257
Remove test_ prefix from test functions. 2017-03-14 23:19:38 +00:00
Isis Lovecruft
4eaa1321ee
Feature gate rand on nightly.
We can't use features on non-nightly channels.
2017-03-14 23:15:59 +00:00
Isis Lovecruft
4bdbf89eeb
Add Travis badge to README. 2017-03-14 23:13:07 +00:00
Isis Lovecruft
23a14cebb4
Add a Travis badge to Cargo.toml. 2017-03-14 23:11:47 +00:00
Isis Lovecruft
9ea46e0a7c
Change CI test for --features=no-std to --no-default-features. 2017-03-14 23:04:56 +00:00
Isis Lovecruft
030c3e5373
Make std feature depend on curve25519-dalek/std. 2017-03-14 23:00:26 +00:00
Isis Lovecruft
ad4e726e49
Change .travis.yml to use include directives. 2017-03-14 22:19:59 +00:00
Isis Lovecruft
4a4460a8ad
Test both "std" and "no-std" in CI. 2017-03-14 22:09:13 +00:00
Isis Lovecruft
6522761ca6
Add a .travis.yml file. 2017-03-14 21:50:35 +00:00
Isis Lovecruft
d00c3f9f3c
Make all the doctests actually run. 2017-03-14 21:50:17 +00:00
Isis Lovecruft
5a30f4eb0f
Make from_bytes() for keys public. 2017-03-14 21:49:07 +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
807d52f655
Refuse to compile if documentation is missing. 2017-03-14 21:39:28 +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
0b37367c77
Merge branch 'master' into develop 2017-03-14 20:49:26 +00:00
Isis Lovecruft
6b4eb03dfa
Merge branch 'release/0.2.3' 2017-03-14 20:49:18 +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
e2a649eddb
Add a missing use ed25519::Signature in a docstring example.
* THANKS to Tony Arcieri (@tarcieri) for pointing out the mistake.
2017-03-09 01:12:31 +00:00
Isis Lovecruft
2d76f51d7c
Merge branch 'master' into develop 2017-02-21 21:55:55 +00:00
Isis Lovecruft
fcb896c6a7
Merge branch 'release/0.2.2' 2017-02-21 21:55:47 +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
3231a6d33c
Merge branch 'master' into develop 2017-02-21 21:21:07 +00:00
Isis Lovecruft
b7660d3fe7
Merge branch 'release/0.2.1' 2017-02-21 21:21:01 +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
635d71fac7
Merge branch 'master' into develop 2017-02-08 20:16:55 +00:00
Isis Lovecruft
3cb7aa6124
Merge branch 'release/0.2.0' 2017-02-08 20:16:39 +00:00
Isis Lovecruft
4b12789bcc
Bump version to 0.2.0. 2017-02-08 20:13:35 +00:00
Isis Lovecruft
9d7d919c27
Merge remote-tracking branch 'chain/no-std' into develop 2017-02-08 19:53:36 +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