Commit Graph

511 Commits (bench-kdf)

Author SHA1 Message Date
David Núñez 1ab62ff7a2 Bump version: 0.1.3-alpha.1 → 0.1.3-alpha.2 2019-08-09 23:26:17 +02:00
jMyles b89decb8c1 Facility for clearing CFrags. 2019-08-09 23:17:31 +02:00
jMyles 3193d1541d Provide public way to get first cfrag in order to obtain point_precursor. 2019-08-09 23:17:31 +02:00
jMyles 5bcc5230ac Attached CFrags are really set - we don't ever want repeat CFrags, right? 2019-08-09 23:17:24 +02:00
jMyles f98b9ae5a8 Provide method for checking if a specific cfrag is attached to a Capsule. 2019-08-09 23:11:23 +02:00
David Núñez a89169181b Removed type hint in UmbralPublicKey.from_hex() 2019-03-27 21:11:08 +01:00
David Núñez 2c3620249b UmbralPublicKeys allow hex serialization 2019-03-27 16:31:39 +01:00
David Núñez 7568fff780 Raise UmbralDecryptionError instead of cryptography.exception.InvalidTag 2019-03-27 16:31:39 +01:00
David Núñez 17c1990c1e Bump version: 0.1.3-alpha.0 → 0.1.3-alpha.1 2019-02-22 11:35:04 +01:00
David Núñez af0fb2d028 Remove copyright notice from individual files 2019-02-22 11:07:19 +01:00
David Núñez 9d756017fd Update copyright notice vars to 2019 2019-02-22 11:07:04 +01:00
David Núñez 368d58c509 Correct syntax for new style classes 2019-02-19 10:12:42 +01:00
David Núñez 71b1e54f06 Allow signing and verification of prehashed messages. Test signatures. 2019-02-15 12:49:36 +01:00
David Núñez f6bb4e102a Some improved type hints 2019-01-02 22:19:13 +01:00
David Núñez d037149682 KFrag.verify() raises ValueError if it doesn't get the required correctness keys. 2019-01-02 22:19:07 +01:00
David Núñez 8e662707ab Clean up, clean up, everybody clean up. 2019-01-02 22:18:12 +01:00
David Núñez 25774a52f7 KFrag validation is now optional in pre.reencrypt. By default it's on. 2019-01-02 22:18:12 +01:00
David Núñez b66c8c0b77 Bump version: 0.1.2-alpha.2 → 0.1.3-alpha.0 2018-12-15 21:49:30 +01:00
David Núñez 6a5fb0be7d Touchups in umbral.signing 2018-12-12 19:59:17 +01:00
David Núñez 52d3209834 SHA256 is the new default hash for signatures (it was Blake2b) 2018-12-12 16:35:19 +01:00
David Núñez 779c8132fc Bump version: 0.1.2-alpha.1 → 0.1.2-alpha.2 2018-12-11 00:56:30 +01:00
David Núñez 114a91e7da Bump version: 0.1.2-alpha.0 → 0.1.2-alpha.1 2018-12-10 21:20:38 +01:00
Kieran Prasch 4a1bdc4b44
Remove unintended comma from project description 2018-12-09 12:56:31 -08:00
David Núñez b1389605c8 Bump version: 0.1.1-alpha.3 → 0.1.2-alpha.0 2018-11-29 10:57:08 +01:00
David Núñez 78904b8fff prove_correctness now is a method of CFrag, like verify_correctness 2018-11-19 16:10:40 +01:00
David Núñez a4977252a1 Addressing RFCs 2018-11-19 16:09:36 +01:00
David Núñez 5245f50db9 Fixed wrong calculation of memory required by Scrypt 2018-11-16 11:26:20 +01:00
David Núñez bb4895c0da Raise memory error when Scrypt can't get enough memory for key derivation 2018-11-16 11:16:12 +01:00
David Núñez 317469767d Allows passing callable KDFs to key wrapping methods. Default is Scrypt 2018-11-16 11:16:12 +01:00
David Núñez bce37b790a Protected scope for pre._prove_cfrag_correctness() 2018-11-16 11:16:12 +01:00
David Núñez 9cfbf1b50c CorrectnessProofs use ExtendedKeccak for compatibility with Solidity 2018-11-16 11:16:12 +01:00
David Núñez 9521c50d12 Introduce customization_string arg for Hash functions 2018-11-16 11:16:12 +01:00
David Núñez 86789006a4 janitorial 2018-11-16 11:16:12 +01:00
David Núñez 576e7a4aeb Introduce ABC for Hash class 2018-11-16 11:16:12 +01:00
David Núñez cec416fee9 Improved key wrapping for Umbral keys. Fixes #122 2018-11-16 11:16:12 +01:00
David Núñez a6cb2a0450 Removes protected attribute scope in some umbral classes 2018-11-16 11:16:12 +01:00
David Núñez 716428a8f9 Dismember umbral._pre and put the pieces where they belong 2018-11-16 11:16:12 +01:00
David Núñez 977bee01a0 Divide umbral.fragments into umbral.kfrags and umbral.cfrags 2018-11-16 11:16:12 +01:00
David Núñez 5b169d27b1 Simplifying combination of Cfrags when threshold=1 2018-11-16 11:16:12 +01:00
David Núñez 17c8c6004d Trailing commas not allowed in functions with starargs before Python 3.6 2018-11-16 11:16:12 +01:00
David Núñez 98c7a7d779 Adapt hash_to_curvebn to new hash interface. Blake2b is the default hash. 2018-11-16 11:16:12 +01:00
David Núñez 5bcc4c96d8 New ExtendedKeccak hash function, based on pysha3 implementation 2018-11-16 11:16:01 +01:00
David Núñez 6f0eca9be1 Introduce Hash superclass and new Blake2b wrapper 2018-11-16 11:07:01 +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 839106da36 Bump version: 0.1.1-alpha.2 → 0.1.1-alpha.3 2018-10-19 01:44:13 +02:00
David Núñez e8c8ae52d4 Bump version: 0.1.1-alpha.1 → 0.1.1-alpha.2 2018-10-19 01:15:50 +02:00
David Núñez 87fa190a91 Bump version: 0.1.1-alpha.0 → 0.1.1-alpha.1 2018-10-19 00:32:18 +02:00
David Núñez 08b6c34163 Bump version: 0.1.0-alpha.4 → 0.1.1-alpha.0 2018-10-19 00:09:22 +02:00
David Núñez 87b24a0083 Some type annotation improvements and other minor change requests 2018-10-11 21:01:21 +02:00
David Núñez 4b662f91a8 Handling other internal umbral.pre constants with constant_sorrow 2018-10-06 21:31:46 +02:00