Add optional UltrafastSecp256k1 backend (opt-in, default unchanged)

Posted by shrec

May 17, 2026/00:43 UTC

UltrafastSecp256k1 v4.0 represents a significant advancement in cryptographic engines, designed as an optional secondary backend for Bitcoin Core. This version is not intended to replace the existing libsecp256k1 but offers an alternative for performance assessment and selective use under controlled conditions. The engine integrates seamlessly with Bitcoin Core using a shim layer that mirrors the secp256k1.h API, allowing easy switch between the backends during the build process through a simple CMake flag configuration. The integration maintains all previous functionalities without altering the source files of Bitcoin Core.

The performance enhancements brought by UltrafastSecp256k1 v4.0 are notable. Benchmarks conducted on an Intel i5-14400F processor show improvements across various operations: transaction signing and script verification speeds have increased by up to 35% compared to libsecp256k1. These benchmarks also extend to more complex scenarios like block validation, where mixed signature operations show a modest but significant speed improvement. All these results are documented and reproducible, with detailed metrics available in the project’s repository documentation (BITCOIN_CORE_BENCH_RESULTS.json).

In addition to performance metrics, UltrafastSecp256k1 v4.0 emphasizes security through its comprehensive Continuous Audit and Assurance System (CAAS), which scores a perfect 100/100 autonomy score. The system examines the engine against numerous CVEs and potential attack vectors, maintaining robustness across updates. This proactive approach ensures that each commit is secure, enhancing trust in the system's reliability for cryptographic operations.

The project also adheres to best practices in software development and distribution. The builds are deterministic, factoring out variations due to environment differences, and include Secure Software Supply Chain (SLSA) provenance, ensuring that the build process and outcomes are transparent and verifiable. This level of diligence extends to platform support, with continuous integration passing on multiple architectures and operating systems, thereby broadening the potential user base.

Overall, UltrafastSecp256k1 v4.0 stands as a groundbreaking update that enhances the performance and security of cryptographic operations in Bitcoin Core while ensuring ease of integration and evaluation. The project's open-source nature, coupled with detailed documentation and rigorous audit trails, make it a valuable resource for developers and researchers in the cryptographic community. For a deeper dive into the specifics of the implementation and ongoing updates, interested parties can access the full suite of documentation and tools provided in the project’s GitHub repository (UltrafastSecp256k1).

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback