Formal Verification of the Safegcd Implementation
Formal Verification of the Safegcd Implementation
The modular inverse is an essential piece of computation required for elliptic curve operations used for digital signatures in Bitcoin and other applications. A novel approach to the extended Euclidean algorithm has been developed by Bernstein and Yang within the last few years and incorporated into the libsecp256k1 cryptographic library used by Bitcoin. However, novel algorithms introduce new risks of errors. To address this we have completed a computer verified proof of the correctness of (one of) libsecp256k1's modular inverse implementations with the Coq proof assistant using the Verifiable C's implementation of separation logic.
Russell O'Connor、Andrew Poelstra
计算技术、计算机技术
Russell O'Connor,Andrew Poelstra.Formal Verification of the Safegcd Implementation[EB/OL].(2025-07-23)[2025-08-10].https://arxiv.org/abs/2507.17956.点此复制
评论