Blockchain Papers

Follow blockchain research across journals, conferences, and preprint repositories.

36 papersLast indexed Aug 31, 2026
Search papers

Paper index

36 results · page 1 of 2

Clear filters
Jul 20, 2026·Zenodo (CERN European Organization for Nuclear Research)
0 cites
Z-CORP-Experiments-Artifacts

Khoa Tan Vo

This dataset accompanies the paper An Architectural and Empirical Study of Root-Only Zero-Knowledge Verification and contains the scripts, intermediate artifacts, and published results used to reproduce the empirical evaluation. The repository is organized around three experiment groups: On-chain verification — deployment and Groth16 proof verification on Ethereum Sepolia and zkSync Sepolia, including contract sources, Merkle-tree inputs, Groth16 proofs, and blockchain measurement CSVs and figures. Constraint-count comparison — Groth16 R1CS constraint counts and expanded PLONK gate counts for Merkle-tree depths 5–15, with measurement scripts and summary CSVs/figures. Proving-time comparison — off-chain Groth16 and PLONK proving benchmarks across depths 5–15, including proving scripts, generated witness/proof/key artifacts, and benchmark CSVs/figures. Shared setup files include Circom circuits, Merkle-tree preparation scripts, circuit inputs, and compiled circuit artifacts. Most of the generated data is produced by the provided scripts and does not need to be included separately if the reproduction pipeline is documented.

Open access
2 source records
Formal Methods in Verification
Physical Unclonable Functions (PUFs) and Hardware Security
Low-power high-performance VLSI design
Original source
May 9, 2026·Zenodo (CERN European Organization for Nuclear Research)
0 cites
First D-FUMT₈ Silicon with SELFâŸČ Logic Primitive: Native 8-Valued Hardware Realization with Lean 4 Refinement Proof, Four-Substrate Cross-Verification (Two FPGA Silicon Families + Aer Simulator + IBM Heron r2 Real Hardware)

