Certifying Assembly with Formal Cryptographic Proofs: the Case of BBS

Authors

  • Reynald Affeldt
  • David Nowak
  • Kiyoshi Yamada

DOI:

https://doi.org/10.14279/tuj.eceasst.23.316

Abstract

With today's dissemination of embedded systems manipulating sensitive data, it has become important to equip low-level programs with strong security guarantees. Unfortunately, security proofs as done by cryptographers are about algorithms, not about concreteimplementations running on hardware. In this paper, we show how to perform security proofs to guarantee the security of assembly language implementations of cryptographic primitives. Our approach is based on a framework in the Coq proof assistant that integrates correctness proofs of assembly programs with game-playing proofs of provable security. We demonstrate the usability of our approach using the Blum-Blum-Shub (BBS) pseudorandom number generator, for which a MIPS implementation for smartcards is shown cryptographically secure.

Downloads

Published

2009-12-17

How to Cite

[1]
R. Affeldt, D. Nowak, and K. Yamada, “Certifying Assembly with Formal Cryptographic Proofs: the Case of BBS”, eceasst, vol. 23, Dec. 2009.