Luke Parker
c5f75568cd
Add READMEs to Serai and Monero
2022-07-08 16:23:26 -04:00
Luke Parker
f50fd76b31
Fix dalek_ff_group invert
2022-07-08 16:05:17 -04:00
Luke Parker
41eaa1b124
Increase constant-time properties of from_repr/from_bytes
...
It's still not perfect, as it's Option -> CtOption which requires an
unwrap_or, but...
2022-07-08 15:30:56 -04:00
Luke Parker
2e168204f0
Implement PrimeFieldBits for dalek-ff-group
2022-06-30 03:17:15 -04:00
Luke Parker
f125f441ba
Bump dalek-ff-group version so its prime subgroup edit can be published
2022-06-28 22:21:17 -04:00
Luke Parker
1430b189bf
Enable no_std on transcript
...
Removes the Vec challenge for an associated type.
Fixes the merlin feature which was horribly broken.
Also adds no_std to dalek-ff-group.
2022-06-28 04:02:56 -04:00
Luke Parker
3de7a76051
Use GroupEncoding instead of Curve's from_slice/to_bytes
...
Increases usage of standardization while expanding dalek_ff_group.
Closes https://github.com/serai-dex/serai/issues/26 by moving
dfg::EdwardsPoint to only be for the prime subgroup.
2022-06-28 01:25:26 -04:00
Luke Parker
481bf7dcf3
Prepare dalek-ff-group for publishing
2022-06-19 06:34:06 -04:00
Luke Parker
301634dd8e
Add support for Ristretto
...
Replaces P-256 as the curve used for testing FROST.
2022-06-06 04:22:49 -04:00
Luke Parker
e0ce6e5c12
Add Ed25519 to FROST and remove expand_xmd for elliptic_curve's
...
Doesn't fully utilize ec's hash2curve module as k256 Scalar doesn't have
FromOkm for some reason. The previously present bigint reduction is
preserved.
Updates ff/group to 0.12.
Premised on https://github.com/cfrg/draft-irtf-cfrg-frost/pull/205 being
merged, as while this Ed25519 is vector compliant, it's technically not
spec compliant due to that conflict.
2022-06-06 02:18:25 -04:00
Luke Parker
33241a5bb6
Fill out dalek-ff-group a bit more
2022-06-03 15:35:42 -04:00
Luke Parker
fd0fd77cf5
Simplify Monero key image handling
2022-05-17 19:15:53 -04:00
Luke Parker
9a42391b75
Cleanup which makes transcript optional, only required for multisig
2022-05-03 08:49:46 -04:00
Luke Parker
87f38cafe4
Rename sign folder to crypto
...
Inspired by #3 and #5 .
2022-05-03 00:46:50 -04:00