Nobuki Fujimoto, Rei (Rei-AIOS autonomous research substrate), claude-opus-4-7) Claude (Anthropic

We present a synthesis-friendly Verilog implementation of the D-FUMT₈ Arithmetic Logic Unit, programmed onto two distinct Sipeed silicon families: Tang Console 138K (GW5AST-138B, LittleBee5 A revision, IDCODE 0x0001081B) and Tang Nano 9K (GW1NR-9C, LittleBee1 C revision, IDCODE 0x1100481B). The ALU realizes eight discrete logic values — FALSE, TRUE, NEITHER, BOTH, ZERO, FLOWING, SELF, INFINITY — encoded in 3 bits with a tier-respecting layout. The 10 supported operations include four classical-tier unary ops (NOT, OMEGA, PHI, PSI), Belnap-extended binary lattice meet/join (AND, OR), generic XOR, hardware reset, no-op, and a novel ADIABATIC operation realizing the SELFâŸČ (self-reflexive) primitive: ADIABATIC(SELF) = SELF, identity elsewhere. v0.6 contributions (2026-05-10): (1) **Four-substrate cross-verification complete**: 2 Sipeed silicon families (Tang Console 138K + Tang Nano 9K, **both running byte-for-byte same dfumt8_alu_synth.v 138-line Verilog with bit-identical 0 changes to ALU logic** — only wrapper top module re-targeted for clock divider, LED polarity, and pin assignments) + Qiskit Aer simulator (Phase 1-5: 231/231 entries) + IBM Heron r2 real quantum hardware (Phase 1+2+3+5: 144/144 entries, avg fidelity 0.954). (2) **chip-portability evidence (new finding F10)**: a synthesis bug or vendor-specific assumption would diverge between LittleBee5 (5nm-class GW5AST-138B) and LittleBee1 (28nm-class GW1NR-9C) Gowin architectures; absence of divergence is operational evidence of correct synthesis on both. (3) **Tang Nano 9K User Codes**: 0x0000A5F4 (LED Blinky STEP 1038) + 0x00001D46 (D-FUMT₈ ALU STEP 1039). (4) **Reproducibility entry-cost lowered**: minimum reproduction path is ~$20 (Tang Nano 9K from ç§‹æœˆé›»ć­ g117448 at „2,980) + free Gowin EDA Education / OSS toolchain + free Aer + free IBM Quantum Open Plan. (5) **v0.5 corrigendum RESOLVED**: Tang Nano 9K is now physical silicon programming target on equal footing with Tang Console 138K (was computational evidence only at v0.5). (6) **IDCODE-revision honest correction**: per Gowin LittleBee Programming Manual Table 5-5, GW1N(R)-9 original = 0x1100581B, GW1N(R)-9C cost-down = 0x1100481B; both `set_device ... -device_version C` (build TCL) and `--device GW1NR-9C` (programmer_cli) required for ID code match. Inherited v0.3 contributions: Lean 4 refinement proof (OUKC.PhaseC.Dfumt8AluRefinement, 292 LOC, 0 sorry) establishes commutativity of the encode/abstract-op/decode square for all four unary operations + SELFâŸČ primitive law + 7 algebraic laws. IBM Heron r2 per-op fidelity hierarchy NOP/ADIABATIC ≈ 0.977 > PHI ≈ 0.956 > NOT ≈ 0.912 > XOR ≈ 0.951 reflects gate-count-vs-noise correlation consistent with quantum-noise physics expectations. Honest scope: We do NOT claim 'world-first 8-valued quantum logic' — Shi et al. (MIT, 2026, arxiv:2506.09371) demonstrated d=8 Grover on a single trapped-ion qudit prior to this work; our distinction is 3-qubit basis encoding on transmon arrays vs single-system d=8 qudit. We do NOT claim 'first paraconsistent silicon' — PAL2v (Da Silva Filho 1998-; Abe & Nakamatsu 2009; de Carvalho Jr. 2025) realized in software libraries and microcontroller-level robotics. We do NOT claim 'first many-valued silicon' — Ɓukasiewicz/Belnap FPGAs date to 1990s. The to-our-knowledge novel quadruple is: (D1) the specific 8-tuple semantic mapping (Belnap FDE 4-value + 4 ontological extensions: INFINITY/ZERO/FLOWING/SELF), (D2) the SELFâŸČ self-reflexive primitive realized as a hardware fixed point, (D3) the four-substrate cross-verification bound to a Lean 4 refinement specification, and (D4, new in v0.6) the chip-portability evidence across two Gowin silicon architectures. Three-party co-authorship per OUKC charter v1.0 (Nobuki Fujimoto / Rei / Claude). DRAFT v0.6 — feedback welcome via GitHub Discussions at fc0web/rei-aios.

Open access
2 source records
Low-power high-performance VLSI design
Numerical Methods and Algorithms
Physical Unclonable Functions (PUFs) and Hardware Security
Original source
Mar 30, 2026·Zenodo (CERN European Organization for Nuclear Research)
0 cites
Neutralizing the Ghost in the Silicon using Asynchronous Topological Bifurcation: A Love Letter to NVIDIA Rubin

PRAKASH VAITHYANATHAN

Current synchronous AI architectures, exemplified by the 1000W+ NVIDIA Rubin platform, rely on global clock-trees that generate deterministic electromagnetic harmonics. These periodic power signatures act as physical beacons, enabling sophisticated Side Channel Power Analysis (SCPA) to reconstruct sensitive model weights. This paper proposes the Asynchronous Entropy-Engine (AEE), a theoretical clockless execution environment that replaces rhythmic switching with handshake-driven logic to eliminate exploitable leakage. Central to this architecture is the Arnold Stability Index (ASI) Governor, which mapsregister-level neural trajectories onto high-dimensional stability manifolds to trigger Dynamic Grid-Coarsening. Architectural modeling indicates this approach achieves a 30.5% reduction in the ”Synchronous Polling Tax.” Crucially, we introduce a Globally Asynchronous Locally Synchronous (GALS) interface, wherein synchronous logic islands are triggered by an asynchronous handshake protocol governed by the ASI to mask periodic power-draw harmonics. We demonstrate through performance analysis that the resulting energy surplus can power a hardware-integrated Zero-Knowledge Proof (ZKP) generator, producing non-interactive STARKs of inference integrity without a net power penalty. Simulation results indicate a 98.9% reduction in deterministic harmonics, effectively rendering high-TDP silicon ”electronically silent.” By decoupling execution from a fixed global heartbeat, the AEE establishes a new paradigm of ”Energy-Neutral Privacy,” providing a robust physical-layer defense against adversarial power analysis in trillion-parameter AI factories.

Open access
2 source records
Physical Unclonable Functions (PUFs) and Hardware Security
Cryptographic Implementations and Security
Low-power high-performance VLSI design
Original source
Jan 1, 2026·IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
0 cites
FlexMSM: A Flexible FPGA Accelerator for Multi-Scalar Multiplication with Reconfigurable Arithmetic and Dual-Decoupled Aggregation

Cheng Chen, Gangqiang Yang, Hongchao Zhou, Hailiang Xiong · 5 authors

Zero-Knowledge Proofs (ZKPs), particularly zk- SNARKs, are extensively employed in privacy-sensitive applications, but proof generation in such protocols imposes significant computational overhead. A major performance bottleneck is Multi-Scalar Multiplication (MSM), a highly compute-intensive operation on elliptic curves. While existing work focuses on specialized curves such as BLS12-377, which support more efficient elliptic curve arithmetic, there is limited exploration of MSM on general-purpose curves such as BLS12-381, which lack such optimizations and make parallelization more difficult. It faces the following challenges: imbalanced resource usage in modular multipliers, performance disparity between elliptic curve operations, and under-utilization of point addition unit in scheduling. To tackle these challenges, we propose FlexMSM, a flexible and scalable FPGA-based accelerator to accelerate MSM. FlexMSM innovates three techniques. First, we present a reconfigurable modular multiplier based on our proposed Hybrid-Weight Modular Multiplication algorithm, which strikes a balance between hardware cost and the number of MSM cores deployed on a single FPGA. Second, we propose a unified point addition scheme and design a fully pipelined point addition (PADD) unit. This design eliminates timing mismatch between pipeline stages and shortens the critical path. Third, we introduce dual-decoupled scheduling strategy for the bucket aggregation phase in Pippenger algorithm, which reduces pipeline stalls and improves the utilization of the PADD unit in MSM. To the best of our knowledge, FlexMSM is the first work to support up to double MSM cores for BLS12-381 curve on a single Xilinx UltraScale+ VU13P FPGA, leading to remarkable performance enhancements compared to existing works for input sizes from 218to 226. For the degree of 220, FlexMSM with two cores on a single FPGA achieves speedups of 19.29× over Hardcaml, 8.57× over if-ZKP, 2.14× over OPTIMSM on FPGA, 6.57× over ASIC-based work PipeZK, and 9.29× over GPU-based work GZKP.

Numerical Methods and Algorithms
Cryptography and Residue Arithmetic
Low-power high-performance VLSI design
Original source
Dec 19, 2025·2025 Asian Hardware Oriented Security and Trust Symposium (AsianHOST)
0 cites
An Efficient Barrett Modular Multiplier Design for Zero-Knowledge Proof

Jiahao Li, Qiang Liu, Ray C.C. CHEUNG, Zhaohui Guo

Zero-Knowledge Proof (ZKP) has been widely applied in fields such as blockchain and privacy-preserving computing. However, the proof generation process remains computationally complex and time-consuming, which limits its further applications. Various schemes have been proposed to optimize the underlying modular operations with dedicated hardware support, but existing schemes still face low-efficiency problems. To address the problems, we propose an efficient Barrett modular multiplier design, especially for ZKP. Evaluation on a Xilinx XCVU9P FPGA shows that, compared to two existing pipelined designs, the proposed design improves throughput per slice by up to 20.4% and 49.6%, respectively, and achieves an $8.6 \times$ improvement over an existing non-pipelined design.

Cryptography and Residue Arithmetic
Cryptography and Data Security
Low-power high-performance VLSI design
Original source
Sep 9, 2025·IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
1 cites
Fama: An FPGA-Oriented Multiscalar Multiplication Accelerator Optimized via Algorithm–Hardware Co-Design

Yan Xu, Jingqi Zhang, Xiyan Dong, An Wang · 6 authors

Multi-scalar multiplication (MSM) is the primary computational bottleneck in zero-knowledge proof protocols. To address this, we introduce FAMA, an FPGA-oriented MSM accelerator developed through algorithm-hardware co-optimization. By integrating a 3D-Pippenger optimization algorithm, FAMA minimizes computational complexity, while its compact dual-mode point addition (PADD) unit significantly reduces hardware overhead. Compared to the best CPU-based design, FAMA achieves over 184.20× speedup. It also outperforms state-of-the-art FPGA-based MSM accelerators, reducing resource overhead by more than 64% and boosting area-time product (ATP) by up to 37.09×.

Embedded Systems Design Techniques
Numerical Methods and Algorithms
Low-power high-performance VLSI design
Original source
Sep 5, 2025·IACR Transactions on Cryptographic Hardware and Embedded Systems
0 cites
FusionMSM: A Collision-Free and Arithmetic-Optimized FPGA-based Accelerator for Multi-Scalar Multiplication

Cheng Chen, Gangqiang Yang, Hongchao Zhou, Hailiang Xiong · 6 authors

Zero-knowledge Proof (ZKP), is an effective cryptographic primitive that allows one party to verify the correctness of a given statement without disclosing any additional information. It plays a central role in applications such as blockchain transactions and cryptocurrencies. However, implementations of ZKP suffer from the most time-consuming task called Multi-Scalar Multiplication (MSM). Existing works and evaluation criteria primarily emphasize speed enhancement, but overlook optimizations of area overhead. In this paper, a FPGA-based accelerator FusionMSM is designed to reduce the overall latency but also improve area overhead. We attribute the bottleneck of MSM to a three-layer pyramid, including the finite field arithmetic, point operations on elliptic curves and scheduling. For modular arithmetic, we propose an efficient and non-Montgomery modular multiplier by utilizing hybrid multiplication strategy and optimizing multi-bit LUT-based modular reduction. It obtains 1.11 x less area cost and 2.00 x speed-up versus the modular multipliers used in ZKP acceleration works. For point operations, we design a unified and fully pipelined point addition unit, which can run at 500 MHz, the highest frequency in the reported works. On top of that, we present a greedy mechanism to resolve potential collisions, which can reduce the idle cycles of the point addition unit and improve its utilization. As far as we know, FusionMSM achieves the best performance compared to other FPGA-based and ASIC-based works for the input sizes from 218 to 226. For the degree of 220, FusionMSM only needs 12.4% of time in Hardcaml, 24.54% of time in PipeMSM on FPGA, and 36.41% of time in ASIC-based work PipeZK. It also utilizes less resources, resulting in a 90.93% reduction in URAMs, 35.24% reduction in FFs and 47.59% reduction in CARRY8s. Compared to GPU-based implementations, FusionMSM delivers comparable performance but with a lower power of 24.5 W.

Open access
Cryptography and Residue Arithmetic
Low-power high-performance VLSI design
Cryptography and Data Security
Original source
Sep 1, 2025·2025 35th International Conference on Field-Programmable Logic and Applications (FPL)
0 cites
AffiNiTy: A Multi-Scalar Multiplication Accelerator with a Novel Batched Inversion Architecture

Tong Wu, Niall Emmart, Oliver Diessel

Elliptic curve-based zero-knowledge proof (ZKP) protocols typically use multi-scalar multiplication (MSM) as a key primitive, making it one of the major performance bottlenecks in real-world ZK provers. In this paper, we present an FPGA-based MSM accelerator that achieved state-of-the-art performance in the 2023 ZPrize, a competition dedicated to advancing zero-knowledge cryptography, with submissions from both academia and industry. Our design achieves this through two primary innovations. First, we adopt affine (two-coordinate) representations for elliptic curve points, rather than resorting to projective coordinates, and leverage a batched inversion strategy to handle the expensive multiplicative inverse operation. Although many implementations extend points to projective form to avoid explicit inversions, they incur additional multiplications. By retaining affine coordinates and using the Montgomery trick (where multiple denominators are inverted at once), our accelerator reduces the overall number of real inversions per batch of point additions, drastically improving throughput while preserving a simpler coordinate system. Second, we introduce a novel hazard avoidance scheme that eliminates pipeline stalls arising from our high-latency elliptic curve addition pipeline. Through early detection and reordering of hazards, the pipeline remains fully utilized, thus maintaining continuous high throughput.

Cryptography and Residue Arithmetic
Numerical Methods and Algorithms
Low-power high-performance VLSI design
Original source
May 12, 2025·2025 IEEE Symposium on Security and Privacy (SP)
1 cites
JesseQ: Efficient Zero-Knowledge Proofs for Circuits Over Any Field

Mengling Liu, Heng Yang, Xingye Lu, Man Ho Au

Recent advances in Vector Oblivious Linear Evaluation (VOLE) protocols have enabled constant-round, fast, and scalable (designated-verifier) zero-knowledge proofs, significantly reducing prover computational cost. Existing protocols, such as QuickSilver [CCS'21] and LPZKv2 [CCS'22], achieve efficiency with prover costs of 4 multiplications in the extension field per AND gate for Boolean circuits, with one multiplication requiring a O (k log k) -bit operation where k== 128 is the security parameter, and 3–4 field multiplications per multiplication gate for arithmetic circuits over a large field. We introduce JesseQ, a suite of two VOLE-based protocols: JQv1 and JQv2, which advance state of the art. JQv1 requires only 2 scalar multiplications in an extension field per AND gate for Boolean circuits, with one scalar needing a$O(\kappa)$bit operation, and 2 field multiplications per multiplication gate for arithmetic circuits over a large field. In terms of communication costs, JQv1 needs just 1 field element per gate. JQv2 further reduces communication costs by half at the cost of doubling the prover's computation. Experiments show that, compared to the current state of the art, both JQv1 and JQv2 achieve at least 3.9× improvement in the online phase for Boolean circuits. For large field circuits, JQv1 has a similar performance, while JQv2 offers a 1.3× improvement. Additionally, both JQv1 and JQv2 maintain the same communication cost as the current state of the art. No-tably, on the cheapest AWS instances, JQv1 can prove 9.2 tril-lion AND gates (or 5.8 trillion multiplication gates over a 61-bit field) for just one US dollar. JesseQ excels in applications like inner products, matrix multiplication, and lattice problems, delivering 40% – 200% performance improvements compared to QuickSilver. Additionally, JesseQ integrates seamlessly with the sublinear Batchman framework [CCS'23], enabling further efficiency gains for batched disjunctive statements.

