Commit graph

2359 commits

Author SHA1 Message Date
Henry de Valence
b5ccb42759 Rename lminus1 to l_minus_1 2017-04-28 22:54:00 -07:00
Henry de Valence
057c84abd5 Add a bits() function for scalars 2017-04-28 22:51:32 -07:00
Henry de Valence
4c26ff9ccb Merge branch 'feature/clippy-fixes' into develop 2017-04-25 16:00:21 -07:00
Henry de Valence
60ad000609 Remove redundant & 2017-04-25 15:56:36 -07:00
Henry de Valence
1dbc7f8c8c Merge branch 'feature/clippy-fixes' into develop 2017-04-25 15:45:23 -07:00
Henry de Valence
cb656bafa7 Delete bytes_equal_less_than
This function is unused and untested.  It's also incorrect, since the loop
32..0 iterates over an empty range.  Remove it for now; if we need it later, it
still lives in the history.
2017-04-25 15:08:59 -07:00
Henry de Valence
57c96616b9 Remove unused import 2017-04-25 14:50:59 -07:00
Henry de Valence
e00cd114d7 Have radix 25.5 reduce() consume its argument 2017-04-02 23:46:01 +02:00
Henry de Valence
162dfc8331 Remove clones on Copy types 2017-04-02 23:45:34 +02:00
Henry de Valence
3705346afa Remove unnecessary returns 2017-04-02 23:39:45 +02:00
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