Skip to content
\n

iterate over all curves to precompute all

","upvoteCount":1,"url":"https://github.com/tlsfuzzer/python-ecdsa/discussions/277#discussioncomment-1758234"}}}
Discussion options

You must be logged in to vote

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:

from ecdsa import NIST256p
NIST256p.generator * 2

iterate over all curves to precompute all

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrei-datcu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #270 on December 06, 2021 14:11.