...
首页> 外文期刊>Frontiers of computer science in China >A property-based testing framework for encryption programs
【24h】

A property-based testing framework for encryption programs

机译:基于属性的加密程序测试框架

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

In recent years, a variety of encryption algorithms were proposed to enhance the security of software and systems. Validating whether encryption algorithms are correctly implemented is a challenging issue. Software testing delivers an effective and practical solution, but it also faces the oracle problem (that is, under many practical situations, it is impossible or too computationally expensive to know whether the output for any given input is correct). In this paper, we propose a property-based approach to testing encryption programs in the absence of oracles. Our approach makes use of the so-called metamorphic properties of encryption algorithms to generate test cases and verify test results. Two case studies were conducted to illustrate the proposed approach and validate its effectiveness. Experimental results show that even without oracles, the proposed approach can detect nearly 50% inserted faults with at most three metamorphic relations (MRs) and fifty test cases.
机译:近年来,提出了各种加密算法来增强软件和系统的安全性。验证加密算法是否正确实施是一个具有挑战性的问题。软件测试提供了一种有效且实用的解决方案,但同时也面临着Oracle问题(即,在许多实际情况下,要知道任何给定输入的输出是否正确,这是不可能的,或者在计算上过于昂贵)。在本文中,我们提出了一种基于属性的方法来在没有Oracle的情况下测试加密程序。我们的方法利用了加密算法的所谓变质特性来生成测试案例并验证测试结果。进行了两个案例研究,以说明建议的方法并验证其有效性。实验结果表明,即使没有预言,该方法最多也可以检测到50%的插入错误,最多包含三个变质关系(MRs)和五十个测试用例。

著录项

  • 来源
    《Frontiers of computer science in China》 |2014年第3期|478-489|共12页
  • 作者单位

    School of Computer and Communication Engineering, University of Science and Technology Beijing, Beijing 100083, China,State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;

    School of Computer and Communication Engineering, University of Science and Technology Beijing, Beijing 100083, China;

    School of Computer and Communication Engineering, University of Science and Technology Beijing, Beijing 100083, China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    software testing; encryption programs; test oracles; metamorphic testing (MT);

    机译:软件测试;加密程序;测试神谕;变质测试(MT);

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号