Title :
Proving Functional Equivalence of Two AES Implementations Using Bounded Model Checking
Author :
Post, Hendrik ; Sinz, Carsten
Author_Institution :
Inst. for Theor. Comput. Sci., Univ. of Karlsruhe, Karlsruhe
Abstract :
Bounded model checking-as well as symbolic equivalence checking-are highly successful techniques in the hardware domain. Recently, bit-vector bounded model checkers like CBMC have been developed that are able to check properties of (mostly low-level) software written in C. However, using these tools to check equivalence of software implementations has rarely been pursued. In this case study we tackle the problem of proving the functional equivalence of two implementations of the AES crypto-algorithm using automatic bounded model checking techniques. Cryptographic algorithms heavily rely on bit-level operations, which makes them particularly suitable for bit-precise tools like CBMC. Other software verification tools based on abstraction refinement or static analysis seem to be less appropriate for such software. We could semi-automatically prove equivalence of the first three rounds of the AES encryption routines. Moreover, by conducting a manually assisted inductive proof, we could show equivalence of the full AES encryption process.
Keywords :
C language; cryptography; formal verification; program testing; software reliability; AES encryption process; C language; CBMC; abstraction refinement; automatic bounded model checking techniques; bit-vector bounded model checkers; crypto-algorithm; cryptographic algorithms; functional equivalence; hardware domain; software verification tools; symbolic equivalence checking; Computer science; Cryptography; Embedded software; Hardware; Refining; Software performance; Software standards; Software systems; Software testing; Software tools; Equivalence Checking; Software Model Checking; Verification;
Conference_Titel :
Software Testing Verification and Validation, 2009. ICST '09. International Conference on
Conference_Location :
Denver, CO
Print_ISBN :
978-1-4244-3775-7
Electronic_ISBN :
978-0-7695-3601-9
DOI :
10.1109/ICST.2009.39