David Núñez
|
9aa8480d92
|
Updated test vectors after changes to unsafe_hash_to_point
|
2018-07-20 13:34:45 +02:00 |
David Núñez
|
8c89c54449
|
Add test vector, generating script and tests for unsafe_hash_to_point
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
8cfb695372
|
Deactivating regeneration of test vectors by default
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
b1bf118659
|
Added test for checking KFrag and CFrag test vectors
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
c1af2633c1
|
Update test vectors after addition of Point.__neg__ and Curve.__neg__
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
6b868e49ae
|
Tests for test vectors for CurveBN and Point
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
083f113cfc
|
Added test vector files for CurveBN, Points, KFrags and CFrags
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
cabbc4a6da
|
Test vector files are created in the same dir than the generating script
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
767c4236aa
|
Remove probabilistic vectors from CFrag correctness proofs
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
65c7823594
|
Fix problem with wrapping lines
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
64f4a32c10
|
Correctly append CFrags to the test vector
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
e5a822ca5e
|
First version of script for test vector generation
Produces test vectors for CurveBN, Point, KFrags and CFrags
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
d8a0dff020
|
Merge pull request #199 from cygnusv/point-fix
Make unsafe_hash_to_point a little bit safer
|
2018-07-20 10:13:46 +02:00 |
David Núñez
|
6846f3bafc
|
Use params.curve.__eq__ method in params.__eq__
|
2018-07-20 09:57:09 +02:00 |
David Núñez
|
646dfb3b26
|
Fix potential attacks when label or data are empty byte strings
|
2018-07-20 09:57:09 +02:00 |
David Núñez
|
083a4fb685
|
unsafe_hash_to_point now can output negative points
|
2018-07-20 09:57:09 +02:00 |
David Núñez
|
c41eaf0549
|
Fix bug in unsafe_hash_to_points when label is None, by using defaults
|
2018-07-20 09:57:09 +02:00 |
K Prasch
|
06ec74ae04
|
Merge pull request #198 from tuxxy/remove-wheelhouse
Remove cryptography wheels and update Pipfile
|
2018-07-19 15:52:39 -07:00 |
Kieran Prasch
|
12fc13c9a3
|
Reflow curve interface
|
2018-07-19 15:41:25 -07:00 |
tuxxy
|
d463e52760
|
Remove cryptography wheels and update Pipfile
|
2018-07-18 13:32:02 -06:00 |
Tux
|
ef2ff044d8
|
Merge pull request #192 from cygnusv/curvebn-ops
Minor improvements to CurveBN
|
2018-07-17 11:02:25 -06:00 |
Tux
|
7d93cbbe69
|
Merge pull request #196 from cygnusv/point-fix
Fixed incorrect Point operations
|
2018-07-17 10:41:27 -06:00 |
David Núñez
|
fc66ab46f2
|
Additional clarifications in Point tests
|
2018-07-17 01:25:54 +02:00 |
David Núñez
|
014c46cad8
|
Rename Point.__inverse__ as __neg__ according to the additive notation
|
2018-07-16 16:18:16 +02:00 |
David Núñez
|
d645d75b2b
|
Fix previous bug in Point.from_affine and Point.from_bytes
|
2018-07-16 16:13:35 +02:00 |
David Núñez
|
b3c9ff6e24
|
Add failing test for valid points with xcoord > order of curve
|
2018-07-16 16:13:35 +02:00 |
David Núñez
|
73252d7de6
|
Add test for invalid point_at_infinity
|
2018-07-16 16:13:30 +02:00 |
David Núñez
|
f018079251
|
Some refinement in lambda_coeff and poly_eval, from umbral.utils
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
f17b2419c4
|
Some type annotations for CurveBN
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
b5b3513707
|
Support for int arguments in CurveBN.__add__ and __sub__
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
3eb66de507
|
Fix memleak in CurveBN.truediv
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
6183b65886
|
Testing correctness of CurveBN operations
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
d5bc44d01a
|
Modular opposite for CurveBN
"I'm the opposite of every guy you've ever met"
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
2075082ef6
|
Update 'NuCypherKMS' to 'NuCypher'
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
d7c31475b8
|
Remove forward references to 'CurveBN'
|
2018-07-13 02:26:04 +02:00 |
David Núñez
|
66c5078ed0
|
Refactor get_field_order_size_in_bytes as a Curve method
|
2018-07-13 02:26:04 +02:00 |
Tux
|
1ec8621b85
|
Merge pull request #194 from nucypher/nucypher-depend
Some commits from 169 that slipped under the radar.
|
2018-07-12 17:44:13 -06:00 |
jMyles
|
c46785ca17
|
Constant time comparison for KFrag.
|
2018-07-12 02:35:16 -07:00 |
jMyles
|
1aaaf7866c
|
Using _id for KFrag __hash__ instead of full bytes. Also test for the same. Also lots of cleanup.
|
2018-07-12 02:34:01 -07:00 |
jMyles
|
aeab6e93af
|
expected_bytes_length can now take is_compressed. test for casting UmbralPublicKey.to_bytes() with is_compressed.
|
2018-07-12 02:27:05 -07:00 |
jMyles
|
9f7a0e10f8
|
Adds is_compressed to UmbralPublicKey.to_bytes()
|
2018-07-12 02:22:31 -07:00 |
Tux
|
23bc511f46
|
Merge pull request #189 from KPrasch/monkeytype
PEP 484 Type Hints for pyUmbral
|
2018-07-09 14:52:10 -06:00 |
Kieran Prasch
|
53ce33e462
|
Relocate stand-alone fixtures
|
2018-07-09 12:26:36 -06:00 |
Kieran Prasch
|
19b1991de6
|
Hand-picked type data to follow-up monkeytype
|
2018-07-09 12:26:32 -06:00 |
Kieran Prasch
|
cbfe8573e6
|
Tone-down mypy checks
|
2018-07-09 12:13:41 -06:00 |
Kieran Prasch
|
befb0c30d7
|
skip openssl type checks; update mypy ini config.
|
2018-07-09 12:13:40 -06:00 |
Kieran Prasch
|
2fe18c7144
|
Initial bulk application of type hints to pyUmbral
|
2018-07-09 12:11:43 -06:00 |
Tux
|
062d4d9a28
|
Merge pull request #178 from tuxxy/curve-object
Refactor pyUmbral to use Curve object
|
2018-07-09 11:16:49 -06:00 |
tuxxy
|
a9236f0b93
|
Update python notebook example
|
2018-07-09 11:12:04 -06:00 |
tuxxy
|
b7de678b5a
|
Update sphinx docs
|
2018-07-07 16:31:39 -06:00 |