CN100583057C - 一种可信密码模块的测试用例生成方法及其测试系统 - Google Patents
一种可信密码模块的测试用例生成方法及其测试系统 Download PDFInfo
- Publication number
- CN100583057C CN100583057C CN200810104596A CN200810104596A CN100583057C CN 100583057 C CN100583057 C CN 100583057C CN 200810104596 A CN200810104596 A CN 200810104596A CN 200810104596 A CN200810104596 A CN 200810104596A CN 100583057 C CN100583057 C CN 100583057C
- Authority
- CN
- China
- Prior art keywords
- sub
- state
- subsystem
- test
- test case
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 82
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000004458 analytical method Methods 0.000 claims abstract description 15
- 238000013515 script Methods 0.000 claims abstract description 14
- 238000004891 communication Methods 0.000 claims abstract description 5
- 230000006870 function Effects 0.000 claims description 14
- 238000013508 migration Methods 0.000 claims description 12
- 230000005012 migration Effects 0.000 claims description 12
- 238000005192 partition Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000000605 extraction Methods 0.000 description 6
- 230000007704 transition Effects 0.000 description 6
- 238000011161 development Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 108020004705 Codon Proteins 0.000 description 1
- 238000012356 Product development Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
状态 | 描述 | 状态 | 描述 |
s<sub>0</sub> | 初始状态,已经TakeOwner,拥有SRK,并且TCM是enabled,处于TCM的s1操作状态 | s<sub>1</sub> | TCM内部都是加密密钥 |
s<sub>2</sub> | TCM内部都是签名密钥 | s<sub>3</sub> | TCM内部都是存储密钥 |
s<sub>4</sub> | 既有加密密钥,也有存储密钥 | s<sub>5</sub> | 内部既有签名密钥,又有存储密钥 |
s<sub>6</sub> | 既有加密密钥,又有签名密钥 | s<sub>7</sub> | 同时有加密密钥,签名密钥,存储密钥 |
状态迁移 | 描述 |
t1 | {s<sub>0</sub>-TCM_CWK,P<sub>t3</sub>/<y<sub>retValue</sub>(0),y<sub>ordinal</sub>(TCM_CWK),y<sub>tag</sub>(RspTag),y<sub>keyType</sub>(x<sub>keyType</sub>)>,0->s<sub>0</sub>}其中P<sub>t3</sub>=(x<sub>tag</sub>(auth1Tag),x<sub>keyHandle</sub>∈keys) |
t<sub>2</sub>,t6,t11 | {s<sub>2</sub>(s<sub>5</sub>,s<sub>7</sub>)-TCM_EK,P<sub>t2</sub>/<y<sub>retValue</sub>(0),y<sub>ordinal</sub>(TCM_EK),y<sub>tag</sub>(RSPTag)>,0->s<sub>0</sub>(s<sub>2</sub>,s<sub>5</sub>)}其中P<sub>t2</sub>=<x<sub>tag</sub>(reqAuth),x<sub>keyHandle</sub>∈keys> |
t3,t5,t10 | {s<sub>0</sub>(s<sub>2</sub>,s<sub>5</sub>)-TCM_LK,P<sub>t3</sub>/<y<sub>retValue</sub>(0),y<sub>ordinal</sub>(TCM_LK),y<sub>tag</sub>(resAuth1)>,其0->s<sub>2</sub>(s<sub>5</sub>,s<sub>7</sub>)}中P<sub>t3</sub>=(x<sub>tag</sub>(reqA uth1),x<sub>pkeyHandle</sub>∈keys,x<sub>keyType</sub>(SignKey)) |
t4,t7,t12 | {s<sub>2</sub>(s<sub>5</sub>,s<sub>7</sub>)-TCM_Sign,P<sub>t16</sub>/<y<sub>tag</sub>(rspAuth2),y<sub>retValue</sub>(0),y<sub>ordinal</sub>(TCM_Sign)>,0->s<sub>2</sub>(s<sub>5</sub>,s<sub>7</sub>)}其中P<sub>t16</sub>=(x<sub>tag</sub>(reqAuth2)) |
t8,t13 | {s<sub>5</sub>(s<sub>7</sub>)-TCM_Seal,P<sub>t10</sub>/<y<sub>tag</sub>(rspAuth1),y<sub>retValue</sub>(0)>,0->s<sub>5</sub>(s<sub>7</sub>)}其中P<sub>t10</sub>=(x<sub>tag</sub>(reqAuth1),x<sub>keyHandle</sub> ∈keys^x<sub>keyType</sub>(TCM_STORAGE)) |
t9,t14 | {s<sub>5</sub>(s<sub>7</sub>)-TCM_UnSeal,P<sub>t11</sub>/<y<sub>tag</sub>(rspAuth2),y<sub>retValue</sub>(0),y<sub>ordinal</sub>(TCM_UnSeal)>,0->s<sub>5</sub>(s<sub>7</sub>)}其中P<sub>t11</sub>=x<sub>tag</sub>(reqAuth2)) |
t15 | {s<sub>7</sub>-TCM_UB,P<sub>t9</sub>/<y<sub>tag</sub>(repAuth1),y<sub>retValue</sub>(0),y<sub>ordinal</sub>(TCM_UB)>,0->s7}其中P<sub>t9</sub>=(x<sub>tag</sub>(reqAuth1),x<sub>KeyHandle</sub>∈keys) |
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810104596A CN100583057C (zh) | 2008-04-22 | 2008-04-22 | 一种可信密码模块的测试用例生成方法及其测试系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810104596A CN100583057C (zh) | 2008-04-22 | 2008-04-22 | 一种可信密码模块的测试用例生成方法及其测试系统 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101266571A CN101266571A (zh) | 2008-09-17 |
CN100583057C true CN100583057C (zh) | 2010-01-20 |
Family
ID=39988997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810104596A Active CN100583057C (zh) | 2008-04-22 | 2008-04-22 | 一种可信密码模块的测试用例生成方法及其测试系统 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100583057C (zh) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102195773B (zh) * | 2010-03-03 | 2013-09-11 | 中国人民解放军信息工程大学 | 一种分组密码算法分析方法及系统 |
CN101833606A (zh) * | 2010-03-30 | 2010-09-15 | 连志斌 | 一种集成电路设计验证方法 |
CN101915894B (zh) * | 2010-07-22 | 2012-05-30 | 北京交大资产经营有限公司 | 测试数字逻辑器件中实时有限状态机的方法 |
CN102385551B (zh) * | 2010-08-31 | 2015-04-29 | 西门子公司 | 一种筛选测试用例的方法、装置及系统 |
CN102368226B (zh) * | 2011-10-10 | 2014-02-26 | 南京大学 | 一种基于扩展有限状态机可行路径分析的测试用例自动生成方法 |
CN102404167B (zh) * | 2011-11-03 | 2014-02-19 | 清华大学 | 基于变量依赖的并行扩展有限状态机的协议测试生成方法 |
CN103095462B (zh) * | 2013-01-24 | 2015-10-28 | 中国科学院软件研究所 | 基于代理重加密和安全芯片的数据广播分发保护方法 |
US9485226B2 (en) * | 2014-04-28 | 2016-11-01 | Nxp B.V. | Method for including an implicit integrity or authenticity check into a white-box implementation |
US9641337B2 (en) * | 2014-04-28 | 2017-05-02 | Nxp B.V. | Interface compatible approach for gluing white-box implementation to surrounding program |
US10412054B2 (en) | 2014-06-24 | 2019-09-10 | Nxp B.V. | Method for introducing dependence of white-box implementation on a set of strings |
CN111061625A (zh) * | 2019-11-18 | 2020-04-24 | 中国建设银行股份有限公司 | 一种应用于乱序密码键盘的自动化测试方法和装置 |
CN113158178B (zh) * | 2021-04-06 | 2022-06-28 | 支付宝(杭州)信息技术有限公司 | 一种可信执行环境的构建方法、装置及设备 |
CN113204486A (zh) * | 2021-05-20 | 2021-08-03 | 山东英信计算机技术有限公司 | 一种tcm模块功能稳定性测试方法、装置及系统 |
CN113535594B (zh) * | 2021-09-17 | 2021-12-21 | 广州裕睿信息科技有限公司 | 业务场景测试用例的生成方法、装置、设备和存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1752945A (zh) * | 2005-11-02 | 2006-03-29 | 中国科学院软件研究所 | 安全数据库管理系统测试用例生成方法 |
CN2914500Y (zh) * | 2006-02-24 | 2007-06-20 | 上海方正信息安全技术有限公司 | 便携式可信平台模块 |
CN101008915A (zh) * | 2006-12-29 | 2007-08-01 | 深圳市明微电子有限公司 | 网络芯片的自动化验证方法 |
-
2008
- 2008-04-22 CN CN200810104596A patent/CN100583057C/zh active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1752945A (zh) * | 2005-11-02 | 2006-03-29 | 中国科学院软件研究所 | 安全数据库管理系统测试用例生成方法 |
CN2914500Y (zh) * | 2006-02-24 | 2007-06-20 | 上海方正信息安全技术有限公司 | 便携式可信平台模块 |
CN101008915A (zh) * | 2006-12-29 | 2007-08-01 | 深圳市明微电子有限公司 | 网络芯片的自动化验证方法 |
Also Published As
Publication number | Publication date |
---|---|
CN101266571A (zh) | 2008-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100583057C (zh) | 一种可信密码模块的测试用例生成方法及其测试系统 | |
Dal Lago et al. | Linear dependent types and relative completeness | |
Wintersteiger et al. | Efficiently solving quantified bit-vector formulas | |
Alur et al. | Preserving secrecy under refinement | |
CN109150833A (zh) | 一种基于模型检测的安全协议形式化验证方法 | |
CN104391934A (zh) | 数据校验方法和装置 | |
Hess et al. | Formalizing and proving a typing result for security protocols in Isabelle/HOL | |
CN112070608A (zh) | 信息处理方法、装置、介质及电子设备 | |
CN109376021A (zh) | 接口调用的响应方法及服务器 | |
Meier et al. | Efficient construction of machine-checked symbolic protocol security proofs | |
US9430595B2 (en) | Managing model checks of sequential designs | |
CN112650638B (zh) | 一种基于门级污染标签跟踪模型的硬件安全漏洞检测方法 | |
CN104133948B (zh) | 一种仿真模型生成方法、系统及仿真模型 | |
Sowka et al. | A review on automatic generation of attack trees and its application to automotive cybersecurity | |
CN104598381A (zh) | 一种蜕变测试中失效测试用例的定位方法 | |
CN108647533A (zh) | 用于检测硬件木马的安全断言自动生成方法 | |
Backes et al. | Computational soundness results for ProVerif: bridging the gap from trace properties to uniformity | |
CN114328525A (zh) | 数据处理方法及设备 | |
Zanella-Béguelin et al. | Formally certifying the security of digital signature schemes | |
CN118174839A (zh) | 用于区块链的链上链下的协同计算调度方法及系统 | |
Küsters et al. | Computational soundness for key exchange protocols with symmetric encryption | |
Adao et al. | Type-based analysis of generic key management apis | |
Martin et al. | Definition of the DISPEL Language | |
CN109740214B (zh) | 翻转计数模型构建的方法和装置 | |
CN107944151A (zh) | 使用二进制保存激励和仿真结果的链路层验证平台和方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: SINO ZHENGYANG INFORMATION SECURITY TECHNOLOGY CO. Free format text: FORMER OWNER: CAS SOFTWARE INSTITUTE Effective date: 20100108 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20100108 Address after: Beijing City, Haidian District Zhongguancun street, No. 19 gate tower B 16 layer Patentee after: Zhongke Zhengyang Information Security Technology Co., Ltd. Address before: No. four, 4 South Street, Haidian District, Beijing, Zhongguancun Patentee before: Institute of Software, Chinese Academy of Sciences |
|
C56 | Change in the name or address of the patentee |
Owner name: NERCIS Free format text: FORMER NAME: ZHONGKE ZHENGYANG INFORMATION SECURITY TECHNOLOGY CO., LTD. |
|
CP01 | Change in the name or title of a patent holder |
Address after: 100080 Beijing City, Haidian District Zhongguancun street, No. 19 gate tower B 16 layer Patentee after: Zhongke Information Security Common Technology National Engineering Research Center Co., Ltd. Address before: 100080 Beijing City, Haidian District Zhongguancun street, No. 19 gate tower B 16 layer Patentee before: Zhongke Zhengyang Information Security Technology Co., Ltd. |