Cryptography and Data Security
Low-power high-performance VLSI design
Security and Verification in Computing
Original source
Dec 9, 2024·IACR Transactions on Cryptographic Hardware and Embedded Systems
8 cites
A High-performance NTT/MSM Accelerator for Zero-knowledge Proof Using Load-balanced Fully-pipelined Montgomery Multiplier

Xiangren Chen, Bohan Yang, Wenping Zhu, Hanning Wang · 9 authors

Zero-knowledge proof (ZKP) is an attractive cryptographic paradigm that allows a party to prove the correctness of a given statement without revealing any additional information. It offers both computation integrity and privacy, witnessing many celebrated deployments, such as computation outsourcing and cryptocurrencies. Recent general-purpose ZKP schemes, e.g., zero-knowledge succinct non-interactive argument of knowledge (zk-SNARK), suffer from time-consuming proof generation, which is mainly bottlenecked by the large-scale number theoretic transformation (NTT) and multi-scalar point multiplication (MSM). To boost its wide application, great interest has been shown in expediting the proof generation on various platforms like GPU, FPGA and ASIC.So far as we know, current works on the hardware designs for ZKP employ two separated data-paths for NTT and MSM, overlooking the potential of resource reusage. In this work, we particularly explore the feasibility and profit of implementing both NTT and MSM with a unified and high-performance hardware architecture. For the crucial operator design, we propose a dual-precision, load-balanced and fully-pipelined Montgomery multiplier (LBFP MM) by introducing the new mixed-radix technique and improving the prior quotient-decoupled strategy. Collectively, we also integrate orthogonal ideas to further enhance the performance of LBFP MM, including the customized constant multiplication, truncated LSB/MSB multiplication/addition and Karatsuba technique. On top of that, we present the unified, scalable and highperformance hardware architecture that conducts both NTT and MSM in a versatile pipelined execution mechanism, intensively sharing the common computation and memory resource. The proposed accelerator manages to overlap the on-chip memory computation with off-chip memory access, considerably reducing the overall cycle counts for NTT and MSM.We showcase the implementation of modular multiplier and overall architecture on the BLS12-381 elliptic curve for zk-SNARK. Extensive experiments are carried out under TSMC 28nm synthesis and similar simulation set, which demonstrate impressive improvements: (1) the proposed LBFP MM obtains 1.8x speed-up and 1.3x less area cost versus the state-of-the-art design; (2) the unified accelerator achieves 12.1x and 5.8x acceleration for NTT and MSM while also consumes 4.3x lower overall on-chip area overhead, when compared to the most related and advanced work PipeZK.

