Skip to content

How to multiply scalar value with point on P-256 curve? #1197

Answered by tarcieri
dEajL3kA asked this question in Q&A
Discussion options

You must be logged in to vote

Try reversing the order of the arguments: G * w.

If that fixes it I'm a little surprised there aren't corresponding impls in the other direction (you'd expect the commutative property holds for commutative groups, after all)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dEajL3kA
Comment options

@tarcieri
Comment options

Answer selected by dEajL3kA
@dEajL3kA
Comment options

@tarcieri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants