David Núñez
|
b3f1254716
|
Rename Bignum test files to CurveBN
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
d0b9dc7c8d
|
Use OpenSSL point conversion form constants
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
3b145892c9
|
Use OpenSSL primitives in Point.to_bytes
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
841719c28e
|
Added openssl._bn_to_bytes, to transform BIGNUMs to bytes
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
4f63089226
|
Deserialize BIGNUMs with new method, instead of int.from_bytes
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
92034134ca
|
Make openssl._bytes_to_bn curve-agnostic
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
e1728149f7
|
Additional size checks in the input of openssl._bytes_to_bn
|
2018-08-06 20:29:04 -05:00 |
David Núñez
|
7e1565ee54
|
Introduce openssl._bytes_to_bn method
|
2018-08-06 20:29:04 -05:00 |
Tux
|
5bec2c2020
|
Add CircleCI status badge to README
|
2018-08-06 15:52:32 -06:00 |
David Nuñez
|
9d87da3c30
|
Remove UmbralPublicKey.get_pubkey method
|
2018-08-04 11:25:58 -05:00 |
David Nuñez
|
64594b4831
|
Set correctness keys in capsule prior re-encryption in all tests, docs, and scripts
|
2018-08-03 22:53:06 -05:00 |
David Núñez
|
cd18086b1b
|
pre.reencrypt raises KFrag.NotValid when necessary
|
2018-08-03 22:24:21 -05:00 |
David Núñez
|
26821a9cb2
|
New method KFrag.verify_for_capsule. Takes correctness keys from capsule
|
2018-08-03 22:24:21 -05:00 |
David Núñez
|
41197fa423
|
Introduce KFrag.NotValid exception for invalid KFrags
|
2018-08-03 22:24:21 -05:00 |
K Prasch
|
c65bcd13ca
|
Merge pull request #205 from cygnusv/update-examples
Update Umbral examples and README
|
2018-08-03 15:17:18 -07:00 |
David Nuñez
|
9035ca1202
|
Change tabs to spaces in pyumbral notebook
|
2018-08-03 17:13:38 -05:00 |
David Núñez
|
ff808fdcd0
|
Update usage section in README
|
2018-07-29 23:23:17 +02:00 |
David Núñez
|
419f53e685
|
Update notebook with Umbral simple API
|
2018-07-29 23:23:17 +02:00 |
David Núñez
|
183012e499
|
Update update_simple_api example
|
2018-07-29 23:23:12 +02:00 |
Tux
|
0430859524
|
Merge pull request #195 from cygnusv/test-vectors
Umbral Test Vectors (I)
|
2018-07-26 16:24:07 -06:00 |
Tux
|
bff3e69262
|
Merge pull request #202 from tuxxy/license-header
Add GPL License header for source files
|
2018-07-25 13:17:46 -06:00 |
tuxxy
|
d9caff48f8
|
Add license headers
|
2018-07-25 11:55:12 -06:00 |
David Núñez
|
58960c553b
|
Merge pull request #200 from KPrasch/master
Reflow curve interface
|
2018-07-23 11:16:54 +02:00 |
Kieran Prasch
|
3da35827ba
|
Increases test accuracy/coverage supported curves; Includes RFC responses.
|
2018-07-21 14:47:25 -07:00 |
Kieran Prasch
|
d0ba7b5567
|
add init-time property cache for curve field order size (in bytes); Rename method respectively.
|
2018-07-21 14:16:15 -07:00 |
Kieran Prasch
|
b4d3143012
|
Set allowed failure on mypy checks
|
2018-07-20 14:20:46 -07:00 |
Kieran Prasch
|
4c0fee3973
|
Treat field order size as cached attribute
|
2018-07-20 12:56:52 -07:00 |
Kieran Prasch
|
32b419af11
|
Revise alternate curve constructor; Immutably cache curve metadata
|
2018-07-20 12:56:09 -07:00 |
Kieran Prasch
|
1872647a15
|
Reverse supported curve whitelist k/v
|
2018-07-20 12:54:09 -07:00 |
Kieran Prasch
|
089067ca17
|
Update tests with reversed supported curve key/values
|
2018-07-20 12:52:32 -07:00 |
Kieran Prasch
|
df0734e9e3
|
Remove stale sub-deps from removed wheel
|
2018-07-20 12:51:47 -07:00 |
David Núñez
|
9aa8480d92
|
Updated test vectors after changes to unsafe_hash_to_point
|
2018-07-20 13:34:45 +02:00 |
David Núñez
|
8c89c54449
|
Add test vector, generating script and tests for unsafe_hash_to_point
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
8cfb695372
|
Deactivating regeneration of test vectors by default
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
b1bf118659
|
Added test for checking KFrag and CFrag test vectors
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
c1af2633c1
|
Update test vectors after addition of Point.__neg__ and Curve.__neg__
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
6b868e49ae
|
Tests for test vectors for CurveBN and Point
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
083f113cfc
|
Added test vector files for CurveBN, Points, KFrags and CFrags
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
cabbc4a6da
|
Test vector files are created in the same dir than the generating script
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
767c4236aa
|
Remove probabilistic vectors from CFrag correctness proofs
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
65c7823594
|
Fix problem with wrapping lines
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
64f4a32c10
|
Correctly append CFrags to the test vector
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
e5a822ca5e
|
First version of script for test vector generation
Produces test vectors for CurveBN, Point, KFrags and CFrags
|
2018-07-20 13:26:35 +02:00 |
David Núñez
|
d8a0dff020
|
Merge pull request #199 from cygnusv/point-fix
Make unsafe_hash_to_point a little bit safer
|
2018-07-20 10:13:46 +02:00 |
David Núñez
|
6846f3bafc
|
Use params.curve.__eq__ method in params.__eq__
|
2018-07-20 09:57:09 +02:00 |
David Núñez
|
646dfb3b26
|
Fix potential attacks when label or data are empty byte strings
|
2018-07-20 09:57:09 +02:00 |
David Núñez
|
083a4fb685
|
unsafe_hash_to_point now can output negative points
|
2018-07-20 09:57:09 +02:00 |
David Núñez
|
c41eaf0549
|
Fix bug in unsafe_hash_to_points when label is None, by using defaults
|
2018-07-20 09:57:09 +02:00 |
K Prasch
|
06ec74ae04
|
Merge pull request #198 from tuxxy/remove-wheelhouse
Remove cryptography wheels and update Pipfile
|
2018-07-19 15:52:39 -07:00 |
Kieran Prasch
|
12fc13c9a3
|
Reflow curve interface
|
2018-07-19 15:41:25 -07:00 |