diff options
author | Jack Lloyd <[email protected]> | 2018-03-25 16:00:21 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-25 16:01:12 -0400 |
commit | 61fd8717d3f966b9e4831be4c6509d7e7eca8829 (patch) | |
tree | 26c2a6cb39eca3140f7543a520da9a3e87e30743 /src/lib/pubkey/pubkey.h | |
parent | a2b2f94d3190bee6e296718cd1d39f6425b77ab0 (diff) |
Handle some corner cases in ECC mult
For blinded_base_point_multiply_x if result is point at inifinity
(eg due to k == group_order) return 0 instead of throwing.
For base point multiply, reduce k mod order before masking otherwise
the combination of k + mask might exceed our precomputed table.
Diffstat (limited to 'src/lib/pubkey/pubkey.h')
0 files changed, 0 insertions, 0 deletions