jMyles
|
48aab73ef1
|
Making `signature_input` a little more straightforward.
|
2018-05-05 19:03:53 -07:00 |
jMyles
|
6d41a45a62
|
Removing pre._verify_correctness.
|
2018-05-05 19:03:21 -07:00 |
jMyles
|
ee2f9fd0e1
|
Reworking `_prove_correctness` to match the flow of `_verify_correctness`
|
2018-05-05 19:03:21 -07:00 |
jMyles
|
af9d8b251d
|
Updating caller logic to use new `CapsuleFrag._verify_correctness`
|
2018-05-05 19:03:21 -07:00 |
jMyles
|
ef9635d3bb
|
Rewriting `_verify_correctness` as a method on `CapsuleFrag`.
|
2018-05-05 19:03:16 -07:00 |
David Núñez
|
e81d44498a
|
Merge pull request #138 from cygnusv/constant_time_hash_to_bn
Remove loop in CurveBN.hash()
|
2018-05-05 11:23:11 +02:00 |
jMyles
|
c5fbcc3a1c
|
Moving exception inside if block; testing it.
|
2018-05-05 11:15:40 +02:00 |
David Nuñez
|
38d632c166
|
Deterministic version of CurveBN.hash()
|
2018-05-05 00:58:04 +02:00 |
Tux
|
a56113c44f
|
Merge pull request #137 from tuxxy/master
Add cryptography.io wheel for Darwin and Python3.6
|
2018-05-04 12:15:32 -04:00 |
tuxxy
|
0a1dbf18b0
|
Add cryptography.io wheel for Darwin and Python3.5
|
2018-05-04 10:08:36 -06:00 |
Justin Holmes
|
5e0394cbc1
|
Merge pull request #131 from cygnusv/constant_time_hash_to_bn
Constant time `hash_to_bn` (and some minor cleaning)
|
2018-05-02 14:45:37 -07:00 |
Tux
|
caa06f8f23
|
Merge pull request #130 from tuxxy/consttime-ops
Add constant time operations
|
2018-05-01 18:47:20 -06:00 |
tuxxy
|
3a5daa3e76
|
Unnest context manager
|
2018-05-01 18:22:38 -06:00 |
tuxxy
|
a6c4b669a2
|
Merge branch 'consttime-ops' of github.com:tuxxy/pyUmbral into consttime-ops
|
2018-05-01 18:15:01 -06:00 |
tuxxy
|
d3919ecdf6
|
Move try/finally outside of with; is_consttime -> set_consttime_flag; Make docstrings more clear
|
2018-05-01 18:14:25 -06:00 |
Tux
|
44c15e5bfb
|
Merge branch 'master' into consttime-ops
|
2018-05-01 18:04:55 -06:00 |
tuxxy
|
b16ea6f303
|
Make _tmp_bn_mont_ctx only return a BN_MONT_CTX
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
b926f7ccc8
|
Add docstrings for constant time operations
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
e7fe202a92
|
Add consttime flag when creating new BNs
|
2018-05-01 17:58:17 -06:00 |
jMyles
|
72c51560e1
|
Removing cryptography.io from setup.py; using python markers in Pipfile to use wheels.
|
2018-05-01 17:58:17 -06:00 |
jMyles
|
2d0e77931e
|
Adding pre-compiled wheel to repo and to Pipfile. Also adding dependencies from cryptography.io so that they get locked.
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
96d6b553a1
|
Make openssl _bn_is_on_curve vars more clear; check if randomly generated bn is on curve; update CurveBN docstring
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
024944627e
|
Improve docstrings a bit
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
b2182c5f2c
|
Include y-byte in Point.get_size
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
5b41cd65bf
|
Use better method for determining keysize in bytes (thanks @cygnusv)
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
b39a8a57f0
|
Remove __hash__ on CurveBN and make Capsule._attached_cfrags a list
Remove unused Capsule._contents
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
32c5f542e6
|
Add get_size classmethods for CurveBN, Point, fragments, and
CorrectnessProof.
Fix syntax error
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
fd1ab49655
|
Cache pubkey on UmbralPrivateKey for #121
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
dc2bfbb48a
|
Rename BigNum -> CurveBN
Change all references from BigNum to CurveBN
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
0b8c6ca936
|
Implement OpenSSL module in BigNum, Point, and key classes
|
2018-05-01 17:58:17 -06:00 |
tuxxy
|
861a1a2be2
|
Create openssl module and add OpenSSL helper utilities
Use BN_cmp instead of BN_is_zero since it's not exposed
Add EC_POINT operations to openssl module
|
2018-05-01 17:58:17 -06:00 |
Tux
|
bc783bd50a
|
Merge pull request #132 from jMyles/codeOrganization
Using pre-compiled wheel.
|
2018-05-01 17:50:25 -06:00 |
jMyles
|
ebe0c8fa04
|
Removing cryptography.io from setup.py; using python markers in Pipfile to use wheels.
|
2018-05-01 16:36:24 -07:00 |
jMyles
|
baaa7c228a
|
Adding pre-compiled wheel to repo and to Pipfile. Also adding dependencies from cryptography.io so that they get locked.
|
2018-05-01 16:35:49 -07:00 |
David Nuñez
|
aeb8ad3298
|
Fix calls to CurveBN.hash()
|
2018-05-02 01:25:42 +02:00 |
David Nuñez
|
d0eecfb9c5
|
Improved version of CurveBN.hash_to_bn(), now called CurveBN.hash()
|
2018-05-02 01:25:42 +02:00 |
David Nuñez
|
a73ad4a37b
|
Raise ValueError in CurveBN constructor if the bignum is not in the curve
|
2018-05-02 01:25:42 +02:00 |
David Nuñez
|
84dcb4eaaf
|
Removed unused import
|
2018-04-30 03:47:43 +02:00 |
David Nuñez
|
0b2e69749c
|
Use Blake2b instead of SHA256 in unsafe_hash_to_point
|
2018-04-30 03:45:23 +02:00 |
David Nuñez
|
4036cdc8b0
|
Use cls instead of class name in class methods
|
2018-04-30 03:41:34 +02:00 |
David Nuñez
|
e57cb01c23
|
Removed Point.get_order_from_curve
|
2018-04-30 03:33:56 +02:00 |
David Nuñez
|
197f08908b
|
Remove params.CURVE_MINVAL_HASH constant
|
2018-04-30 03:30:42 +02:00 |
David Nuñez
|
08a9a41aad
|
Constant-time version `CurveBN.hash_to_bn`
|
2018-04-30 02:56:26 +02:00 |
David Nuñez
|
ce3caf9dfb
|
Remove unused import hmac
|
2018-04-30 00:19:35 +02:00 |
Tux
|
60c7ef6c1c
|
Merge pull request #127 from tuxxy/cleanup
Cleanup pyUmbral codebase and resolve various issues
|
2018-04-27 10:57:55 -06:00 |
tuxxy
|
8261399a76
|
Make openssl _bn_is_on_curve vars more clear; check if randomly generated bn is on curve; update CurveBN docstring
|
2018-04-25 14:03:01 -06:00 |
David Nuñez
|
aee01091fd
|
Updated example
|
2018-04-25 12:02:35 +02:00 |
tuxxy
|
7eec2a0c75
|
Improve docstrings a bit
|
2018-04-24 17:02:23 -06:00 |
tuxxy
|
2b8fe610ca
|
Include y-byte in Point.get_size
|
2018-04-24 16:54:11 -06:00 |
tuxxy
|
92ec0f2a8c
|
Use better method for determining keysize in bytes (thanks @cygnusv)
|
2018-04-24 16:52:09 -06:00 |