-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add curve methods for computing y from x & encoding/decoding point
Added new methods to `ec_point_fp`: - compute_y: solves curve equation y^2 = x^3 + ax + b (mod p) and returns y - decompress_point: same as compute_y but returns point from x and computed y - encode_point/decode_point: encodes/decodes point to/from bytes following SEC1-v2 2.3.3 specification
- Loading branch information
Showing
2 changed files
with
445 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.