Efficient Grobner Basis Reductions for Formal Verification of Galois Field Arithmetic Circuits

被引:51
|
作者
Lv, Jinpeng [1 ]
Kalla, Priyank [2 ]
Enescu, Florian [3 ]
机构
[1] Cadence Design Syst, San Jose, CA 95134 USA
[2] Univ Utah, Dept Elect & Comp Engn, Salt Lake City, UT 84112 USA
[3] Georgia State Univ, Dept Math & Stat, Atlanta, GA 30303 USA
基金
美国国家科学基金会;
关键词
Arithmetic circuits; computer algebra; formal verification; Galois fields; Grobner bases;
D O I
10.1109/TCAD.2013.2259540
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Galois field arithmetic is a critical component in communication and security-related hardware, requiring dedicated arithmetic architectures for better performance. In many Galois field applications, such as cryptography, the data-path size in the circuits can be very large. Formal verification of such circuits is beyond the capabilities of contemporary verification techniques. This paper addresses formal verification of combinational arithmetic circuits over Galois fields of the type F-2k using a computer-algebra/algebraic-geometry-based approach. The verification problem is formulated as membership testing of a given specification polynomial in a corresponding ideal generated by the circuit constraints. Ideal membership testing requires the computation of a Grobner basis, which is computationally very expensive. To overcome this limitation, we analyze the circuit topology and derive a term order to represent the polynomials. Subsequently, using the theory of Grobner bases over F-2k, we show that this term order renders the set of polynomials itself a minimal Grobner basis of this ideal. Consequently, the verification test reduces to a much simpler case of Grobner basis reduction via polynomial division, significantly enhancing verification efficiency. To further improve our approach, we exploit the concepts presented in the F4 algorithm for Grobner basis, and show that the verification test can be formulated as Gaussian elimination on a matrix representation of the problem. Finally, we demonstrate the ability of our approach to verify the correctness of, and detect bugs in, up to 163-bit circuits in F-2163-whereas verification utilizing contemporary techniques proves infeasible.
引用
收藏
页码:1409 / 1420
页数:12
相关论文
共 37 条
  • [21] Formal Verification of Integer Multipliers by Combining Grobner Basis with Logic Reduction
    Sayed-Ahmed, Amr
    Grosse, Daniel
    Kuehne, Ulrich
    Soeken, Mathias
    Drechsler, Rolf
    PROCEEDINGS OF THE 2016 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2016, : 1048 - 1053
  • [22] Efficient Parallel Verification of Galois Field Multipliers
    Yu, Cunxi
    Ciesielski, Maciej
    2017 22ND ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2017, : 238 - 243
  • [23] EXPLORING ALGEBRAIC INTERPOLANTS FOR RECTIFICATION OF FINITE FIELD ARITHMETIC CIRCUITS WITH GROBNER BASES
    Gupta, Utkarsh
    Kalla, Priyank
    Ilioaea, Irina
    Enescu, Florian
    2019 IEEE EUROPEAN TEST SYMPOSIUM (ETS), 2019,
  • [24] Formal Verification of Constrained Arithmetic Circuits using Computer Algebraic Approach
    Su, Tiankai
    Yasin, Atif
    Pillement, Sebastien
    Ciesielski, Maciej
    2020 IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI (ISVLSI 2020), 2020, : 386 - 391
  • [25] Parallel Grobner Basis Rewriting and Memory Optimization for Efficient Multiplier Verification
    Liu, Hongduo
    Liao, Peiyu
    Huang, Junhua
    Zhen, Hui-Ling
    Yuan, Mingxuan
    Ho, Tsung-Yi
    Yu, Bei
    2024 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2024,
  • [26] An Efficient Approach to Verifying Galois-Field Arithmetic Circuits of Higher Degrees and Its Application to ECC Decoders
    Ueno, Rei
    Okamoto, Kotaro
    Homma, Naofumi
    Aoki, Takafumi
    2014 IEEE 44TH INTERNATIONAL SYMPOSIUM ON MULTIPLE-VALUED LOGIC (ISMVL 2014), 2014, : 144 - 149
  • [27] Toward Formal Design of Practical Cryptographic Hardware Based on Galois Field Arithmetic
    Homma, Naofumi
    Saito, Kazuya
    Aoki, Takafumi
    IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (10) : 2604 - 2613
  • [28] Automatic Test Case Generation for Vulnerability Analysis of Galois Field Arithmetic Circuits
    Gupt, Krishn Kumar
    Kshirsagar, Meghana
    Sullivan, Joseph P.
    Ryan, Conor
    2021 IEEE 5TH INTERNATIONAL CONFERENCE ON CRYPTOGRAPHY, SECURITY AND PRIVACY (ICCSP), 2021, : 32 - 37
  • [29] Groebner basis based formal verification of large arithmetic circuits using Gaussian elimination and cone-based polynomial extraction
    Farahmandi, Farimah
    Alizadeh, Bijan
    MICROPROCESSORS AND MICROSYSTEMS, 2015, 39 (02) : 83 - 96
  • [30] A new aspect of dual basis for efficient field arithmetic
    Lee, CH
    Lim, JI
    PUBLIC KEY CRYPTOGRAPHY, 1999, 1560 : 12 - 28