Skip to content

Commit e391e06

Browse files
kevkevinpalbitschmidty
authored andcommitted
News401: formalization of secp256k1 news
1 parent e17513e commit e391e06

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

_posts/en/newsletters/2026-04-17-newsletter.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,23 @@ and summarizing notable changes to popular Bitcoin infrastructure software.
4949
required to store individual revocation keys instead of the compact shachain
5050
representation, effectively tripling the on-disk space needed.
5151

52+
- **Formal verification of secp256k1 modular scalar multiplication**:
53+
Remix7531 [posted][topic secp formalization] to the Bitcoin-Dev mailing list about
54+
formally verifying secp256k1's modular scalar multiplication. The
55+
project demonstrates that formal verification of a subset of
56+
bitcoin-core/secp256k1 is practical.
57+
58+
In the [secp256k1-scalar-fv-test codebase][secp verification codebase],
59+
Remix7531 takes real C code from the library and proves it correct with
60+
respect to a formal mathematical specification using Rocq and the Verified
61+
Software Toolchain (VST). Formalization with Rocq can prove the absence of memory
62+
errors, correctness against a specification, and termination.
63+
64+
He plans to port the existing scalar multiplication proof to
65+
RefinedC, which would give a direct comparison of both frameworks on the
66+
same verified code. Also, on the
67+
verification side, the next target is Pippenger's algorithm for multi-scalar
68+
multiplication, which is used for batch verification of signatures.
5269

5370
## Changes to services and client software
5471

@@ -185,3 +202,5 @@ repo], and [BINANAs][binana repo]._
185202
[news337 bip375]: /en/newsletters/2025/01/17/#bips-1687
186203
[BIP376]: https://github.com/bitcoin/bips/blob/master/bip-0376.mediawiki
187204
[LUD-21]: https://github.com/lnurl/luds/blob/luds/21.md
205+
[topic secp formalization]: https://groups.google.com/g/bitcoindev/c/l7AdGAKd1Oo
206+
[secp verification codebase]: https://github.com/remix7531/secp256k1-scalar-fv-test

0 commit comments

Comments
 (0)