tuxxy
|
3a8f4c81cd
|
Add skeleton of DEM
|
2018-01-23 00:40:36 -07:00 |
tuxxy
|
00c5089b8b
|
Add tests for checking generated keys
|
2018-01-23 00:34:33 -07:00 |
tuxxy
|
8cce1816fe
|
Add gen_key classmethods to UmbralPrivateKey and UmbralPublicKey
Actually return key
|
2018-01-23 00:33:34 -07:00 |
tuxxy
|
0131fb866f
|
Undo DH derivation via affine
|
2018-01-22 12:01:58 -07:00 |
tuxxy
|
0104492e16
|
Use compressed point in KDF
|
2018-01-22 11:58:10 -07:00 |
Tux
|
cc2adabc81
|
Merge pull request #23 from tuxxy/key-classes
Add Key classes and add some fixes
|
2018-01-19 18:26:13 -07:00 |
tuxxy
|
428e9340c4
|
Merge DH fixes
|
2018-01-19 16:48:49 -07:00 |
tuxxy
|
bce75f363d
|
Fix Diffie-Hellman derivation
|
2018-01-19 07:08:18 -07:00 |
tuxxy
|
3af88da1f5
|
Allow KDF function to accept arbitrary data, not just points
|
2018-01-19 07:00:52 -07:00 |
tuxxy
|
9bb9168323
|
Add tests for UmbralPrivateKey and UmbralPublicKey
|
2018-01-19 06:08:39 -07:00 |
tuxxy
|
dd37964394
|
Implement save_key method on UmbralPublicKey
|
2018-01-19 06:08:39 -07:00 |
tuxxy
|
de56b5a033
|
Implement method save_key for UmbralPrivateKey with key encryption using Scrypt-Salsa20-Poly1305
|
2018-01-19 06:08:39 -07:00 |
tuxxy
|
03d2a678cf
|
Implement classmethod load_key for UmbralPrivate/PublicKey classes
|
2018-01-19 06:08:39 -07:00 |
tuxxy
|
8b5fec3fdb
|
Add skeleton UmbralPrivateKey and UmbralPublicKey objects
|
2018-01-19 06:08:39 -07:00 |
tuxxy
|
716c4a3b45
|
Use additive notation for scalar multiplication
Fix spacing
Use vector notation on consistency check
|
2018-01-19 06:07:59 -07:00 |
tuxxy
|
0036d73891
|
Implement __rmul__ on Point and add type checking in BigNum.__mul__
|
2018-01-18 00:31:15 -07:00 |
Justin Holmes
|
82bb5f880c
|
Merge pull request #18 from jMyles/master
Adding some note comments to tests to explain internals.
|
2018-01-17 14:22:39 -05:00 |
jMyles
|
a3a9180dfd
|
More description of bytestrings lengths.
|
2018-01-17 14:17:00 -05:00 |
jMyles
|
2145debe21
|
Using "kfrags" as a name for KFrags throughout test.
|
2018-01-17 14:17:00 -05:00 |
jMyles
|
9689817b01
|
Here's what my linter has to say about the tests. :-)
|
2018-01-17 14:16:59 -05:00 |
jMyles
|
f79ca09393
|
A more informative way to show the proper number of bytes for a CFrag.
|
2018-01-17 14:15:23 -05:00 |
David Nuñez
|
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)
|
2018-01-17 17:54:37 +01:00 |
David Nuñez
|
97340ec0c5
|
Updated variable names to include type
|
2018-01-17 11:37:34 +01:00 |
Tux
|
3f6586b678
|
Merge pull request #15 from tuxxy/serialization
Implement serialization
|
2018-01-16 11:27:35 -07:00 |
tuxxy
|
5939000a52
|
Add typehinting for curve objects
|
2018-01-16 11:24:54 -07:00 |
tuxxy
|
3817109ae0
|
Use staticmethods for from_bytes methods
|
2018-01-16 11:17:41 -07:00 |
tuxxy
|
763a7271c7
|
Fix naming from KFrag.point_key to KFrag.bn_key
|
2018-01-16 11:08:13 -07:00 |
tuxxy
|
d2f22c1438
|
Add test for ChallengeResponse serialization/deserialization
|
2018-01-15 17:11:44 -07:00 |
tuxxy
|
fa0e3eba09
|
Add serialization/deserialization methods for ChallengeResponse
|
2018-01-15 17:11:29 -07:00 |
tuxxy
|
e48ef28104
|
Add test for ReconstructedCapsule serialization/deserialization
|
2018-01-15 16:34:22 -07:00 |
tuxxy
|
f418c728f3
|
Add serialization/deserialization methods for ReconstructedCapsule
|
2018-01-15 15:57:14 -07:00 |
tuxxy
|
f133664d91
|
Add test for Capsule serialization/deserialization
|
2018-01-15 15:50:39 -07:00 |
tuxxy
|
632538707c
|
Add serialization/deserialization methods for Capsule
Fix names
|
2018-01-15 15:48:54 -07:00 |
tuxxy
|
444800a919
|
Add test for CapsuleFrag serialization/deserialization
|
2018-01-15 15:40:24 -07:00 |
tuxxy
|
3b21a91ce0
|
Add serialization/deserialization methods to CapsuleFrag
|
2018-01-15 15:32:18 -07:00 |
tuxxy
|
9036cdc9aa
|
Add test for KFrag serialization/deserialization
|
2018-01-15 15:20:18 -07:00 |
tuxxy
|
df43bc3dd7
|
Add serialization methods to KFrag
Fix point_key deserialization to use BigNum
|
2018-01-15 15:06:25 -07:00 |
David Nuñez
|
1294cd4d32
|
Removed old comments
|
2018-01-10 16:15:41 +01:00 |
David Nuñez
|
381fe19b82
|
UmbralParameters are fixed before initialization of PRE
|
2018-01-10 16:14:00 +01:00 |
David Nuñez
|
9aedb37acc
|
Added random h and u
|
2018-01-10 16:09:08 +01:00 |
David Nuñez
|
620bec85f8
|
Changed check_original to Capsule method (verify).
Renamed KFrag.check_signature to verify.
|
2018-01-10 15:57:53 +01:00 |
David Nuñez
|
146e139409
|
Changed check_kFrag_signature to a KFrag method (check_signature)
|
2018-01-10 15:52:43 +01:00 |
David Nuñez
|
63385d5fd4
|
Moved KDF to utils
|
2018-01-10 15:48:33 +01:00 |
David Nuñez
|
ba3395728d
|
Moved hash_to_bn to utils, and changed check_kfrag_consistency as a
KFrag method
|
2018-01-10 15:42:34 +01:00 |
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 |
David Núñez
|
07e626438d
|
Merge pull request #9 from jMyles/master
Some more naming things, some more questions.
|
2018-01-03 20:54:28 +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
|
e651b66f9f
|
Type hints for decapsulate.
|
2018-01-03 12:47:15 -05:00 |