Daira Hopwood
|
c8036959ad
|
Add assertions that we are running under Python 3.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2018-07-25 01:16:22 +01:00 |
Daira Hopwood
|
74aeee659b
|
Use a ValueError exception to represent out-of-range field element representations.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2018-06-04 14:36:37 +01:00 |
Jack Grigg
|
739ec65c52
|
Implement ToScalar from spec, and small refactor to match spec more closely
Test vectors from sapling_key_components.py and sapling_signatures.py are not
altered by this commit.
|
2018-06-05 00:33:50 +12:00 |
Jack Grigg
|
ef17e5bc26
|
Reject encoded points with v not in the field
|
2018-05-19 06:30:19 +12:00 |
Jack Grigg
|
2641abb3be
|
Add tests of field arithmetic
|
2018-05-19 06:27:33 +12:00 |
Jack Grigg
|
9df19eb154
|
pylint
|
2018-05-18 18:01:08 +12:00 |
Jack Grigg
|
6d12cb9a74
|
Extract LEOS2IP and I2LEOSP functions
|
2018-05-18 15:28:36 +12:00 |
Jack Grigg
|
929b36ccfd
|
Implement Pedersen hashes and commitments
|
2018-05-18 13:18:47 +12:00 |
Jack Grigg
|
95f483fd3d
|
Refactor into modules
|
2018-05-18 11:57:11 +12:00 |