aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ec_group/curve_gfp.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-26 17:27:21 -0500
committerJack Lloyd <[email protected]>2018-02-26 17:27:21 -0500
commit539d364a5d6e52ed28684ecf2ae04e93fd3c46d8 (patch)
tree5e981074302159af8dbcc954351e2424dd690651 /src/lib/pubkey/ec_group/curve_gfp.cpp
parenta89255d933d02bb388f9a9fa1093b189f389732d (diff)
Avoid using monty workspace for reduce_below
If the workspace is swapped, then it is too small for the Montgomery operation and will be reallocate on the next sqr/multiply operation. Also use ws[9] consistently for the Montgomery workspace, otherwise if add needs to pass off the mult2, the workspaces are not the expected size and again a reallocation occurs.
Diffstat (limited to 'src/lib/pubkey/ec_group/curve_gfp.cpp')
0 files changed, 0 insertions, 0 deletions