Commit Graph

34 Commits (bench-kdf)

Author SHA1 Message Date
David Núñez af0fb2d028 Remove copyright notice from individual files 2019-02-22 11:07:19 +01:00
David Núñez 5b169d27b1 Simplifying combination of Cfrags when threshold=1 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 87b24a0083 Some type annotation improvements and other minor change requests 2018-10-11 21:01:21 +02:00
tuxxy d9caff48f8 Add license headers 2018-07-25 11:55:12 -06:00
David Núñez f018079251 Some refinement in lambda_coeff and poly_eval, from umbral.utils 2018-07-13 02:26:04 +02:00
David Núñez d7c31475b8 Remove forward references to 'CurveBN' 2018-07-13 02:26:04 +02:00
David Núñez 66c5078ed0 Refactor get_field_order_size_in_bytes as a Curve method 2018-07-13 02:26:04 +02:00
Kieran Prasch 2fe18c7144 Initial bulk application of type hints to pyUmbral 2018-07-09 12:11:43 -06:00
tuxxy 41cb180fe1 Make the tests run in a failing state, but runnable 2018-07-07 13:56:06 -06:00
David Núñez 8e9f2f4139 Checks correct size of input in Point.from_bytes 2018-05-25 13:19:26 +02:00
David Núñez cfd5b6b668 Adds utils.get_field_order_size_in_bytes and openssl.get_ec_group_degree 2018-05-25 11:49:36 +02:00
tuxxy 92ec0f2a8c Use better method for determining keysize in bytes (thanks @cygnusv) 2018-04-24 16:52:09 -06:00
tuxxy 150714fb00 Add get_size classmethods for CurveBN, Point, fragments, and
CorrectnessProof.

Fix syntax error
2018-04-24 16:28:01 -06:00
David Nuñez a66cf59c48 SHA512 --> BLAKE2b
Resolves #60
2018-03-13 15:43:25 +01:00
tuxxy 2b45e73342 Move hash_to_bn and unsafe_hash_to_point to bignum and point modules respectively 2018-02-08 15:46:42 -07:00
tuxxy 8efafb79f8 Create util function to accurately get curve keysize 2018-02-08 15:46:42 -07:00
tuxxy a43f6ab153 Use SHA512, CURVE_KEY_SIZE_BYTES, and CURVE_MINVAL_SHA512 in crypto material hashing functions 2018-02-08 15:46:41 -07:00
tuxxy ef766d8bba Begin moving things over to module with default_params/default_curve 2018-02-07 22:26:38 -07:00
David Nuñez 8761d7828a Using a common domain_seed 2018-01-31 16:46:35 +01:00
David Nuñez c79b537e01 Changed "constant" to "label" in unsafe_hash_to_point 2018-01-31 16:46:35 +01:00
David Nuñez ba2a93e9bf Remove the try-except-pass pattern using more specific exceptions 2018-01-31 16:46:35 +01:00
David Nuñez 78bc6fffad Renamed hash_to_fn to unsafe_hash_to_bn
Just in case someone tries to use it with secret data
2018-01-31 09:30:12 +01:00
David Nuñez cd22679c44 Corrected error message 2018-01-30 13:08:30 +01:00
David Nuñez b7bd6e8d85 Added hash_to_point function 2018-01-30 12:21:33 +01:00
tuxxy 0104492e16 Use compressed point in KDF 2018-01-22 11:58:10 -07:00
tuxxy 3af88da1f5 Allow KDF function to accept arbitrary data, not just points 2018-01-19 07:00:52 -07:00
David Nuñez 1294cd4d32 Removed old comments 2018-01-10 16:15:41 +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 368dbe4c52 Fixed hash_to_bn 2017-12-28 15:02:53 +01:00
tuxxy f22622bece
Add lambda_coeff and poly_eval math utility functions to utils
Fix syntax to be more uniform
2017-12-27 07:29:59 -07:00
tuxxy 9c33357e38
Add empty utils.py file 2017-12-27 07:14:42 -07:00