Hardware and privacy security

Rick Mark-Penwell

Security, privacy and AI engineer and hardware security researcher. I've worked on Apple platforms since 2007, and I'm best known for research into Apple's T2 security chip with Team t8012.

Read the blog About me →

Previously at Meta, Coinbase, Dropbox, Uber ATG, Jet.com, Bloomberg and Microsoft. Most of what I build is open source.

The shape of the curve

y² = x³ + 7, the curve behind Bitcoin

Over the reals y² = x³ + 7

The secp256k1 equation y² = x³ + 7 drawn over the real numbers: one smooth branch, symmetric about the x-axis. A chord through points P and Q meets the curve a third time; reflecting that point across the x-axis gives P + Q. PQ−(P+Q)P+Q

Draw a line through P and Q; it meets the curve once more. Reflect that point and you have P + Q. That chord rule is the whole group law.

Over Fp y² ≡ x³ + 7 (mod 223)

The same equation reduced modulo a small prime: the curve becomes a scattered, mirror-symmetric cloud of points.

252 points, counting the point at infinity. Pick a prime:

secp256k1 is this curve over Fp with p = 2²⁵⁶ − 2³² − 977. Its group has prime order n ≈ 1.16 × 10⁷⁷, cofactor h = 1. Rotate it as a torus →

Interactive figures

All interactive figures →

Explore Bitcoin and ECC research: secp256k1 papers and the Claude archive: computational notes, a downloadable paper and the conversation behind the work, including corrections and interruptions.

Read the context: NSA warnings, the Riemann Hypothesis proof and Bitcoin ECC.

Recent writing

All 49 posts →

What I'm building

See all products

Projects and places

Most of my work is open source, spread across my own repositories, Hack Different and Team t8012.

All repositories on GitHubThe full list →