p
- The non-zero point to addp
- The non-zero point to subtractp * scalar
to the state.
scalar
- The scalar to multiply the point byp
- The non-zero point to multiply and addOption
- The resulting point, or None if the result is the zero point