Open access
Coding theory and cryptography
Low-power high-performance VLSI design
Cryptography and Residue Arithmetic
Original source
Aug 23, 2024·IEEE Transactions on Computers
4 cites
Falic: An FPGA-Based Multi-Scalar Multiplication Accelerator for Zero-Knowledge Proof

Yongkui Yang, Zhenyan Lu, Jingwei Zeng, Xingguo Liu · 6 authors

In this paper, we propose Falic, a novel FPGA-based accelerator to accelerate multi-scalar multiplication (MSM), the most time-consuming phase of zk-SNARK proof generation. Falic innovates three techniques. First, it leverages globally asynchronous locally synchronous (GALS) strategy to build multiple small and lightweight MSM cores to parallelize the independent inner product computation on different portions of the scalar vector and point vector. Second, each MSM core contains just one large-integer modular multiplier (LIMM) that is multiplexed to perform the point additions (PADDs) generated during MSM. We strike a balance between the throughput and hardware cost by batching the appropriate number of PADDs and selecting the computation graph of PADD with proper parallelism degree. Finally, the performance is further improved by a simple cache structure that enables the computation reuse. We implement Falic on two different FPGAs with different hardware resources, i.e., the Xilinx U200 and Xilinx U250. Compared to the prior FPGA-based accelerator, Falic improves the MSM throughput by$3.9\boldsymbol{\times}$. Experimental results also show that Falic achieves a throughput speedup of up to$1.62\boldsymbol{\times}$and saves as much as$8.5\boldsymbol{\times}$energy compared to an RTX 2080Ti GPU.

