Commit Graph

21 Commits (v0.1.3-alpha.2)

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 87b24a0083 Some type annotation improvements and other minor change requests 2018-10-11 21:01:21 +02:00
David Núñez 08d6b9d44f Fix incorrect type annotations in pre.Capsule and Curve 2018-08-15 22:33:54 -05:00
David Núñez b84c83ed44 Introduce curve.group_order_size_in_bytes (different from field order) 2018-08-06 20:29:04 -05:00
tuxxy d9caff48f8 Add license headers 2018-07-25 11:55:12 -06: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 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 12fc13c9a3 Reflow curve interface 2018-07-19 15:41:25 -07:00
David Núñez 66c5078ed0 Refactor get_field_order_size_in_bytes as a Curve method 2018-07-13 02:26:04 +02:00
tuxxy 4a20ef0692 Add __repr__ for Curve object 2018-07-07 13:56:07 -06:00
tuxxy a717a87384 Use singleton model for curves; allow users to import instances 2018-07-07 13:56:07 -06:00
tuxxy e2d1352abf Refactor openssl, point, etc to use a single curve object -- fixes memory leak 2018-07-07 13:56:07 -06:00
tuxxy e65669e6c1 Add generator to Curve 2018-07-07 13:56:06 -06:00
tuxxy e5924f79be Add simple __eq__ method for comparing two Curve objects 2018-07-07 13:56:06 -06:00
tuxxy f80f128927 Create supported_curves property and check values in test 2018-07-07 13:56:06 -06:00
tuxxy e8c5c1b449 Raise ValueError if Curve is instantiated with unsupported nid 2018-07-07 13:56:06 -06:00
tuxxy 10bd7a9614 Add whitelist Curve objects 2018-07-07 13:56:06 -06:00
tuxxy 2a73f7804f Add basic Curve object structure and CURVE_WHITELIST dict 2018-07-07 13:56:06 -06:00