Isis Lovecruft
d472254ad3
Merge branch 'release/0.8.0'
2018-07-27 21:57:12 +00:00
Isis Lovecruft
9263d01351
Remove outdated TODO section from the README.
2018-07-27 21:45:32 +00:00
Isis Lovecruft
591aff7025
Bump ed25519-dalek version to 0.8.0.
2018-07-27 21:35:36 +00:00
Isis Lovecruft
f67d955100
Add README section for batch performance.
2018-07-27 21:34:02 +00:00
Isis Lovecruft
909b44a502
Merge branch 'master' into develop
2018-07-27 20:26:06 +00:00
Isis Lovecruft
e8858ae65e
Merge branch 'release/0.3.0'
2018-07-27 20:25:57 +00:00
Isis Lovecruft
41acc60538
Bump x25519-dalek version to 0.3.0.
2018-07-27 20:19:07 +00:00
Isis Lovecruft
751d28340a
Update a link in the README.
2018-07-27 20:18:51 +00:00
Isis Lovecruft
2e6795c6e7
Bump curve25519-dalek version to 0.19.
2018-07-27 20:17:01 +00:00
Isis Lovecruft
c700a2b5e4
This is what happens when you have separate machines for benchmarks and
...
committing code.
2018-07-27 19:17:03 +00:00
Isis Lovecruft
1b702a3fe1
Add more batch sizes to benchmarks.
2018-07-27 18:28:17 +00:00
Isis Lovecruft
468acd8f1f
Fix batch benchmarks to use new function signature.
2018-07-27 18:28:06 +00:00
Henry de Valence
869a464927
Fix unbumped version number
...
This is too late for the 0.19.0 release (I missed it because I grepped for
"0.18.", and the version in the README doesn't specify a minor version), but it
will now be in line with the other version strings.
When we put out the 1.0.0-pre.0 release we can change both together (our docs
already say we've released it, because we inserted an extra version, oops).
2018-07-27 10:56:07 -07:00
Isis Lovecruft
3ad616a23c
Remove unused csprng parameter from verify_batch() function.
2018-07-27 17:30:57 +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
318898fac1
Merge branch 'feature/drop-with-clear' into develop
2018-07-27 03:56:13 +00:00
Isis Lovecruft
a92a5b73a1
It's 2018 and nothing's gotten any better outside.
2018-07-27 03:48:37 +00:00
Isis Lovecruft
050d2a01e5
Bump curve25519-dalek dependency to 0.19.
2018-07-27 03:38:34 +00:00
Henry de Valence
839358aae6
Merge branch 'master' into develop
2018-07-26 20:38:08 -07:00
Henry de Valence
ba3b6178f0
Merge branch 'release/0.19.0'
2018-07-26 20:37:55 -07:00
Henry de Valence
8a488d3032
Bump version number to 0.19.0
...
Add an interim version prior to 1.0.0-pre.0 in order to fix the AVX2
build.
2018-07-26 20:34:00 -07:00
Henry de Valence
3bed3ef787
Merge pull request #176 from hdevalence/more-pre-1.0-cleanups
...
More pre 1.0 cleanups
2018-07-26 20:27:11 -07:00
Henry de Valence
31090e79eb
Merge pull request #179 from hdevalence/ristretto_from_uniform
...
Expose a Ristretto::from_uniform_bytes function.
2018-07-26 20:22:27 -07:00
Henry de Valence
869eaba853
Merge pull request #178 from hdevalence/feature/migrate-to-packed-simd
...
Migrate to packed_simd from core::simd
2018-07-26 19:55:14 -07:00
Henry de Valence
259e2cd188
Expose a Ristretto::from_uniform_bytes function.
...
Why expose this instead of `from_hash`? Because it allows constructing
arbitrary-length chains of orthogonal generators from a XOF.
2018-07-26 19:04:56 -07:00
Isis Lovecruft
81a3d3298b
Leave a comment explaining why we derive Default.
2018-07-26 20:15:13 +00:00
Henry de Valence
288625418d
Migrate to packed_simd from core::simd
2018-07-26 12:40:34 -07:00
Henry de Valence
920bdb3279
Merge pull request #177 from samscott89/hash-fix
...
Fix distribution of curve points for hashing to Ristretto points.
2018-07-25 16:06:26 -07:00
Sam Scott
a1e2c83d31
Fix distribution of curve points for hashing to Ristretto points.
2018-07-25 18:52:52 -04:00
Henry de Valence
e4ad0ec60a
Remove outdated note about powers-of-two
2018-07-25 12:23:08 -07:00
Henry de Valence
b7dab8d083
Add iterator length checks to multiscalar muls.
...
This partially re-adds functionality removed in commit
d2ce1ce5dc
We would like to require ExactSizeIterator, but unfortunately we can't
do that, since ExactSizeIterators aren't chainable, for (in my opinion)
silly reasons (chaining two 4-billion-element ExactSizeIterators could
overflow on 32-bit systems). Instead we inspect the size hints manually
and assert that the lower and upper bounds are all equal.
2018-07-25 11:21:06 -07:00
Henry de Valence
82a5e18c29
Update docs to point to multiscalar traits
2018-07-25 10:54:31 -07:00
Henry de Valence
d3310837b8
Merge pull request #174 from hdevalence/alloc-cleanups_r1
...
Unify `alloc` and `std` cargo features (rebased #170 )
2018-07-23 11:09:38 -07:00
Henry de Valence
d62fd8ebe4
Add prelude import to scalar.rs
2018-07-23 10:59:11 -07:00
Tony Arcieri
10e8abf926
Unify alloc and std cargo features
...
This change provides a common convention for using allocator-dependent
features with:
#![cfg(feature = "alloc")]
When available, `Vec` is imported consistently as `prelude::Vec`, which
means modules that need access to `Vec` can simply do:
use prelude::*;
and if an allocator is available, `Vec` will be in the crate prelude.
This allows all `alloc` vs `std` gating to be handled in `lib.rs`,
`build.rs`, and `prelude.rs` so the rest of the codebase doesn't have to
do any gating whatsoever.
2018-07-23 10:50:21 -07:00
Henry de Valence
8990a71b18
Merge pull request #173 from dalek-cryptography/revert-170-alloc-cleanups
...
Revert "Unify `alloc` and `std` cargo features"
2018-07-23 10:39:57 -07:00
Henry de Valence
affa1dc2f6
Revert "Unify alloc and std cargo features"
2018-07-23 10:38:31 -07:00
Henry de Valence
d6adeb54cc
Merge pull request #170 from tarcieri/alloc-cleanups
...
Unify `alloc` and `std` cargo features
2018-07-23 10:38:26 -07:00
Isis Lovecruft
1aec62c6be
Switch to using traits from rand_core instead of rand.
2018-07-23 17:15:09 +00:00
Isis Lovecruft
811e3abd27
Merge branch 'master' into develop
2018-07-23 16:58:25 +00:00
Isis Lovecruft
cd7b62fe9c
Merge branch 'release/0.2.1'
2018-07-23 16:58:11 +00:00
Isis Lovecruft
2abfb37cad
Bump x25519-dalek version to 0.2.1.
2018-07-23 16:44:38 +00:00
Isis Lovecruft
f9012cc1b3
Bump curve25519-dalek dependency to 0.18.
2018-07-23 16:35:28 +00:00
Isis Lovecruft
b43bdfeb58
Merge remote-tracking branch 'mcginty/master' into develop
2018-07-23 16:32:48 +00:00
Henry de Valence
f675f4cd2b
fixup! Allow Options in the VartimeMultiscalarMul trait
2018-07-20 20:33:33 -07:00
Isis Lovecruft
6513d4980a
Implement Drop for secret key material using clear_on_drop.
2018-07-20 23:08:08 +00:00
Henry de Valence
36ade94596
Merge pull request #171 from isislovecruft/feature/scalar-default
...
Impl Default for Scalar
2018-07-20 15:39:59 -07:00
Tony Arcieri
e57778a5a8
Unify alloc and std cargo features
...
This change provides a common convention for using allocator-dependent
features with:
#![cfg(feature = "alloc")]
When available, `Vec` is imported consistently as `prelude::Vec`, which
means modules that need access to `Vec` can simply do:
use prelude::*;
and if an allocator is available, `Vec` will be in the crate prelude.
This allows all `alloc` vs `std` gating to be handled in `lib.rs`,
`build.rs`, and `prelude.rs` so the rest of the codebase doesn't have to
do any gating whatsoever.
2018-07-20 15:07:07 -07:00