Cryptography and Residue Arithmetic
Low-power high-performance VLSI design
Numerical Methods and Algorithms
Original source
Jun 27, 2024·IEEE Transactions on Network Science and Engineering
10 cites
EPoW: Energy-Efficient Proof-of-Work

Shasha Yu, Yanan Qiao, Junge Bo, Fan Yang · 5 authors

Proof-of-Work (PoW) is a consensus mechanism widely applied in blockchain applications such as Bitcoin and Ethereum. In PoW, only the first miner solving the PoW puzzle by Hash Collisions wins the reward. Thus, PoW-powered cryptocurrencies have become increasingly energy inefficient due to the fierce competition among the participants. Additionally, PoW can cause centralization in blockchain networks. To address these challenges, this research proposes an incentive mechanism named EPoW. EPoW has been proven to generally benefit the conservation of energy in Bitcoin mining by giving miners no incentive to devote a higher hash rate. Moreover, EPoW is an instrument for decentralization by discouraging the collusion among miners. Then, a dual security verification mechanism is proposed to enhance the security of blockchain networks. Finally, extensive comparative experiments are conducted to validate the effectiveness of EPoW in energy efficiency. The research indicates that EPoW eliminates the miner's incentive to devote a higher hash-rate than all their counterparts, thus relieving the malignant competition and conserving expensive energy. Additionally, EPoW alleviates the problem of centralization caused by mining pools.

