计算机科学 > 密码学与安全
[提交于 2013年12月23日]
标题:Guiding a General-Purpose C Verifier to Prove Cryptographic Protocols
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We describe how to verify security properties of C code for cryptographic protocols by using a general-purpose verifier. We prove security theorems in the symbolic model of cryptography. Our techniques include: use of ghost state to attach formal algebraic terms to concrete byte arrays and to detect collisions when two distinct terms map to the same byte array; decoration of a crypto API with contracts based on symbolic terms; and expression of the attacker model in terms of C programs. We rely on the general-purpose verifier VCC; we guide VCC to prove security simply by writing suitable header files and annotations in implementation files, rather than by changing VCC itself. We formalize the symbolic model in Coq in order to justify the addition of axioms to VCC.
提交历史
来自:François Dupressoir[v1] 2013年12月23日 星期一 12:05:34 UTC