Daira Hopwood
efee9dcb03
chmod +x for scripts and make the shebang/preamble consistent.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-09-15 18:03:47 +01:00
Daira Hopwood
29c40dc885
orchard_commitments.py and orchard_group_hash.py: type fixes.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-05-09 12:44:40 +08:00
Daira Hopwood
929692ecdc
Rename sapling_utils.py to utils.py.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-05-09 12:44:39 +08:00
Daira Hopwood
f8008a01fd
Apply suggestions from code review
...
Comments and a minor refactor for consistency.
2021-04-29 02:07:46 +01:00
Jack Grigg
9cb9e0f9bc
Generate random test vectors for MapToCurve, GroupHash, Sinsemilla
2021-04-29 12:59:16 +12:00
Jack Grigg
10bdd6c5f8
Split apart MapToCurveSimpleSWU and GroupHash test vectors
...
The test vector generators in this repository are meant to output data
that can be copy-pasted or piped to a file. Generating multiple sets of
test vectors from a single file interferes with this.
2021-04-29 12:29:31 +12:00
Daira Hopwood
e981001efc
orchard_group_hash: add test vectors for map_to_curve_simple_swu.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-04-27 14:28:48 +01:00
Daira Hopwood
634c599fc6
orchard_group_hash: minor refactoring.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-04-27 14:28:08 +01:00
Daira Hopwood
322aff1777
orchard_group_hash.py: don't apply iso_map as part of map_to_curve_simple_swu.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-04-27 14:26:12 +01:00
Jack Grigg
4052b6404b
Add rendering logic to Orchard GroupHash and Sinsemilla
2021-04-27 15:41:19 +12:00
Taylor Hornby
0c6c988e2e
Call iso_map in map_to_curve_simple_swu
2021-04-26 18:34:31 -06:00
Taylor Hornby
027b362773
Some cleanup and move group_hash into its own file
2021-04-26 18:29:39 -06:00