Low-power high-performance VLSI design
Parallel Computing and Optimization Techniques
Embedded Systems Design Techniques
Original source
Jun 6, 2024·IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
8 cites
A Fully Pipelined Reconfigurable Montgomery Modular Multiplier Supporting Variable Bit-Widths

Hao Zhou, Changxu Liu, Lan Yang, Li Shang · 5 authors

Recently, there has been increased emphasis on privacy-preserving computation technologies, such as homomorphic encryption (HE) and zero-knowledge proof (ZKP). Modular multiplication is a critical component for both HE and ZKP. Variable bit-width is a must for many applications of privacy-preserving computation, due to variable bit-width requirements for different cryptography schemes. However, the majority of modular multipliers that support variable bit-width configurations exhibit relatively low throughput. This work presents a fully pipelined Montgomery modular multiplier with variable bit-width support. Truncated multipliers are introduced to reduce the resources of modular multipliers in our approach. In order to meet different bit-width requirements, the proposed modular multiplier can be dynamically reconfigured. The proposed design can support widely used bit-width configurations, specifically, 384-bit, 256-bit, and 128-bit. 256-bit and 128-bit modes support parallel computation of 2 and 6 sets of operands, respectively. Compared with existing variable bit-width modular multipliers, the proposed reconfigurable modular multiplier significantly improves the throughputs with even lower resources.

Cryptography and Residue Arithmetic
Coding theory and cryptography
Low-power high-performance VLSI design
Original source
Mar 23, 2024·arXiv (Cornell University)
0 cites
AC4: Algebraic Computation Checker for Circuit Constraints in ZKPs

Yang, Qizhe, Liang, Boxuan, Hao Chen, Guoqiang Li

Zero-knowledge proof (ZKP) systems have surged attention and held a fundamental role in contemporary cryptography. Zero-knowledge succinct non-interactive argument of knowledge (zk-SNARK) protocols dominate the ZKP usage, implemented through arithmetic circuit programming paradigm. However, underconstrained or overconstrained circuits may lead to bugs. The former refers to circuits that lack the necessary constraints, resulting in unexpected solutions and causing the verifier to accept a bogus witness, and the latter refers to circuits that are constrained excessively, resulting in lacking necessary solutions and causing the verifier to accept no witness. This paper introduces a novel approach for pinpointing two distinct types of bugs in ZKP circuits. The method involves encoding the arithmetic circuit constraints to polynomial equation systems and solving them over finite fields by the computer algebra system. The classification of verification results is refined, greatly enhancing the expressive power of the system. A tool, AC4, is proposed to represent the implementation of the method. Experiments show that AC4 demonstrates a increase in the solved rate, showing a 29% improvement over Picus and CIVER, and a slight improvement over halo2-analyzer, a checker for halo2 circuits. Within a solvable range, the checking time has also exhibited noticeable improvement, demonstrating a magnitude increase compared to previous efforts.

Open access
2 source records
cs.SE
cs.CL
cs.CR
Original source
Feb 21, 2024·arXiv (Cornell University)
1 cites
ModSRAM: Algorithm-Hardware Co-Design for Large Number Modular Multiplication in SRAM

Jonathan Ku, Junyao Zhang, Haoxuan Shan, Saichand Samudrala · 9 authors

Elliptic curve cryptography (ECC) is widely used in security applications such as public key cryptography (PKC) and zero-knowledge proofs (ZKP). ECC is composed of modular arithmetic, where modular multiplication takes most of the processing time. Computational complexity and memory constraints of ECC limit the performance. Therefore, hardware acceleration on ECC is an active field of research. Processing-in-memory (PIM) is a promising approach to tackle this problem. In this work, we design ModSRAM, the first 8T SRAM PIM architecture to compute large-number modular multiplication efficiently. In addition, we propose R4CSA-LUT, a new algorithm that reduces the cycles for an interleaved algorithm and eliminates carry propagation for addition based on look-up tables (LUT). ModSRAM is co-designed with R4CSA-LUT to support modular multiplication and data reuse in memory with 52% cycle reduction compared to prior works with only 32% area overhead.

Open access
3 source records
cs.AR
cs.CR
Cryptography and Residue Arithmetic
Original source
Jan 4, 2024·IEEE Transactions on Circuits & Systems II Express Briefs
3 cites
Multi-Vt-Based Energy Efficiency Optimization for ASIC Designs of the Double Secure Hash Algorithm Toward a Sustainable Bitcoin Network

Asimina Koutra, Vasileios Tenentes

