isis agora lovecruft
b61831b7cf
Merge pull request #352 from isislovecruft/feature/montgomery-identity
...
Implement Identity for MontgomeryPoint.
2021-04-21 02:28:12 +00:00
Isis Lovecruft
d7c2a1394f
Add another test for equivalence with the Edwards identity.
2021-04-21 00:06:44 +00:00
Isis Lovecruft
0d8f33153c
Implement Identity for MontgomeryPoint.
...
This can be used in checks for non-contributory behaviour in protocols
where that is a concern.
2021-04-21 00:02:22 +00:00
Isis Lovecruft
032a14cfa5
Update README to thank more contributors.
2021-04-14 03:05:51 +00:00
Isis Lovecruft
127c9e9060
Bump version to 4.0.0-pre.0.
2021-04-14 02:52:27 +00:00
Isis Lovecruft
9b36bcfc5f
Revert "Maintain legacy 3.x support for lookup tables."
...
This reverts commit 0da8f08d65 .
2021-04-14 02:30:22 +00:00
Isis Lovecruft
53b4ed3098
Update CHANGELOG and README for 4.x alpha.
2021-04-14 02:28:21 +00:00
Isis Lovecruft
c52aeb6bec
Merge remote-tracking branch 'PaulGrandperrin/patch-1' into develop
2021-04-14 02:22:31 +00:00
Isis Lovecruft
1e25ea2e71
Merge branch 'main' into develop
2021-04-14 02:03:18 +00:00
Isis Lovecruft
3e189820da
Merge branch 'release/3.1' into main
2021-04-14 02:03:09 +00:00
Isis Lovecruft
2ea17d554a
Update CHANGELOG and README; bump to 3.1.0.
2021-04-14 01:30:57 +00:00
isis agora lovecruft
5eca140010
Merge pull request #351 from isislovecruft/fix/cleanup-elligator
...
Trivial cleanups to Elligator2 encoding
2021-04-13 23:31:14 +00:00
isis agora lovecruft
cecc821f40
Merge pull request #342 from huitseeker/fiat4_with_u32
...
Serial backends w/formally-verified field arithmetic for 32 & 64 bits
2021-04-13 23:23:41 +00:00
isis agora lovecruft
35d4eab431
Merge pull request #349 from huitseeker/modernize_benchmarks
...
[benchmarks-only] Updates the benchmarks
2021-04-13 22:55:59 +00:00
isis agora lovecruft
b05feec7aa
Merge pull request #350 from isislovecruft/develop
...
Merge configurably sized basepoint multiplication lookup tables
2021-04-13 22:47:51 +00:00
Isis Lovecruft
0da8f08d65
Maintain legacy 3.x support for lookup tables.
2021-04-13 22:23:34 +00:00
Isis Lovecruft
ee90202a58
Trivial cleanups to Elligator2 encoding.
...
cf. https://github.com/dalek-cryptography/curve25519-dalek/pull/336
2021-04-13 00:24:50 +00:00
François Garillot
d130b5f17e
[benchmarks-only] Updates the benchmarks
...
- removes usages fo the (deprecated) `bench_function_over_inputs`
- introduces a few benchmark groups.
2021-03-26 09:18:18 -07:00
Isis Lovecruft
cc0c444fae
Merge branch 'feature/dynamic-table-sizes' into develop
2021-03-25 04:34:08 +00:00
Isis Lovecruft
1491f0db36
Update copyright years.
2021-03-25 04:10:55 +00:00
isis agora lovecruft
b79a276806
Merge pull request #336 from huitseeker/elligator2
...
Elligator2 mapping for curve25519
2021-03-25 03:13:41 +00:00
Isis Lovecruft
d0014f6d87
Merge remote-tracking branch 'zgfzgf/feat-unused-import' into develop
2021-03-25 02:30:05 +00:00
Isis Lovecruft
ab468cd24c
Fix copyright years in some of the files I touched.
2021-03-25 02:29:37 +00:00
isis agora lovecruft
2a45241382
Merge pull request #348 from isislovecruft/develop
...
Merge #346 and restructure Zeroize implementations slightly
2021-03-25 02:12:51 +00:00
Isis Lovecruft
4a1fc3c66e
Implement Zeroize for points as the identity element.
2021-03-25 01:45:54 +00:00
Isis Lovecruft
5482c76d16
Merge remote-tracking branch 'garbageslam/zeroize_ristretto' into develop
2021-03-24 18:35:46 +00:00
Isis Lovecruft
da0c49985c
Merge remote-tracking branch 'gedigi/zeroize_ristrettopoint' into develop
2021-03-24 18:12:22 +00:00
Chris Beck
0154ebbfaf
implement Zeroize trait on Ristretto curve point types
...
This is helpful for hardening some of our cryptographic implementations
that use Ristretto curve points
2021-02-10 12:14:32 -07:00
zgfzgf
08bf6ebf08
fix build warning
2021-02-03 17:46:01 +08:00
François Garillot
d1ed427af5
add fiat backends to Travis tests
2021-01-21 08:58:21 -05:00
François Garillot
e2651cceb6
Rename elligator_map -> elligator_encode
...
leaves an obvious name open for the reverse mapping
2021-01-12 13:46:04 -08:00
François Garillot
abd1922456
Add a fiat_u32 backend based on fiat-crypto as well.
...
Renames fiat backend directory to fiat_u64 and does the additional plumbing required to make fiat_{u32, u64}_backend equal alternatives.
Adds a few comments.
2021-01-11 15:45:24 -08:00
François Garillot
ce2e3f6e69
bump fiat-crypto version
2021-01-11 09:32:54 -08:00
François Garillot
756a921bee
bump fiat-crypto version
2021-01-11 09:30:30 -08:00
François Garillot
3422872346
bump fiat-crypto version
2021-01-11 09:30:30 -08:00
François Garillot
a9e50eab36
implement conditional assign with fiat__25519_cmovznz_u64
2021-01-11 09:30:30 -08:00
François Garillot
4ce680d3aa
Update the fiat backend to use the fiat-crypto package
...
https://crates.io/crates/fiat-crypto
2021-01-11 09:30:30 -08:00
François Garillot
d684e13f09
Add a fiat_u64_backend option to curve25519-dalek
...
This uses https://github.com/calibra/rust-curve25519-fiat/ to implement a new 64bit serial backend for dalek.
Co-authored-by: Zoe Parakevopoulou <zoopar@fb.com>
2021-01-11 09:30:07 -08:00
Paul Grandperrin
d0dacb2699
Update rand to 0.8
2021-01-10 15:13:58 -03:00
Paul Grandperrin
86cdb11cf2
Update rand_core to 0.6
...
https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md
This new version makes using rand_core on wasm seamless (thanks to the update of getrandom to v0.2)
The crate compiles well with this PR, but since some `rand_core` traits are publicly exposed in this crate's API, this is strictly speaking a breaking change.
2021-01-10 15:13:58 -03:00
Isis Lovecruft
5500fd15ef
Merge branch 'master' into develop
2021-01-08 03:40:04 +00:00
Isis Lovecruft
73100b74ff
Merge branch 'release/3.0.2'
2021-01-08 03:39:55 +00:00
Isis Lovecruft
55e0db7cf6
Bump curve25519-dalek version to 3.0.2.
2021-01-08 03:32:42 +00:00
Isis Lovecruft
e852e97d2d
Bump curve25519-dalek version to 2.1.2.
2021-01-08 03:25:44 +00:00
Isis Lovecruft
ab5af2e47c
Whitespace fixes for 3267a5d merge.
...
(cherry picked from commit 77ec974212 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:40:00 +00:00
root
5ba95b13e4
errata and basepoint_odd_lookup_table test for better understanding
...
(cherry picked from commit 2d0c5323cb )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:39:46 +00:00
root
4b268a9d7e
errata and basepoint_odd_lookup_table test for better understanding
...
(cherry picked from commit 8da05f7e90 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:39:20 +00:00
root
87a5ed78b7
errata for comment
...
(cherry picked from commit f6015c66c2 )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:38:20 +00:00
root
3b79d0fbc4
errata for vpmuludq
...
(cherry picked from commit fa849e014c )
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
2021-01-08 00:38:11 +00:00
Isis Lovecruft
77ec974212
Whitespace fixes for 3267a5d merge.
2021-01-08 00:33:37 +00:00