aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_dl_group.cpp
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/tests/test_dl_group.cpp
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/tests/test_dl_group.cpp')
0 files changed, 0 insertions, 0 deletions