Commit Graph

19 Commits (6d70c80541f64b5d2aaceec371988df7243b5488)

Author SHA1 Message Date
David Nuñez 6d70c80541 Added cFrag list and capsule reconstruction to Capsule. Had to comment
most tests for a while because of the syntax changes
2018-01-09 11:02:53 +01:00
David Nuñez a324dec7c0 changed test_encapsulation to test_decapsulation_by_alice 2018-01-03 21:00:04 +01:00
jMyles dcd9b37d29 Changing argument order (keys first, capsule(s) second). Added type hint for ReconstructedCapsule. 2018-01-03 13:36:17 -05:00
jMyles 9b8bd2c235 Merge commit for naming changes contemporaneously made by @cygnusv. 2018-01-03 13:01:35 -05:00
jMyles cfce67f4cd Let's still use PEP8 names for frag variables (ie, kfrags, not kFrags) 2018-01-03 12:46:52 -05:00
jMyles 5c8259f026 A reconstructed capsule - a "recapsule" for short? 2018-01-03 12:26:16 -05:00
jMyles 0bf2ad8946 Calling it a "capsule" in encapsulation test. 2018-01-03 12:25:50 -05:00
David Nuñez 4b9f395f84 some renaming of internal variables, still a lot pending. 2018-01-03 01:33:39 +01:00
David Nuñez 6bbfa48d78 Adjust tests variables to current naming scheme (#7) 2018-01-03 00:54:41 +01:00
David Nuñez bae7388e7e Added test case for when Ursula sends random garbage as the result of
re-encryption
2018-01-02 11:01:24 +01:00
David Nuñez 828fcdb295 Added test case for kFrag consistency 2018-01-02 10:53:05 +01:00
David Nuñez 11bb2bc23b Added test case where Ursula tries to cheat by reusing a previous
reencryption
2018-01-02 10:43:50 +01:00
David Nuñez 3969ee3948 some name changes as per #7 2017-12-30 01:18:23 +01:00
David Nuñez 73a6169806 Test invalid points in the curve 2017-12-29 01:39:28 +01:00
David Nuñez 3673e35021 Added re-encrypt, combine, decapsulate_reencrypted, challenge, and
check_challenge
2017-12-29 01:13:16 +01:00
David Nuñez 49d501883e Testing from/to bytes in Point 2017-12-29 01:12:14 +01:00
David Nuñez 368dbe4c52 Fixed hash_to_bn 2017-12-28 15:02:53 +01:00
David Nuñez ddd0c51d76 Added superbasic test for bignum that fails. Undefined problem with
from_int and to_int
2017-12-28 12:58:34 +01:00
David Nuñez bcc593f1ab Basic stuff (encapsulate & decapsulate, hash_to_bn, etc) 2017-12-28 02:07:37 +01:00