Commit Graph

  • f79ca09393 A more informative way to show the proper number of bytes for a CFrag. jMyles 2018-01-16 18:52:09 -0500
  • 599bad38b3 Include pub_a and pub_b as input to the kFrag signature to avoid potential reuse of kFrags from other RKs (i.e., not from A to B) David Nuñez 2018-01-17 17:54:37 +0100
  • 97340ec0c5 Updated variable names to include type David Nuñez 2018-01-17 11:37:34 +0100
  • 3f6586b678
    Merge pull request #15 from tuxxy/serialization Tux 2018-01-16 11:27:35 -0700
  • 5939000a52 Add typehinting for curve objects tuxxy 2018-01-16 11:24:54 -0700
  • 3817109ae0 Use staticmethods for from_bytes methods tuxxy 2018-01-16 11:17:23 -0700
  • 763a7271c7 Fix naming from KFrag.point_key to KFrag.bn_key tuxxy 2018-01-16 11:08:13 -0700
  • 8555d36f9b Use EC_POINT_clear_free instead of EC_POINT_free tuxxy 2018-01-15 17:24:38 -0700
  • 2cdfbf1869 Use BN_clear_free instead of BN_free tuxxy 2018-01-15 17:24:21 -0700
  • d2f22c1438 Add test for ChallengeResponse serialization/deserialization tuxxy 2018-01-15 17:11:44 -0700
  • fa0e3eba09 Add serialization/deserialization methods for ChallengeResponse tuxxy 2018-01-15 17:11:29 -0700
  • e48ef28104 Add test for ReconstructedCapsule serialization/deserialization tuxxy 2018-01-15 16:34:22 -0700
  • f418c728f3 Add serialization/deserialization methods for ReconstructedCapsule tuxxy 2018-01-15 15:57:14 -0700
  • f133664d91 Add test for Capsule serialization/deserialization tuxxy 2018-01-15 15:50:39 -0700
  • 632538707c Add serialization/deserialization methods for Capsule tuxxy 2018-01-15 15:45:24 -0700
  • 444800a919 Add test for CapsuleFrag serialization/deserialization tuxxy 2018-01-15 15:40:24 -0700
  • 3b21a91ce0 Add serialization/deserialization methods to CapsuleFrag tuxxy 2018-01-15 15:32:18 -0700
  • 9036cdc9aa Add test for KFrag serialization/deserialization tuxxy 2018-01-15 15:20:18 -0700
  • df43bc3dd7 Add serialization methods to KFrag tuxxy 2018-01-15 14:42:19 -0700
  • 1294cd4d32 Removed old comments David Nuñez 2018-01-10 16:15:41 +0100
  • 381fe19b82 UmbralParameters are fixed before initialization of PRE David Nuñez 2018-01-10 16:14:00 +0100
  • 9aedb37acc Added random h and u David Nuñez 2018-01-10 16:09:08 +0100
  • 620bec85f8 Changed check_original to Capsule method (verify). Renamed KFrag.check_signature to verify. David Nuñez 2018-01-10 15:57:53 +0100
  • 146e139409 Changed check_kFrag_signature to a KFrag method (check_signature) David Nuñez 2018-01-10 15:52:43 +0100
  • 63385d5fd4 Moved KDF to utils David Nuñez 2018-01-10 15:48:33 +0100
  • ba3395728d Moved hash_to_bn to utils, and changed check_kfrag_consistency as a KFrag method David Nuñez 2018-01-10 15:42:34 +0100
  • 6d70c80541 Added cFrag list and capsule reconstruction to Capsule. Had to comment most tests for a while because of the syntax changes David Nuñez 2018-01-09 11:02:53 +0100
  • a324dec7c0 changed test_encapsulation to test_decapsulation_by_alice David Nuñez 2018-01-03 21:00:04 +0100
  • 07e626438d
    Merge pull request #9 from jMyles/master David Núñez 2018-01-03 20:54:28 +0100
  • dcd9b37d29 Changing argument order (keys first, capsule(s) second). Added type hint for ReconstructedCapsule. jMyles 2018-01-03 13:36:17 -0500
  • 9b8bd2c235 Merge commit for naming changes contemporaneously made by @cygnusv. jMyles 2018-01-03 13:01:35 -0500
  • e651b66f9f Type hints for decapsulate. jMyles 2018-01-03 12:47:15 -0500
  • cfce67f4cd Let's still use PEP8 names for frag variables (ie, kfrags, not kFrags) jMyles 2018-01-03 12:46:52 -0500
  • 90e284b4d8 ctxt_combined -=> capsule jMyles 2018-01-03 12:27:27 -0500
  • fcadb3b2ab Some thoughts from my linter. :-) jMyles 2018-01-03 12:27:08 -0500
  • 5c8259f026 A reconstructed capsule - a "recapsule" for short? jMyles 2018-01-03 12:26:16 -0500
  • 0bf2ad8946 Calling it a "capsule" in encapsulation test. jMyles 2018-01-03 12:25:50 -0500
  • 4b9f395f84 some renaming of internal variables, still a lot pending. David Nuñez 2018-01-03 01:33:39 +0100
  • 6bbfa48d78 Adjust tests variables to current naming scheme (#7) David Nuñez 2018-01-03 00:54:41 +0100
  • d40429b642 Renamed variables inside Capsule to improve readability David Nuñez 2018-01-02 11:25:34 +0100
  • bae7388e7e Added test case for when Ursula sends random garbage as the result of re-encryption David Nuñez 2018-01-02 11:01:24 +0100
  • 828fcdb295 Added test case for kFrag consistency David Nuñez 2018-01-02 10:53:05 +0100
  • 11bb2bc23b Added test case where Ursula tries to cheat by reusing a previous reencryption David Nuñez 2018-01-02 10:43:50 +0100
  • b67f85d05e Added check_kFrag_consistency method David Nuñez 2018-01-02 10:43:23 +0100
  • 3969ee3948 some name changes as per #7 David Nuñez 2017-12-30 01:18:23 +0100
  • ce4abae06d RekeyFrag —> KFrag (issue #4) David Nuñez 2017-12-30 00:06:21 +0100
  • bead25c54c
    Rename repo and README tuxxy 2017-12-29 13:47:10 -0700
  • 741c76154c
    Merge branch 'master' of github.com:nucypher/nucypher-kms-umbral tuxxy 2017-12-28 18:36:46 -0700
  • 2b0fe1a9ea
    Standardize compressed point serialized form with 0x02 and 0x03 tuxxy 2017-12-28 18:36:36 -0700
  • 73a6169806 Test invalid points in the curve David Nuñez 2017-12-29 01:39:28 +0100
  • 3673e35021 Added re-encrypt, combine, decapsulate_reencrypted, challenge, and check_challenge David Nuñez 2017-12-29 01:13:16 +0100
  • 49d501883e Testing from/to bytes in Point David Nuñez 2017-12-29 01:12:14 +0100
  • f7f9585da6
    Use keysize from curve object where possible and perform length checking tuxxy 2017-12-28 15:27:37 -0700
  • 9311c90b71
    Raise ValueError if could not determine compressed or uncompressed point tuxxy 2017-12-28 13:12:31 -0700
  • fe67072172
    Implement class method from_bytes on Point which allows for compressed and uncompressed points tuxxy 2017-12-28 13:03:44 -0700
  • fb097ec88d
    Add from_bytes method on BigNum tuxxy 2017-12-28 12:37:01 -0700
  • eac72d5945
    Add to_bytes method for BigNum tuxxy 2017-12-28 12:30:21 -0700
  • 8cc120e8c1
    Implement Point compression in to_bytes method tuxxy 2017-12-28 12:20:01 -0700
  • 125721ddc8
    Add some PEP8 fixes tuxxy 2017-12-28 11:53:09 -0700
  • 368dbe4c52 Fixed hash_to_bn David Nuñez 2017-12-28 15:02:53 +0100
  • f5791207be Fixed bug in from_int David Nuñez 2017-12-28 13:09:58 +0100
  • ddd0c51d76 Added superbasic test for bignum that fails. Undefined problem with from_int and to_int David Nuñez 2017-12-28 12:58:34 +0100
  • bcc593f1ab Basic stuff (encapsulate & decapsulate, hash_to_bn, etc) David Nuñez 2017-12-28 02:07:37 +0100
  • 971cec3f73 added to_affine and to_bytes to Point David Nuñez 2017-12-28 02:07:00 +0100
  • 62527ef2c2 Basic setup David Nuñez 2017-12-28 02:06:20 +0100
  • 07a6e4bb6b Changed __div__ to div modulo the order of the curve David Nuñez 2017-12-27 11:35:10 +0100
  • b5b44f6cdc
    Implement class method get_order_from_curve on Point tuxxy 2017-12-27 07:41:39 -0700
  • 912fe49427
    Implement class method get_generator_from_curve on Point tuxxy 2017-12-27 07:37:50 -0700
  • f22622bece
    Add lambda_coeff and poly_eval math utility functions to utils tuxxy 2017-12-27 07:19:54 -0700
  • 9c33357e38
    Add empty utils.py file tuxxy 2017-12-27 07:14:42 -0700
  • d65829f977
    Add empty pre.py file tuxxy 2017-12-27 07:07:18 -0700
  • 743f90e665
    Implement __eq__ on Point tuxxy 2017-12-27 07:03:49 -0700
  • 337a78851b
    Implement __sub__ on Point tuxxy 2017-12-27 06:58:43 -0700
  • f076da6518
    Implement __invert__ on Point tuxxy 2017-12-27 06:56:31 -0700
  • d1e25d3b1d
    Implement __add__ on Point tuxxy 2017-12-27 06:52:48 -0700
  • eda645cfb6
    Implement __mul__ on Point tuxxy 2017-12-27 06:47:32 -0700
  • 8350e84378
    Implement class method from_affine on Point tuxxy 2017-12-27 06:28:25 -0700
  • fb51c0b7c7
    Create Point class and implement class method gen_rand tuxxy 2017-12-27 05:57:11 -0700
  • 7946b96117
    Implement __eq__ on BigNum tuxxy 2017-12-27 05:25:42 -0700
  • 41ab6080fb
    Implement __pow__ with integer handling for __pow__ and __mod__ tuxxy 2017-12-27 04:56:40 -0700
  • 6023933e54
    Implement __mod__ for BigNum tuxxy 2017-12-27 04:23:03 -0700
  • 29d8457029
    Fix dunder operator usage for invert and division tuxxy 2017-12-27 04:20:40 -0700
  • c4bc668931 Add class method from_int tuxxy 2017-12-24 12:57:02 -0700
  • 77fb96a051 Implement __sub__ on BigNum tuxxy 2017-12-24 12:45:30 -0700
  • f254154dc5 Implement __add__ on BigNum tuxxy 2017-12-24 12:42:33 -0700
  • 3a99b8e4c5 Implement __inv__ on BigNum tuxxy 2017-12-24 12:39:44 -0700
  • e9162b2a06 Implement __div__ on BigNum tuxxy 2017-12-24 12:34:48 -0700
  • 37ca2f3d54 Implement __mul__ on BigNum tuxxy 2017-12-24 12:31:18 -0700
  • 823dd8d794 Add BigNum class method gen_rand tuxxy 2017-12-24 12:21:06 -0700
  • 115816b5c9 Add empty files for bignum and point tuxxy 2017-12-23 13:28:05 -0700
  • 99f1d8475b Create umbral package tuxxy 2017-12-23 13:17:40 -0700
  • 91377c813a Add .gitignore tuxxy 2017-12-23 13:13:08 -0700
  • 40229ae480
    Initial commit Tux 2017-12-23 13:10:05 -0700