Font Size: a A A

Scalable formal verification of finite field arithmetic circuits using computer algebra techniques

Posted on:2013-08-29Degree:Ph.DType:Dissertation
University:The University of UtahCandidate:Lv, JinpengFull Text:PDF
GTID:1458390008483091Subject:Engineering
Abstract/Summary:
With the spread of internet and mobile devices, transferring information safely and securely has become more important than ever. Finite fields have widespread applications in such domains, such as in cryptography, error correction codes, among many others. In most finite field applications, the field size - and therefore the bit-width of the operands - can be very large. The high complexity of arithmetic operations over such large fields requires circuits to be (semi-) custom designed. This raises the potential for errors/bugs in the implementation, which can be maliciously exploited and can compromise the security of such systems. Formal verification of finite field arithmetic circuits has therefore become an imperative.;This dissertation targets the problem of formal verification of hardware implementations of combinational arithmetic circuits over finite fields of the type F2k . Two specific problems are addressed: i) verifying the correctness of a custom-designed arithmetic circuit implementation against a given word-level polynomial specification over F2k ; and ii) gate-level equivalence checking of two different arithmetic circuit implementations.;This dissertation proposes polynomial abstractions over finite fields to model and represent the circuit constraints. Subsequently, decision procedures based on modern computer algebra techniques - notably, Grobner bases-related theory and technology - are engineered to solve the verification problem efficiently. The arithmetic circuit is modeled as a polynomial system in the ring F2k [x1,x2, ···, xd], and computer algebra-based results (Hilbert's Nullstellensatz) over finite fields are exploited for verification.;Using our approach, experiments are performed on a variety of custom-designed finite field arithmetic benchmark circuits. The results are also compared against contemporary methods, based on SAT and SMT solvers, BDDs, and AIG-based methods. Our tools can verify the correctness of, and detect bugs in, up to 163-bit circuits in F2163 whereas contemporary approaches are infeasible beyond 48-bit circuits.
Keywords/Search Tags:Finite, Circuits, Formal verification, Computer
Related items