Commit Graph

22 Commits (7abd5c09d09f1d371a06ef02abbad7a97ee68938)

Author SHA1 Message Date
Bogdan Opanchuk 104d1a4c20 Replace PublicKey.from_secret_key() with SecretKey.public_key() 2021-06-13 13:28:14 -07:00
Bogdan Opanchuk 6a1bc0ce14 Remove metadata support from reencrypt() 2021-06-01 23:55:48 -07:00
Bogdan Opanchuk 4e0b6a54fe Remove Point.from_affine(), add a check for calling to_affine() on the identity point 2021-05-26 22:13:43 -07:00
Bogdan Opanchuk 84883b85da Enforce CapsuleFrag verification before decryption 2021-05-26 22:13:43 -07:00
Bogdan Opanchuk 65d32fd63e Enforce KeyFrag verification before reencryption 2021-05-26 22:13:43 -07:00
Bogdan Opanchuk 81868848c9 Use signer instead of signer_sk in generate_kfrags() and rename signing_pk to verifying_pk 2021-05-26 22:13:43 -07:00
Bogdan Opanchuk fe6e32be9d Update vector generating script and regenerate vectors 2021-03-28 12:51:45 -07:00
damon 731fd09aa5 add vectors and test for kdf function 2019-10-17 17:55:21 +02:00
David Núñez a6cb2a0450 Removes protected attribute scope in some umbral classes 2018-11-16 11:16:12 +01:00
David Núñez 62a0392b58 New umbral.random_oracles module to gather all hash and KDF functions 2018-11-16 11:07:01 +01:00
David Núñez 4f13c7a4e1 Updated test vectors reflecting new API and KFrags 2018-10-16 11:04:48 +02:00
David Núñez 6df0d835e2 PEP8'ing the test vector scripts and tests 2018-10-16 11:04:42 +02:00
David Núñez 4e331f3010 Rename pre.split_rekey to pre.generate_kfrags. Introduce changes in args 2018-10-06 19:00:34 +02:00
David Núñez 054777eb53 KFrags now has 2 signatures (Bob and proxy) and a new point
* point_precursor removes need for point_xcoord and point_noninteractive
* Fixes access to protected attributes in some places
2018-10-06 19:00:34 +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 c1af2633c1 Update test vectors after addition of Point.__neg__ and Curve.__neg__ 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