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 条
  • [31] Towards efficient verification of arithmetic algorithms over Galois fields GF(2m)
    Morioka, S
    Katayama, Y
    Yamane, T
    COMPUTER AIDED VERIFICATION, PROCEEDINGS, 2001, 2102 : 465 - 477
  • [32] Multi-Key Homomorphic MACs with Efficient Verification for Quadratic Arithmetic Circuits
    Feng, Shuai
    Xu, Shuaijianni
    Zhang, Liang Feng
    ASIA CCS'22: PROCEEDINGS OF THE 2022 ACM ASIA CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2022, : 17 - 27
  • [33] An Algebraic Approach to Verifying Galois-Field Arithmetic Circuits with Multiple-Valued Characteristics
    Ito, Akira
    Ueno, Rei
    Homma, Naofumi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2021, E104D (08) : 1083 - 1091
  • [34] Flexible and area-efficient Galois field Arithmetic Logic Unit for soft-core processors
    Kuo, Yao-Ming
    Garcia-Herrero, Francisco
    Ruano, Oscar
    Antonio Maestro, Juan
    COMPUTERS & ELECTRICAL ENGINEERING, 2022, 99
  • [35] POST-VERIFICATION DEBUGGING AND RECTIFICATION OF FINITE FIELD ARITHMETIC CIRCUITS USING COMPUTER ALGEBRA TECHNIQUES
    Rao, Vikas
    Gupta, Utkarsh
    Ilioaea, Irina
    Srinath, Arpitha
    Kalla, Priyank
    Enescu, Florian
    PROCEEDINGS OF THE 2018 18TH CONFERENCE ON FORMAL METHODS IN COMPUTER AIDED DESIGN (FMCAD), 2018, : 121 - 129
  • [36] Carbon Nanotube Field Effect Transistor Switching Logic for Designing Efficient Ternary Arithmetic Circuits
    Bastani, Narges Hajizadeh
    Moaiyeri, Mohammad Hossein
    Navi, Keivan
    JOURNAL OF NANOELECTRONICS AND OPTOELECTRONICS, 2017, 12 (02) : 118 - 129
  • [37] A Systematic Design of Tamper-Resistant Galois-Field Arithmetic Circuits Based on Threshold Implementation with (d+1) Input Shares
    Ueno, Rei
    Homma, Naofumi
    Aoki, Takafumi
    2017 IEEE 47TH INTERNATIONAL SYMPOSIUM ON MULTIPLE-VALUED LOGIC (ISMVL 2017), 2017, : 136 - 141