Repository navigation
Releases
v1.0.0 — BN254-G1 multi-scalar multiplication (MSM) | BN254-G1 椭圆曲线多标量乘法
English
MIT-licensed BN254-G1 multi-scalar multiplication (MSM) hardware accelerator. Chisel source and generated SystemVerilog.
Released design
| Item | Scope |
|---|---|
| Computation | Elliptic-curve multi-scalar multiplication (MSM): Q = sum [s_i] P_i on BN254-G1 |
| Bundled configuration | Capacity 65,536 point/scalar pairs, fixed window width 8; top Bn254Msm |
| Datapath | Pippenger scheduling, Jacobian point arithmetic and Montgomery field multiplication |
| Native boundary | One task; tagged scalar/affine-point stream; one affine result or infinity; completion |
| Reference prerequisites | C OpenSSL EC reference plus independent affine Python arithmetic; OpenSSL development headers required |
Engineering evidence and integration
Project overview · Native interface · Reproduction · Performance · Synthesis scope · License
Recorded verification scope: The default regression runs eleven modes on eight-point tasks at the full released capacity: result checks, stalls, malformed tags/last, scalar/coordinate range errors, reset during input/computation and a one-bit reference negative control. A separate --bundled command checks the supplied product. The three-task 65,536-point performance workload is explicitly a separate long simulation, not the default short regression.
Integration boundary: Coordinates and scalars must be canonical, and the caller must validate the curve points: coordinate-range checks do not prove the curve equation. This is G1 MSM only, not G2, pairings, a complete Groth16 prover or the EVM precompile protocol. Memory mapping must preserve the documented synchronous 1R1W behavior. Data-dependent point operations mean short special-input timings are not interchangeable with large random-task performance.
Evidence applies to the documented version, configuration and target. Simulation, synthesis and board/silicon measurements are distinct. These are standalone compute blocks, not an end-to-end zero-knowledge prover.
Custom integration and licensing
For optional custom ASIC/FPGA accelerator development and integration, visit OpenRTL Lab. MIT-licensed commercial use does not require a paid engagement. Retain applicable copyright, license and third-party notices.
Release downloads
These downloads provide hardware sources and bundled RTL for this version. Archive annotations and documentation can differ from the online source tree; use the product file list for integration and the linked documents for verification scope.
OpenRTL organization · ZK accelerator catalogue
简体中文
MIT 开源 BN254-G1 椭圆曲线多标量乘法硬件加速器,提供 Chisel 源码与生成的 SystemVerilog。
已发布设计
本仓计算BN254-G1多标量乘法Q=Σ[s_i]P_i,典型容量65536、8位窗口。默认仅验证完整容量下8点任务,65536点三任务性能有单独长仿真命令。调用方须先验证曲线点合法性,坐标范围检查不等于曲线方程检查;不提供G2、配对、完整Groth16或EVM预编译协议。参考C模型需OpenSSL开发头。
工程证据与集成
项目介绍 · 原生接口 · 复现步骤 · 性能条件 · 综合范围 · 许可
支持配置、数学模型、测试场景、性能条件和综合结论分别以对应文档为准。仿真、综合与板级或硅后实测应区分理解,不能把某一配置的验证结论推广到全部参数或目标。这是独立计算模块,不是端到端零知识证明生成系统。
定制集成与开源许可
如需可选的 ASIC/FPGA 加速器定制开发与集成,请到 OpenRTL Lab 官方网站了解服务与联系方式。MIT 许可代码可免费用于商业用途,保留适用的版权、许可和第三方声明;付费定制与支持是独立、可选的服务。
发布下载
以上下载提供本版本硬件源码与随包 RTL。源码包与在线源码树的注释及文档可能不同;集成使用产品文件清单,验证范围以链接文档为准。