Commit graph

2349 commits

Author SHA1 Message Date
Henry de Valence
7f4b96150d Remove explicit lifetimes 2017-04-02 23:36:05 +02:00
Henry de Valence
c8e7e22ddf Remove unnecessary returns 2017-04-02 23:28:01 +02:00
Henry de Valence
b3041f2adc Remove unnecessary if statements 2017-04-02 23:27:38 +02:00
Henry de Valence
e74bf8e789 Remove unnecessary if statement 2017-04-02 23:15:26 +02:00
Henry de Valence
73e172484c Add tick marks around code items in docs 2017-04-02 23:12:18 +02:00
Henry de Valence
eca28fd3e8 Refactor Scalar::hash_from_bytes to allow streaming input to the hash. 2017-03-27 04:49:00 -07:00
Isis Lovecruft
5ebbd5dd86
Remove an XXX comment about using something better than array_ref!().
It turns out array_ref!() is probably the best way, or, at least, we're
already using it everywhere.
2017-03-17 21:42:58 +00:00
Isis Lovecruft
d549fdc8f9
Whitespace fixes. 2017-03-17 21:42:40 +00:00
Isis Lovecruft
641e409ceb
Merge branch 'master' into develop 2017-03-15 23:52:18 +00:00
Isis Lovecruft
3d57bf93b2
Merge branch 'release/0.3.1' 2017-03-15 23:52:09 +00:00
Isis Lovecruft
833a08ca20
Bump to ed25519-dalek version 0.3.1. 2017-03-15 23:50:49 +00:00
Isis Lovecruft
bd9057ceb3
Fix quoting in Travis env variables. 2017-03-15 23:47:00 +00:00
Isis Lovecruft
627d2b8ef6
Merge branch 'master' into develop 2017-03-15 23:21:01 +00:00
Isis Lovecruft
b8df6454a3
Merge branch 'release/0.3.0' 2017-03-15 23:20:42 +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
a3aa6078b4
Add a TODO for adding benchmarks to Brian Smith's crypto-bench. 2017-03-15 22:41:36 +00:00
Isis Lovecruft
0e535a9318
The sha2 dependency is only for tests. 2017-03-15 22:34:46 +00:00
Isis Lovecruft
a6e74ba608
Use b"" instead of "".as_bytes(). 2017-03-15 22:34:06 +00:00
Isis Lovecruft
b5ae6c4447
RFC8032 isn't a draft anymore. 2017-03-15 21:25:44 +00:00
Isis Lovecruft
4cd8ffd797
Explain the baseline "readability" in comparison. 2017-03-15 21:19:13 +00:00
Isis Lovecruft
fc2725889c
It's a discussion and not a definition. 2017-03-15 21:13:09 +00:00
Isis Lovecruft
db965fd5e8
Move README image resourse to res/ and fix link. 2017-03-15 21:10:00 +00:00
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