Commit graph

2267 commits

Author SHA1 Message Date
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
Henry de Valence
a89177f80e
Merge branch 'master' into develop 2017-03-14 02:17:04 -07:00
Henry de Valence
89f12399a3
Merge branch 'release/0.6.0' 2017-03-14 02:16:26 -07:00
Henry de Valence
a6618351f0 Add note about nightly feature 2017-03-14 01:53:26 -07:00
Henry de Valence
b6a71304c8 Bump version 2017-03-14 01:53:05 -07:00
Henry de Valence
5a5ac956aa Merge branch 'feature/fix-load34-load8-warnings' into develop 2017-03-14 01:47:31 -07:00
Henry de Valence
2f5b9e198c Remove warnings from load3/load4 and load8 functions 2017-03-14 01:05:31 -07:00
Henry de Valence
ebc45a7e95 Merge pull request #45 from hdevalence/feature/test-radix-51-in-travis
2nd attempt at fixing Travis config
2017-03-14 05:33:24 +00:00
Henry de Valence
35db90c4f3 Benchmark both implementations 2017-03-13 22:29:39 -07:00
Henry de Valence
383750119b Benchmark with nightly features 2017-03-13 22:21:57 -07:00
Henry de Valence
5d03c2a3ba 2nd attempt at fixing Travis config
Test nightly features on nightly channel.
2017-03-13 22:15:03 -07:00
Henry de Valence
57189a5b7d Merge branch 'feature/test-radix-51-in-travis' into develop 2017-03-13 22:04:02 -07:00
Henry de Valence
d0980b6c8a Test radix_51, but exclude bench and radix_51 from stable/beta builds. 2017-03-13 21:59:42 -07:00
Henry de Valence
abb1b6fef9 Add a variable-time k-fold scalar mult function. 2017-03-13 21:45:41 -07:00
Henry de Valence
57ebc9d7f9 Add an OddMultiples helper struct 2017-03-13 21:45:41 -07:00
Isis Lovecruft
6991b4264b
Merge remote-tracking branch 'hdevalence/feature/64bit-multiplication_r3' into develop 2017-03-14 04:23:11 +00:00
Isis Lovecruft
58c60526da
Add a Travis badge to the Cargo.toml package. 2017-03-14 03:38:13 +00:00
Isis Lovecruft
5d48526be7
Add a Travis badge to the README. 2017-03-14 03:32:17 +00:00
Isis Lovecruft
3cfaf0cf6d
Merge branch 'feature/generic-basepoint_r3' into develop 2017-03-14 03:26:51 +00:00
Henry de Valence
b8b5af24b6 fixup! Enable radix_51 on nightly 2017-03-13 20:24:59 -07:00
Isis Lovecruft
26a77cd7f3
Feature-gate box syntax on both std and basepoint_table_creation. 2017-03-14 03:21:32 +00:00
Isis Lovecruft
948810b08c
Merge branch 'feature/bench' into develop 2017-03-14 02:33:17 +00:00
Isis Lovecruft
557b82568d
Merge branch 'feature/travis' into develop 2017-03-14 02:26:33 +00:00
Isis Lovecruft
bad1f259b9
We expect tests to pass on stable and beta, but benches to fail. 2017-03-14 02:20:02 +00:00
Isis Lovecruft
f6930997d2
Make #[feature(test)] depend on #[cfg(all(test, feature = "bench"))].
* FIXES Issue #38:
   https://github.com/isislovecruft/curve25519-dalek/pull/38
2017-03-14 01:59:08 +00:00
Isis Lovecruft
3882a41d27
Remove test_ prefix from tests in scalar module. 2017-03-14 01:58:39 +00:00
Isis Lovecruft
4afe4ae37f
Move scalar module benchmarks to separate module. 2017-03-14 01:52:42 +00:00