aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/pubkey.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-25 16:00:21 -0400
committerJack Lloyd <[email protected]>2018-03-25 16:01:12 -0400
commit61fd8717d3f966b9e4831be4c6509d7e7eca8829 (patch)
tree26c2a6cb39eca3140f7543a520da9a3e87e30743 /src/lib/pubkey/pubkey.h
parenta2b2f94d3190bee6e296718cd1d39f6425b77ab0 (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