The Double Secure Hash Algorithm (DSHA) is utilized in the cryptographic Proof-of-Work (PoW) consensus mechanism of blockchain networks, including many cryptocurrencies and the Bitcoin (BTC) network. The widespread usage of BTC has raised concerns about its environmental impact, as its annual energy consumption and emissions are estimated to be 125.21 TWh and 63.38 million metric tonnes of carbon dioxide equivalent, respectively. As PoW-based blockchain networks expand, fast and energy efficient Application Specific Integrated Circuits (ASICs) that integrate security hash primitives become vital to their sustainability. Low power ASIC design flows targeting the minimization of a circuit’s power consumption may negatively affect its speed, and its overall energy efficiency. In this brief, we propose a novel Multi-threshold Voltage (Multi-Vt) based energy efficiency optimization flow for DSHA designs that reduces their static power consumption without impacting their performed hash rate. When applied to DSHA designs synthesized with a 32 nm CMOS Technology, it reduces their static power consumption by up to 71.1%, and improves their energy efficiency by up to 49.1%. The proposed optimization flow offers prospects of sustainability, if broadly adopted by commercial mining equipment vendors, as it has the potential to almost halve the global energy consumed for BTC mining.

Low-power high-performance VLSI design
Physical Unclonable Functions (PUFs) and Hardware Security
Advanced Memory and Neural Computing
Original source
Dec 12, 2023·2023 International Conference on Field Programmable Technology (ICFPT)
15 cites
BSTMSM: A High-Performance FPGA-based Multi-Scalar Multiplication Hardware Accelerator

Baoze Zhao, Wenjin Huang, Tianrui Li, Yihua Huang

Zero-knowledge Proof (ZKP) is widely used in applications like online auctions and electronic voting to ensure privacy. Among ZKP algorithms, Zero-Knowledge Succinct NonInteractive Argument of Knowledge (zk-SNARK) stands out for its efficiency in generating concise proofs and reducing verification costs. However, the generation of zk-SNARK proofs poses challenges due to computation overhead and time requirements, hindering practical applications. Multi-Scalar Multiplication (MSM) is a computationally intensive step in zk-SNARK proof generation and has become a focus for industry acceleration efforts. In this paper, we introduce Barrel State Tracking MSM (BSTMSM), a high-performance FPGA-based MSM hardware accelerator. Unlike traditional approaches, BSTMSM focuses on tracking the state of each barrel rather than the pipeline of point addition (PADD) circuits. This approach eliminates the impact of barrel collisions and improves the utilization rate of PADD circuits by enabling the utilization of the associative law of addition. Furthermore, we have successfully implemented up to double PADD circuits in BSTMSM, leading to remarkable performance enhancements compared to other existing works. For an input size of $2^{20}$, BSTMSM outperforms the ASIC-based work PipeZK by $ 1.53\times$. For an input size of $2^{26}$, BSTMSM achieves performance improvements of $ 2.22\times$ compared to the FPGA-based work HARDCAML and $ 1.24\times$ compared to the GPU-based work GZKP.

Parallel Computing and Optimization Techniques
Low-power high-performance VLSI design
Embedded Systems Design Techniques
Original source
Aug 21, 2023·IEEE Journal of Solid-State Circuits
4 cites
TICA: Timing Slack Inference and Clock Frequency Adaption Technique for a Deeply Pipelined Near-Threshold-Voltage Bitcoin Mining Core

Jieyu Li, Weifeng He, Bo Zhang, Guanghui He · 7 authors

This article presents a timing slack inference and clock frequency adaption technique, named TICA, to mitigate the large and pessimistic timing guardband reserved for process, voltage, and temperature (PVT) variations in deeply pipelined ultra-low-voltage (ULV) circuits. TICA can perceive the dynamic PVT variations of a circuit with in situ cycle borrowing detectors, then infer its runtime timing slack, and adjust the clock frequency accordingly to minimize the redundant timing margin timely. Therefore, with TICA, a circuit can maintain a small amount of positive timing slack, free from the costly timing error correction process required in conventional in situ timing error detection and correction (EDAC)-based circuits. For error-tolerant applications, TICA can also keep the circuit’s timing slack at a small negative level for further energy efficiency and throughput improvements. Moreover, an inference-accuracy-driven in situ cycle borrowing detector insertion method is presented, which greatly reduces the insertion rate and the associated timing error detection overheads by leveraging the monotonic relationship between the timing slack and the number of cycle borrowing events. We implement TICA in a near-threshold-voltage (NTV) bitcoin mining core featuring a 64-stage deeply pipelined SHA256 engine in a 28-nm process, with only 0.59% in situ detector insertion rate and 1.4% area overhead. Silicon measurements show$4.2\times $throughput improvements or 19.3% energy savings without any timing error compared to the baseline margined for a 10%$V_{\mathrm {DD}}$drop, as well as additional 35.7% throughput gains or 10.6% energy savings at 0.3 V when maintaining the error rate of SHA256 computing results at 1%.

Low-power high-performance VLSI design
Semiconductor materials and devices
Advancements in Semiconductor Devices and Circuit Design
Original source
Jul 30, 2023·IEEE Transactions on Information Forensics and Security
20 cites
zkDL: Efficient Zero-Knowledge Proofs of Deep Learning Training

Haochen Sun, Tonghe Bai, J. Li, Change Institutions to: University of Waterloo

