Comments (4)
Can you explain why its useful?
It might be the case that eventually the library has no reason to internally have the generator represented in a 'typical' friendly form. If you wish to use the generator for multiplication with a scalar then having the generator in a special precomputed form is important for performance, and necessary for the implementation of a multiply that doesn't have a timing side-channel.
from secp256k1.
Well as long as there is a function to multiply by the generator point and get the result somehow.
i.e new signature schemes in Bitcoin, HD keys or stealth addresses all need this ability.
from secp256k1.
Sure, thats how you generate a public key from a private key.
from secp256k1.
https://github.com/bitcoin/secp256k1/blob/master/include/secp256k1.h#L101
int secp256k1_ecdsa_pubkey_create(unsigned char *pubkey, int *pubkeylen, const unsigned char *seckey, int compressed);
right.
from secp256k1.
Related Issues (20)
- Prefix all macros with SECP256K1_
- Add MuSig2 module HOT 6
- secp256k1_fe_set_b32_mod doesn't actually reduce anything HOT 4
- No implementation found HOT 2
- Add bitcoin as a topic to this repository HOT 1
- fe_sqr tests could be improved HOT 5
- docs: "pointer to context object" vs "context object"
- tests: Tidy the util functions HOT 2
- Rename.md
- Compiling for Windows 10
- Clang sanitizer binaries segfault on CI HOT 12
- Slow install
- msan: use of uninitialized value in secp256k1_scalar_mul_shift_var HOT 5
- .
- False positives in constant-time tests when using MSan on Clang >= 16
- Include reference implementation for X + Parity Keys HOT 4
- tests: `secp256k1_ecmult_multi_var` is called with a `NULL` error callback HOT 2
- .
- .
- ci: macOS brew outdated / upgrade macOS version? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secp256k1.