作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (3): 121-123. doi: 10.3969/j.issn.1000-3428.2012.03.041

• 安全技术 • 上一篇    下一篇

基于Hoare逻辑的密码软件形式化验证系统

郝耀辉,郭渊博,罗 婷,燕菊维   

  1. (解放军信息工程大学电子技术学院,郑州 450004)
  • 收稿日期:2011-05-17 出版日期:2012-02-05 发布日期:2012-02-05
  • 作者简介:郝耀辉(1978-),女,讲师、硕士,主研方向:信息安全,密码学,数据库技术;郭渊博,副教授、博士;罗 婷,硕士研究生;燕菊维,助教、硕士
  • 基金资助:
    国家“863”计划基金资助项目“基于规范的容忍入侵中间件关键技术与平台”(2007AA01Z405);河南省科技创新杰出青年计划基金资助项目(104100510025)

Formal Verification System of Cryptographic Software Based on Hoare Logic

HAO Yao-hui, GUO Yuan-bo, LUO Ting, YAN Ju-wei   

  1. (Institute of Electronic Technology, PLA Information Engineering University, Zhengzhou 450004, China)
  • Received:2011-05-17 Online:2012-02-05 Published:2012-02-05

摘要: 在Hoare逻辑理论和ACSL语法规范的基础上,设计一种针对密码软件的形式化验证系统,由程序规范、验证推理规则、可靠性策略、验证推理等模块组成。以OpenSSL中RC4算法的软件实现为例,对其功能正确性、保险性和信息流安全性进行验证,结果表明,该系统具有较高的自动化水平,可在一定程度上降低形式化验证方法的复杂度。

关键词: Hoare逻辑, 密码软件, 形式化验证, 程序规范, RC4算法

Abstract: Based on Hoare logic and ANSI/ISO C Specification Language(ACSL) specification, this paper presents a formal verification system for cryptographic software, which is composed of program specification, inference rules, reliability strategy and verification module. It takes the software realization of RC4 algorithm in OpenSSL as an example, the functional correctness, safety properties and information flow security are tested and verified. Results show that this system can reduce the complexity of formal verification method and has a high level of automation.

Key words: Hoare logic, cryptographic software, formal verification, program specification, RC4 algorithm

中图分类号: