Commit Graph

299 Commits (bench-kdf)

Author SHA1 Message Date
Piotr Roslaniec d89ce28369 Update algo params 2021-04-27 15:25:49 +02:00
Piotr Roslaniec 358852b55e Add KDF benchmarks 2021-04-27 14:26:34 +02:00
damon 731fd09aa5 add vectors and test for kdf function 2019-10-17 17:55:21 +02:00
jMyles b89decb8c1 Facility for clearing CFrags. 2019-08-09 23:17:31 +02:00
David Núñez f2598db27a Add additional tests suggested by @michwill 2019-04-15 13:09:28 +02:00
David Núñez 5f668f08e8 Refining umbral keys tests 2019-03-27 16:31:39 +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 8bea9a7795 Chimney fixtures 2019-03-27 16:31:39 +01:00
David Núñez af0fb2d028 Remove copyright notice from individual files 2019-02-22 11:07:19 +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 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 977bee01a0 Divide umbral.fragments into umbral.kfrags and umbral.cfrags 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 87b24a0083 Some type annotation improvements and other minor change requests 2018-10-11 21:01:21 +02:00
David Núñez 7d9ddfe6e8 Adds support to testing Jupyter notebooks with py.test plugin nbval
* Test vectors are marked as xfail temporarily
2018-10-06 22:28:14 +02:00
David Núñez 6ebe4bd298 Updating README, scripts and notebook to latest changes in the API 2018-10-06 22:28:07 +02:00
David Núñez 416c51bd0f Testing kfrag signing modes 2018-10-06 21:31:46 +02:00
David Núñez ea442fe702 Janitorial stuff 2018-10-06 21:31:39 +02:00
David Núñez 0eb7e22dc4 New signing mode in KFrag for stating what correctness keys are signed 2018-10-06 19:00:34 +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 ecc166f23c Activated capsules don't exist anymore as objects of the Capsule class 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 f535f926b9 New test for kfrags signed without correctness keys. Test fails 2018-10-06 19:00:26 +02:00
David Núñez 21c50eb575 Allows to set a single correctness key. Tests for correctness keys. 2018-09-21 12:51:57 +02:00
David Núñez 5fc94b4070 Delegating and receiving pubkeys are now optional for kfrag validation 2018-09-19 13:06:06 +02:00
Kieran Prasch acd165840c Add automated continuous deployment to pyPI, filtered by release tag; Additional project metadata. 2018-08-20 15:25:24 -07:00
David Núñez 954b290e20 Remove unused imports in tests 2018-08-17 18:42:27 -05:00
David Núñez e4aae1261c Use KFrag and Capsule fixtures in test_correctness and test_capsule_operations 2018-08-17 15:57:13 -05:00
David Núñez d7f155a1eb Move test of CorrectnessProof serialization to tests/unit/test_cfrags 2018-08-17 15:45:57 -05:00
David Núñez 1895d6428e This test is redundant wrt to test_simple_api 2018-08-17 15:45:57 -05:00
David Núñez de21081f2b Check KFrag validity by Ursulas in scenario tests 2018-08-17 15:45:57 -05:00
David Núñez cad4f1d429 Introduce property-based test for serialization using Hypothesis 2018-08-15 22:34:21 -05:00
David Núñez a086404014 Reorganize test_umbral_keys and reduce scrypt cost to make it faster 2018-08-15 22:33:54 -05:00
David Núñez 00e3062c4c Improve documentation of test_simple_api 2018-08-15 22:33:54 -05:00
David Núñez 4779d51082 Separate test_lifecycle_multidomain and test_pre_api from test_simple_api 2018-08-15 22:33:54 -05:00
David Núñez 8eacd7da29 Additional tests for KFrag validation and Capsule correctness keys 2018-08-15 22:33:54 -05:00
David Núñez 6d1951ec4c Create fixtures for KFrags and Capsules 2018-08-15 22:33:54 -05:00
David Núñez 9bd4766f5b Separate test_key_fragments into test_kfrags and test_cfrags 2018-08-15 22:33:54 -05:00
David Núñez 36a5971b07 Remove unused tests/fixtures.py file 2018-08-15 22:33:54 -05:00
David Núñez 46c987ca88 Fix conftest.py import in test_correctness and test_simple_api 2018-08-15 22:33:54 -05:00
David Núñez e609ff664d Missing License header in test files 2018-08-15 22:33:54 -05:00
David Núñez 2d149ed710 Initial categories of tests: unit, integration, functional and scenario 2018-08-15 22:33:43 -05:00
David Núñez 51a82192c5 Adapt tests to (de)serialization through OpenSSL functions 2018-08-06 20:29:04 -05:00
David Núñez 20c1bfd0c2 Clarify test for points with large x coords 2018-08-06 20:29:04 -05:00
David Núñez 03770d83ca Test invalid deserialization of CurveBNs 2018-08-06 20:29:04 -05:00
David Núñez 1941d38c68 Test for CurveBN serialization now tests deserialization and multicurve 2018-08-06 20:29:04 -05:00