Henry & Isis
|
e5f5dea444
|
Rename to_{cached,precomputed} to to_{projective,affine}_niels
|
2017-03-05 15:27:26 -08:00 |
|
Isis Lovecruft
|
9171a03894
|
Merge branch 'feature/rename-compress' into develop
|
2017-03-04 05:52:57 +00:00 |
|
Isis Lovecruft
|
b81f84bee8
|
Merge branch 'feature/montgomery-x-format_r1' into develop
|
2017-03-04 05:48:12 +00:00 |
|
Isis Lovecruft
|
2c83d48cfa
|
Demote a docstring note to inline code comment to avoid confusing users.
|
2017-03-04 05:29:19 +00:00 |
|
Isis Lovecruft
|
20ace8da48
|
Rename compress() to compress_edwards().
|
2017-03-04 03:41:47 +00:00 |
|
Isis Lovecruft
|
cfd0e8ad6e
|
Add method for recovery of Edwards x-coordinate given Montgomery (u, v).
This function is necessary for matching Signal's hash_to_point() behaviour.
|
2017-03-04 03:39:58 +00:00 |
|
Isis Lovecruft
|
b9de92aeaf
|
Add benchmarks for Edwards-Y and Mongomery-U decompression.
|
2017-03-04 03:39:57 +00:00 |
|
Isis Lovecruft
|
915f41c643
|
Fixup CompressedMontgomeryU::decompress() and ensure no divide-by-zeroes.
Also, match Signal behaviour, and split off recovery of other
coordinates into separate functions.
|
2017-03-04 03:39:56 +00:00 |
|
Isis Lovecruft
|
5edd8d6d26
|
Merge remote-tracking branch 'hdevalence/feature/montgomery-x-format_r1' into develop
|
2017-03-04 02:40:17 +00:00 |
|
Isis Lovecruft
|
1c9637490c
|
Obsessive whitespace fix.
|
2017-03-04 02:00:59 +00:00 |
|
Henry de Valence
|
5d3d114628
|
fixup! Properly handle exceptional points.
|
2017-02-27 23:15:39 -08:00 |
|
Isis Lovecruft
|
f48947fb57
|
Merge remote-tracking branch 'hdevalence/feature/some-cleanup-tweaks' into develop
|
2017-02-28 05:50:22 +00:00 |
|
Henry de Valence
|
db53b58e89
|
Properly handle exceptional points.
|
2017-02-27 21:13:24 -08:00 |
|
Henry de Valence
|
19d452c2dc
|
Test decompressing an invalid montgomery point
|
2017-02-27 13:42:13 -08:00 |
|
Henry de Valence
|
45fbcb45f6
|
First notes and code on Montgomery conversion
|
2017-02-27 13:41:50 -08:00 |
|
Isis Lovecruft
|
c627bf25ce
|
Merge remote-tracking branch 'hdevalence/feature/hash-to-scalar' into develop
|
2017-02-27 20:08:18 +00:00 |
|
Henry de Valence
|
fe15bc1d0b
|
Add note on fn main() in doctest
|
2017-02-27 11:22:07 -08:00 |
|
Henry de Valence
|
a93798d209
|
Add a function to hash a byte slice to a scalar.
|
2017-02-27 11:19:06 -08:00 |
|
Henry de Valence
|
e5c0d789fd
|
Add a Scalar::as_bytes() method.
|
2017-02-26 15:25:05 -08:00 |
|
Henry de Valence
|
950519b97b
|
Implement Debug for Scalar
|
2017-02-26 15:25:05 -08:00 |
|
Henry de Valence
|
1dac2f53bb
|
Implement Identity for CompressedEdwardsY
|
2017-02-26 15:25:05 -08:00 |
|
Henry de Valence
|
f39566cf16
|
Change CompressedDecaf::to_bytes to ::as_bytes
|
2017-02-26 15:25:05 -08:00 |
|
Henry de Valence
|
2cef5fcecd
|
Add CompressedEdwardsY::as_bytes
|
2017-02-26 15:25:05 -08:00 |
|
Isis Lovecruft
|
e6b7192d5e
|
Merge branch 'feature/rename-niels-point' into develop
|
2017-02-25 01:26:33 +00:00 |
|
Isis Lovecruft
|
4c5da50359
|
Merge remote-tracking branch 'hdevalence/feature/ct-invsqrt' into develop
|
2017-02-25 01:26:09 +00:00 |
|
Isis Lovecruft
|
a649ea38ee
|
Rename {PreComputed,Cached}Point → {Affine,Projective}NielsPoint.
* FIXES Issue #28: https://github.com/isislovecruft/curve25519-dalek/issues/28
|
2017-02-25 00:47:06 +00:00 |
|
Henry de Valence
|
d450659b7f
|
Rewrite CompressedEdwardsY::decompress() to use FieldElement::sqrt_ratio
|
2017-02-22 20:59:51 -08:00 |
|
Henry de Valence
|
1febf3f753
|
Add an invsqrt_ratio function.
|
2017-02-22 20:59:50 -08:00 |
|
Henry de Valence
|
a202f36916
|
Rewrite invsqrt to avoid using an Option type.
|
2017-02-22 16:24:11 -08:00 |
|
Isis Lovecruft
|
f8139da0b6
|
We're not so yolo that we're not gonna test. Test yolocrypto by default.
|
2017-02-22 22:47:55 +00:00 |
|
Isis Lovecruft
|
a1e9f10db2
|
Merge branch 'master' into develop
|
2017-02-22 22:36:54 +00:00 |
|
Isis Lovecruft
|
f69c73e83e
|
Merge branch 'release/0.5.0'
|
2017-02-22 22:36:45 +00:00 |
|
Isis Lovecruft
|
f0c43ce798
|
Bump version to 0.5.0.
|
2017-02-22 22:25:13 +00:00 |
|
Isis Lovecruft
|
74feb0db75
|
Merge remote-tracking branch 'hdevalence/feature/decaf_r15' into develop
|
2017-02-22 05:30:18 +00:00 |
|
Isis Lovecruft
|
ff28cacd13
|
Enable std and std macros during test builds.
|
2017-02-22 03:07:57 +00:00 |
|
Henry de Valence
|
f93dd4ccf5
|
Use is_identity() in the torsion subgroup tests.
ht @dconnolly for pointing this out
|
2017-02-21 15:13:18 -08:00 |
|
Henry de Valence
|
9473299d04
|
Add benchmarks for Decaf [de]compression
|
2017-02-21 14:59:25 -08: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
|
f168e6c70a
|
Point to the github repo since that's where issues are.
|
2017-02-21 21:53:06 +00:00 |
|
Henry de Valence
|
dd8f17dfb3
|
Add note on feature-gating
|
2017-02-21 13:43:10 -08:00 |
|
Henry de Valence
|
95bf09a335
|
Check xy is nonnegative, y nonzero in decoding.
|
2017-02-21 13:43:09 -08:00 |
|
Henry de Valence
|
5daa217b18
|
Fix sign error
|
2017-02-21 13:43:09 -08:00 |
|
Henry de Valence
|
6b3dbf6870
|
Add another test and some notes
|
2017-02-21 13:43:09 -08:00 |
|
Henry de Valence
|
93be83c6df
|
Check that s = |s| in decompression.
|
2017-02-21 13:43:09 -08:00 |
|
Henry de Valence
|
9cb48c44ba
|
Use conditional_negate in Decaf
|
2017-02-21 13:43:03 -08:00 |
|
Henry & Isis
|
c2bee88c0f
|
Add a feature gate for unfinished implementations.
|
2017-02-21 13:39:01 -08:00 |
|
Henry & Isis
|
ea5efcdc29
|
Add impl of Identity for DecafPoint and CompressedDecaf
|
2017-02-21 13:39:00 -08:00 |
|
Henry & Isis
|
f06afbc493
|
Add a coset4 function for debugging
|
2017-02-21 13:39:00 -08:00 |
|
Henry & Isis
|
375d326e75
|
Change some tests to use new API
|
2017-02-21 13:39:00 -08:00 |
|