Passer au contenu

Bitcoin accepté au paiement  |  Expédié depuis Laval, QC, Canada  |  Soutien expert depuis 2016

Elliptic Curve Point Multiplication

Network & Protocol

Definition

Elliptic curve point multiplication, also called scalar multiplication, is the core operation of every elliptic-curve cryptosystem. Given a point P on the curve and an integer scalar k, it computes Q = kP — the result of adding the point to itself k times. In Bitcoin, the scalar is your private key and P is the fixed generator point G of the secp256k1 curve, so your public key is simply Q = kG. Every address you have ever generated traces back to one instance of this operation.

The group law underneath

"Adding" points is not ordinary arithmetic. Two points on the curve are added by drawing the line through them, finding where it intersects the curve a third time, and reflecting that intersection across the x-axis; doubling a point uses the tangent line instead. These geometric rules translate into algebraic formulas over the curve's finite field — every coordinate is reduced modulo a large prime, so results never leave the field and the "curve" is really a huge, discrete cloud of points that merely obeys curve equations. The rules satisfy the axioms of a mathematical group, which is what makes multiplication by a scalar well-defined in the first place.

Double-and-add

Naively adding G to itself k times would take astronomically many steps, since k can be up to roughly 2256 — more additions than there are atoms in the observable universe. Instead, implementations use the double-and-add algorithm, which walks the binary representation of k: at each bit, double the running point, and where the bit is set, add G. This reduces the work from linear to logarithmic in k, so a full 256-bit multiplication needs only a few hundred curve operations and completes in microseconds. Production libraries such as Bitcoin Core's libsecp256k1 harden this further with constant-time and windowed variants, because a naive implementation whose timing or memory-access pattern depends on the bits of k can leak the secret scalar to an attacker measuring side channels — a real concern for hardware wallets doing signing on small microcontrollers.

The one-way property

Point multiplication is easy to compute forward but believed infeasible to reverse: recovering k from Q and G is the discrete logarithm problem, for which no efficient classical algorithm is known at these sizes. That asymmetry is exactly what lets you publish a public key without exposing the private key behind it — the entire security model of Bitcoin ownership compresses into this one mathematical claim.

The operation is everywhere once you look for it. Deriving a public key: one multiplication. Producing an ECDSA or Schnorr signature: fresh multiplications for the nonce commitment. Verifying a signature, deriving a Taproot output from an internal key, executing a Diffie-Hellman exchange for an encrypted connection: all scalar multiplications. It is the single most-performed asymmetric-crypto step in Bitcoin — which is why so much engineering effort has gone into making it both fast and silent.

Why miners don't need it — and wallets can't avoid it

A detail worth appreciating: Bitcoin mining involves no elliptic-curve math at all. An ASIC grinds SHA-256 hashes over block headers; the curve appears only when coins move, in the signatures that authorize spending. This division explains hardware design across the ecosystem. Mining silicon is pure hash pipeline, while a hardware wallet's secure element is built around doing scalar multiplication safely — in constant time, with side channels controlled, at a leisurely pace, since a wallet signs occasionally while a miner hashes constantly. When you sweep a mining payout into cold storage, both worlds meet in one transaction: proof-of-work earned the coins, and one quiet 256-bit multiplication is what lets you — and only you — spend them.

In Simple Terms

Elliptic curve point multiplication, also called scalar multiplication, is the core operation of every elliptic-curve cryptosystem. Given a point P on the curve and an…

Explore the Full Glossary

Browse all Bitcoin mining terms from A to Z. Whether you are a beginner or expert, deepen your understanding of the mining ecosystem.

Glossaire du minage

ASIC Miner Database

Compare 500+ miners with real-time profitability data, home mining scores, and detailed specs.

Comparer les mineurs