You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to force pre 0.16.1 behavior (no lazy curve precomputation)? #270
Is there any way one can opt in for the old behavior where all the curves where computed during import?
Usecase: I'm running some signature checks at certain points in time, each time with a different key and even though this theoretically only impacts the first verification, I'd rather do as much as possible at import time to catch nasty bugs such as this one: gmpy2/gmpy2#317
Any operation with the curve generator will cause the precomputation to happen, so just take a generator for the curve you'll use and then multiply it by 2 or such, like:
Activity
tomato42 commentedon Nov 21, 2021
Any operation with the curve generator will cause the precomputation to happen, so just take a generator for the curve you'll use and then multiply it by 2 or such, like:
iterate over all curves to precompute all