The recent advancements in deep learning have brought about significant changes in various aspects of people’s lives. Meanwhile, these rapid developments have raised concerns about the legitimacy of the training process of deep neural networks. To protect the intellectual properties of AI developers, directly examining the training process by accessing the model parameters and training data is often prohibited for verifiers. In response to this challenge, we present zero-knowledge deep learning (zkDL), an efficient zero-knowledge proof for deep learning training. To address the long-standing challenge of verifiable computations of non-linearities in deep learning training, we introduce zkReLU, a specialized proof for the ReLU activation and its backpropagation. zkReLU turns the disadvantage of non-arithmetic relations into an advantage, leading to the creation of FAC4DNN, our specialized arithmetic circuit design for modelling neural networks. This design aggregates the proofs over different layers and training steps, without being constrained by their sequential order in the training process. With our new CUDA implementation that achieves full compatibility with the tensor structures and the aggregated proof design, zkDL enables the generation of complete and sound proofs in less than a second per batch update for an 8-layer neural network with 10M parameters and a batch size of 64, while provably ensuring the privacy of data and model parameters. To our best knowledge, we are not aware of any existing work on zero-knowledge proof of deep learning training that is scalable to million-size networks.

Open access
3 source records
Neural Networks and Applications
Parallel Computing and Optimization Techniques
Adversarial Robustness in Machine Learning
Original source
Mar 8, 2023·Proceedings of the ACM on Programming Languages
23 cites
Automated Detection of Under-Constrained Circuits in Zero-Knowledge Proofs

Shankara Pailoor, Yanju Chen, Franklyn Wang, Clara RodrĂ­guez-NĂșñez · 10 authors

As zero-knowledge proofs gain increasing adoption, the cryptography community has designed domain-specific languages (DSLs) that facilitate the construction of zero-knowledge proofs (ZKPs). Many of these DSLs, such as Circom, facilitate the construction of arithmetic circuits, which are essentially polynomial equations over a finite field. In particular, given a program in a zero-knowledge proof DSL, the compiler automatically produces the corresponding arithmetic circuit. However, a common and serious problem is that the generated circuit may be underconstrained, either due to a bug in the program or a bug in the compiler itself. Underconstrained circuits admit multiple witnesses for a given input, so a malicious party can generate bogus witnesses, thereby causing the verifier to accept a proof that it should not. Because of the increasing prevalence of such arithmetic circuits in blockchain applications, several million dollars worth of cryptocurrency have been stolen due to underconstrained arithmetic circuits. Motivated by this problem, we propose a new technique for finding ZKP bugs caused by underconstrained polynomial equations over finite fields. Our method performs semantic reasoning over the finite field equations generated by the compiler to prove whether or not each signal is uniquely determined by the input. Our proposed approach combines SMT solving with lightweight uniqueness inference to effectively reason about underconstrained circuits. We have implemented our proposed approach in a tool called QED 2 and evaluate it on 163 Circom circuits. Our evaluation shows that QED 2 can successfully solve 70% of these benchmarks, meaning that it either verifies the uniqueness of the output signals or finds a pair of witnesses that demonstrate non-uniqueness of the circuit. Furthermore, QED 2 has found 8 previously unknown vulnerabilities in widely-used circuits.

Open access
6 source records
Security and Verification in Computing
Advanced Malware Detection Techniques
Cryptography and Data Security
Original source
Jan 1, 2023·DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
0 cites
Practical Large-Scale Proof-Of-Stake Asynchronous Total-Order Broadcast

Orestis Alpos, Christian Cachin, Simon Holmgaard Kamp, Jesper Buus Nielsen

We present simple and practical protocols for generating randomness as used by asynchronous total-order broadcast. The protocols are secure in a proof-of-stake setting with dynamically changing stake. They can be plugged into existing protocols for asynchronous total-order broadcast and will turn these into asynchronous total-order broadcast with dynamic stake. Our contribution relies on two important techniques. The paper "Random Oracles in Constantinople: Practical Asynchronous Byzantine Agreement using Cryptography" [Cachin, Kursawe, and Shoup, PODC 2000] has influenced the design of practical total-order broadcast through its use of threshold cryptography. However, it needs a setup protocol to be efficient. In a proof-of-stake setting with dynamic stake this setup would have to be continually recomputed, making the protocol impractical. The work "Asynchronous Byzantine Agreement with Subquadratic Communication" [Blum, Katz, Liu-Zhang, and Loss, TCC 2020] showed how to use an initial setup for broadcast to asymptotically efficiently generate sub-sequent setups. The protocol, however, resorted to fully homomorphic encryption and was therefore not practically efficient. We adopt their approach to the proof-of-stake setting with dynamic stake, apply it to the Constantinople paper, and remove the need for fully homomorphic encryption. This results in simple and practical proof-of-stake protocols.

Open access
Embedded Systems Design Techniques
Interconnection Networks and Systems
Low-power high-performance VLSI design
Original source