ANSI ASC X9 X9.82-3-2007 Random Number Generation Part 3 Deterministic Random Bit Generators.pdf
《ANSI ASC X9 X9.82-3-2007 Random Number Generation Part 3 Deterministic Random Bit Generators.pdf》由会员分享,可在线阅读,更多相关《ANSI ASC X9 X9.82-3-2007 Random Number Generation Part 3 Deterministic Random Bit Generators.pdf(113页珍藏版)》请在麦多课文档分享上搜索。
1、 ASC X9, Inc. 2007 All rights reserved American National Standard for Financial Services ANS X9.82: Part 32007 Random Number Generation Part 3: Deterministic Random Bit Generators Accredited Standards Committee X9, Incorporated Financial Industry Standards Date Approved: American National Standards
2、Institute American National Standards, Technical Reports and Guides developed through Accredited Standards Committee X9, Inc. are copyrighted. Copying these documents for personal or commercial use outside X9 membership agreements is prohibited without express written permission of the Accredited St
3、andards Committee X9, Inc. For additional information, please contact ASC X9, Inc., 1212 West Street, Suite 200, Annaplis, Maryland 21401 ANS X9.82, Part 3 - 2007 ii ASC X9 Inc., 2007 All rights reservedContents Foreword vii Introduction viii 1 Scope . 1 2 Conformance . 1 3 Normative References 2 4
4、Terms and Definitions. 2 5 Abbreviations and Symbols . 5 6 General Discussion and Organization. 7 7 Functional Model. 9 7.1 General Discussion . 9 7.2 Functional Model Components . 9 7.2.1 Entropy Input 9 7.2.2 Other Inputs 10 7.2.3 The Internal State . 10 7.2.4 The DRBG Mechanism Functions 10 8. DR
5、BG Mechanism Concepts and General Requirements . 11 8.1 Introduction 11 8.2 DRBG Mechanism Functions and a DRBG Instantiation 11 8.2.1 DRBG Mechanism Functions . 11 8.2.2 DRBG Instantiations. 11 8.2.3 Internal States 11 8.2.4 Security Strengths Supported by an Instantiation 12 8.3 DRBG Mechanism Bou
6、ndaries . 13 8.4 Seeds 14 8.4.1 General Discussion 14 8.4.2 Generation and Handling of Seeds 15 8.5 Other Inputs to the DRBG Mechanism 17 8.5.1 Discussion 17 8.5.2 Personalization String. 17 8.5.3 Additional Input. 18 ANS X9.82, Part 3 2007 ASC X9 Inc., 2007 All rights reserved iii8.6 Prediction Res
7、istance and Backtracking Resistance 18 9 DRBG Mechanism Functions . 19 9.1 General Discussion . 19 9.2 Instantiating a DRBG. 19 9.3 Reseeding a DRBG Instantiation 22 9.4 Generating Pseudorandom Bits Using a DRBG . 24 9.4.1 The Generate Function. 25 9.4.2 Reseeding at the End of the Seedlife. 27 9.4.
8、3 Handling Prediction Resistance Requests . 28 9.5 Removing a DRBG Instantiation . 28 10 DRBG Algorithm Specifications 30 10.1 Overview . 30 10.2 Deterministic RBG Based on Hash Functions 30 10.2.1 Discussion 30 10.2.2 HMAC_DRBG. 31 10.2.2.1 Discussion 31 10.2.2.2 Specifications . 32 10.2.2.2.1 HMAC
9、_DRBG Internal State 32 10.2.2.2.2 The Update Function (CTR_DRBG_Update) . 32 10.2.2.2.3 Instantiation of HMAC_DRBG 33 10.2.2.2.4 Reseeding an HMAC_DRBG Instantiation 34 10.2.2.2.5 Generating Pseudorandom Bits Using HMAC_DRBG 34 10.3 DRBG Mechanisms Based on Block Ciphers . 36 10.3.1 Discussion 36 1
10、0.3.2 CTR_DRBG 36 10.3.2.1 CTR_DRBG Description 36 10.3.2.2 Specifications . 38 10.3.2.2.1 CTR_DRBG Internal State. 38 10.3.2.2.2 The Update Function (CTR_DRBG_Update) 39 10.3.2.2.3 Instantiation of CTR_DRBG. 39 10.3.2.2.4 Reseeding a CTR_DRBG Instantiation . 41 10.3.2.2.5 Generating Pseudorandom Bi
11、ts Using CTR_DRBG 43 ANS X9.82, Part 3 - 2007 iv ASC X9 Inc., 2007 All rights reserved10.4 DRBG Mechanisms Based on Number Theoretic Problems 47 10.4.1 Discussion 47 10.4.2 Dual Elliptic Curve Deterministic RBG (Dual_EC_DRBG). 47 10.4.2.1 Discussion 47 10.4.2.2 Specifications . 49 10.4.2.2.1 Dual_EC
12、_DRBG Internal State 49 10.4.2.2.2 Instantiation of Dual_EC_DRBG 50 10.4.2.2.3 Reseeding of a Dual_EC_DRBG Instantiation 51 10.4.2.2.4 Generating Pseudorandom Bits Using Dual_EC_DRBG 51 10.5 Auxiliary Functions 54 10.5.1 Discussion 54 10.5.2 Derivation Function Using a Hash Function (Hash_df) 54 10.
13、5.3 Derivation Function Using a Block Cipher Algorithm (Block_Cipher_df) . 55 10.5.4 BCC Function . 57 11 Assurance 58 11.1 Overview . 58 11.2 Minimal Documentation Requirements . 58 11.3 Implementation Validation Testing 59 11.4 Health Testing . 59 11.4.1 Overview 59 11.4.2 Known-Answer Testing. 60
14、 11.4.3 Testing the Instantiate Function . 60 11.4.4 Testing the Generate Function. 60 11.4.5 Testing the Reseed Function 61 11.4.6 Testing the Uninstantiate Function. 61 11.4.7 Error Handling 61 11.4.7.1 General Discussion 61 11.4.7.2 Errors Encountered During Normal Operation. 61 11.4.7.3 Errors E
15、ncountered During Health Testing 62 Annex A: (Normative) Application-Specific Constants 63 A.1 Constants for the Dual_EC_DRBG . 63 A.1.1 Curves over Prime Fields . 63 ANS X9.82, Part 3 2007 ASC X9 Inc., 2007 All rights reserved vA.1.1.1 Curve P-256 63 A.1.1.2 Curve P-384 64 A.1.1.3 Curve P-521 64 A.
16、2 Using Alternative Points in the Dual_EC_DRBG() 65 A.2.1 Generating Alternative P,Q 65 A.2.2 Additional Self-testing Required for Alternative P,Q. 66 ANNEX B : (Normative) Conversion and Auxiliary Routines. 67 B.1 Bitstring to an Integer 67 B.2 Integer to a Bitstring 67 B.3 Integer to a Byte String
17、 67 B.4 Byte String to an Integer 68 Annex C: (Informative) Security Considerations 69 C.1 Extracting Bits in the Dual_EC_DRBG (.) . 69 C.1.1 Potential Bias Due to Modular Arithmetic for Curves Over Fp69 C.1.2 Adjusting for the Missing Bit(s) of Entropy in the x Coordinates. . 69 ANNEX D: (Informati
18、ve) DRBG Mechanism Selection . 73 D.1 Choosing a DRBG Algorithm 73 D.2 HMAC_DRBG . 73 D.3 CTR_DRBG. 74 D.4 DRBGs Based on Hard Problems. 75 D.5 Summary for DRBG Selection 76 ANNEX E: (Informative) Example Pseudocode for Each DRBG Mechanism . 77 E.1 Preliminaries 77 E.2 HMAC_DRBG Example 77 E.2.1 Dis
19、cussion 77 E.2.2 Instantiation of HMAC_DRBG 78 E.2.3 Generating Pseudorandom Bits Using HMAC_DRBG. 79 E.3 CTR_DRBG Example Using a Derivation Function 81 E.3.1 Discussion 81 E.3.2 The CTR_DRBG_Update Function 82 E.3.3 Instantiation of CTR_DRBG Using a Derivation Function 82 ANS X9.82, Part 3 - 2007
20、vi ASC X9 Inc., 2007 All rights reservedE.3.4 Reseeding a CTR_DRBG Instantiation Using a Derivation Function 84 E.3.5 Generating Pseudorandom Bits Using CTR_DRBG 85 E.4 CTR_DRBG Example Without a Derivation Function . 87 E.4.1 Discussion 87 E.4.2 The CTR_DRBG_Update Function 88 E.4.3 Instantiation o
21、f CTR_DRBG Without a Derivation Function. 88 E.4.4 Reseeding a CTR_DRBG Instantiation Without a Derivation Function . 88 E.4.5 Generating Pseudorandom Bits Using CTR_DRBG 89 E.5 Dual_EC_DRBG Example. 89 E.5.1 Discussion 89 E.5.2 Instantiation of Dual_EC_DRBG 90 E.5.3 Reseeding a Dual_EC_DRBG Instant
22、iation.Error! Bookmark not defined. E.5.4 Generating Pseudorandom Bits Using Dual_EC_DRBG . 91 ANNEX F: (Informative) DRBG Provision of RBG Security Properties. 94 F.1 Introduction 94 F.2 Security Strengths. 94 F.3 Entropy and Min-Entropy.94 F.4 Backtracking Resistance and Prediction Resistance 94 F
23、.5 Indistinguishability and Unpredictability 94 F.6 Desired RBG Output Properties 94 F.7 Desired RBG Operational Properties 95 ANNEX G:. 97 G.1 Overview . 97 G.2 HMAC_DRBG 97 G.3 CTR_DRBG. 97 G.4 Dual_EC_DRBG 98 Bibliography 101 ANS X9.82, Part 3 2007 ASC X9 Inc., 2007 All rights reserved viiForewor
24、d The Accredited Standards Committee on Financial Services (ASC X9) has developed several cryptographic standards to protect financial information. Many of these standards require the use of Random Number Generators to generate random and unpredictable cryptographic keys and other critical security
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIASCX9X98232007RANDOMNUMBERGENERATIONPART3DETERMINISTICRANDOMBITGENERATORSPDF

链接地址:http://www.mydoc123.com/p-431359.html