Isis Lovecruft
|
3a664a054a
|
Whitespace fix in decaf module.
|
2017-05-27 01:20:14 +00:00 |
|
Isis Lovecruft
|
c6057cb2d0
|
Merge remote-tracking branch 'hdevalence/feature/fast-decaf' into develop
|
2017-05-25 21:51:57 +00:00 |
|
Isis Lovecruft
|
8772e863e7
|
Merge remote-tracking branch 'manishearth/fuzz' into develop
|
2017-05-25 21:50:48 +00:00 |
|
Isis Lovecruft
|
00f3a20329
|
Merge branch 'feature/add-sub-assign' into develop
|
2017-05-21 23:04:06 +00:00 |
|
Henry de Valence
|
58982cbc2b
|
Lower the trial number in decaf_random
The radix_51 implementation has many more debug checks, so this takes quite
long to run, and it's rude to run a fuzzer on the CI server.
|
2017-05-20 21:39:58 -07:00 |
|
Henry de Valence
|
27dbfa9536
|
Use Mike Hamburg's trick for Decaf compression.
|
2017-05-20 21:39:58 -07:00 |
|
Henry de Valence
|
e4913dfc2b
|
Batch inversions in Decaf decompression.
|
2017-05-20 21:39:58 -07:00 |
|
Henry de Valence
|
f741e50eb5
|
Add a test against current encodings of small multiples of the ed25519 basepoint
|
2017-05-20 21:39:58 -07:00 |
|
Manish Goregaokar
|
e076079772
|
Add cargo-fuzz
|
2017-05-19 16:44:05 -07:00 |
|
Henry de Valence
|
714bf3dd07
|
Set the number of trials back to 10,000
|
2017-05-19 14:23:51 -07:00 |
|
Henry de Valence
|
fbd8d0a605
|
Rewrite decaf elligator code to avoid two consecutive additions
|
2017-05-19 14:23:51 -07:00 |
|
Henry de Valence
|
b6cb7a7983
|
Increase number of trials for decaf elligator
|
2017-05-19 14:23:51 -07:00 |
|
Isis Lovecruft
|
e374451249
|
Implement {AddAssign, SubAssign} for DecafPoint.
|
2017-05-18 23:02:39 +00:00 |
|
Isis Lovecruft
|
b97868beb8
|
Remove unused import of ExtendedPoint in decaf::test module.
|
2017-05-18 03:44:42 +00:00 |
|
Isis Lovecruft
|
767c99adf5
|
Remove unused assignment in a decaf test.
|
2017-05-18 03:43:15 +00:00 |
|
Isis Lovecruft
|
0b70ab3638
|
Move DecafPoint * Scalar definition to decaf module.
|
2017-05-18 02:57:10 +00:00 |
|
Isis Lovecruft
|
e3adf3eea3
|
Merge remote-tracking branch 'hdevalence/feature/decaf_elligator_hash_to_point' into develop
|
2017-05-18 02:50:28 +00:00 |
|
Henry de Valence
|
69fd268aa4
|
Make serde an optional feature
|
2017-05-15 22:40:09 -07:00 |
|
Henry de Valence
|
7c32271346
|
Initial work on Serde support
|
2017-05-15 22:37:50 -07:00 |
|
Henry de Valence
|
608634a7bd
|
Implement DecafPoint::{random, hash_from_bytes, from_hash} using Decaf-flavoured elligator
|
2017-05-15 21:06:26 -07:00 |
|
Isis Lovecruft
|
1b7b57c351
|
Make basepoint multiplication for precomputed tables go both ways.
|
2017-05-14 03:10:26 +00:00 |
|
Isis Lovecruft
|
7478814dfc
|
Implement CTAssignable for DecafPoint.
|
2017-05-14 02:59:54 +00:00 |
|
Henry de Valence
|
c18627f7c2
|
Generalize k_fold_scalar_mult
|
2017-05-04 00:02:29 -07:00 |
|
Henry de Valence
|
0ae0d2b72a
|
Add function to get the basepoint from a basepoint table
|
2017-05-03 19:32:30 -07:00 |
|
Henry de Valence
|
127169c151
|
Remove boxes
|
2017-05-03 19:32:30 -07:00 |
|
Henry de Valence
|
0678e619cc
|
Implement Mul for basepoint tables
|
2017-05-03 19:32:30 -07:00 |
|
Henry de Valence
|
59453d755d
|
Implement Mul for scalar multiplication
|
2017-05-03 19:32:30 -07:00 |
|
Henry de Valence
|
a479b627a8
|
Add Decaf wrapper for k-fold vartime
|
2017-05-03 17:39:06 -07:00 |
|
Isis Lovecruft
|
3cfaf0cf6d
|
Merge branch 'feature/generic-basepoint_r3' into develop
|
2017-03-14 03:26:51 +00: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
|
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 |
|
Henry & Isis
|
049556147f
|
Add wrapper for basepoint precomputations for decaf
|
2017-03-13 15:50:44 -07:00 |
|
Henry & Isis
|
f312160d2c
|
Fixup errors introduced from not running yolocrypto tests by default
|
2017-03-13 15:50:43 -07:00 |
|
Isis Lovecruft
|
65136a202a
|
Merge remote-tracking branch 'isislovecruft/develop' into develop
|
2017-03-13 21:52:20 +00:00 |
|
Isis Lovecruft
|
2039a66cb3
|
Fix two decaf unittests to use compress_edwards().
|
2017-03-10 02:35:38 +00:00 |
|
Henry de Valence
|
b61ed818b8
|
Remove all remaining warnings
|
2017-03-07 01:37:31 -08:00 |
|
Henry de Valence
|
913e699145
|
Rename Decaf tests
|
2017-03-07 01:28:38 -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
|
a202f36916
|
Rewrite invsqrt to avoid using an Option type.
|
2017-02-22 16:24:11 -08:00 |
|
Henry de Valence
|
9473299d04
|
Add benchmarks for Decaf [de]compression
|
2017-02-21 14:59:25 -08: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
|
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 |
|