aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_ec.py
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@davidben.net>2018-05-14 13:00:02 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2018-05-14 13:00:02 -0400
commit6639dd15a7847fae731b29ce01f98cba79757838 (patch)
tree4d1e29dac7432d0edcb308dc9ebdc32c313b5291 /tests/hazmat/primitives/test_ec.py
parentce6fe07632c17f16221f02ad19c6875327cdd10a (diff)
downloadcryptography-6639dd15a7847fae731b29ce01f98cba79757838.tar.gz
cryptography-6639dd15a7847fae731b29ce01f98cba79757838.tar.bz2
cryptography-6639dd15a7847fae731b29ce01f98cba79757838.zip
Clean up unused EC bindings. (#4225)
* Clean up unused EC bindings. A lot of these are really OpenSSL internals, like the EC_METHOD business, support for custom curves which are a bad idea, and weird non-standard serializations like taking the usual point serialization and treating it as a single BIGNUM. I also didn't remove things when they're arguably part of a set. E.g. EC_POINT_add is used, but EC_POINT_dbl isn't. However, they both set at the same abstraction level (basic point operations), so it's strange to have one without the other. I also kept EC_POINT_is_on_curve because, although it is not used, OpenSSL prior to 1.1.0 doesn't perform this important check in EC_POINT_set_affine_coordinates_GFp (though it does in some of the functions which ultimately call it, like EC_KEY_set_public_key_affine_coordinates, what cryptography.io actually uses), so one should not expose the latter without the former. * Fix build issue.
Diffstat (limited to 'tests/hazmat/primitives/test_ec.py')
0 files changed, 0 insertions, 0 deletions