52ky 发表于 2022-9-10 20:28:57

GB/T 17964-2008 信息安全技术

前语Ⅲ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!导言Ⅳ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1范围1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!2规范性引证文件1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!3术语和定义1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!3.1术语1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!3.2定义2!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!4缩略语和符号3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5电码本(ECB)模式3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5.1变量定义3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5.2ECB的加密方法描绘3!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5.3ECB的解密方法描绘4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6密码分组连接(CBC)模式4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6.1变量定义4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6.2CBC的加密方法描绘4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!6.3CBC的解密方法描绘4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7密码反应(CFB)模式5!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7.1参数定义5!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7.2变量定义5!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7.3CFB的加密方法描绘5!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7.4CFB的解密方法描绘6!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7.5建议6!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8输出反应(OFB)模式7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8.1参数定义7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8.2变量定义7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8.3OFB的加密方法描绘7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!8.4OFB的解密方法描绘8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9计数器(CTR)模式8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9.1变量定义8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9.2CTR的加密方法描绘8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!9.3CTR的解密方法描绘9!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!10分组连接(BC)模式9!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!10.1变量定义9!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!10.2BC的加密方法描绘9!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!10.3BC的解密方法描绘10!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11带非线性函数的输出反应(OFBNLF)模式10!!!!!!!!!!!!!!!!!!!!!!11.1变量定义10!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11.2OFBNLF的加密方法描绘1011.3OFBNLF的解密方法描绘11!!!!!!!!!!!!!!!!!!!!!!!!!!!!附录A(规范性附录)工作模式的性质12!!!!!!!!!!!!!!!!!!!!!!!!!A.1电码本(ECB)工作模式的性质12!!!!!!!!!!!!!!!!!!!!!!!!!!A.2密码分组连接(CBC)工作模式的性质12!!!!!!!!!!!!!!!!!!!!!!!A.3密码反应(CFB)工作模式的性质13!!!!!!!!!!!!!!!!!!!!!!!!!A.4输出反应(OFB)工作模式的性质14!!!!!!!!!!!!!!!!!!!!!!!!!A.5计数器(CTR)工作模式的性质14!!!!!!!!!!!!!!!!!!!!!!!!!!A.6分组连接(BC)工作模式的性质15!!!!!!!!!!!!!!!!!!!!!!!!!!A.7带非线性函数的输出反应(OFBNLF)工作模式的性质15!!!!!!!!!!!!!!!!附录B(资料性附录)工作模式举例17!!!!!!!!!!!!!!!!!!!!!!!!!!B.1概述17!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B.2ECB方法17!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B.3CBC方法17!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B.4CFB方法18!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B.5OFB方法18!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B.6CTR方法18!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!参考文献20

(Preface III!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Introduction IV!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 Scope 1!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!2 Normative Citation 1!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!3 Terms and Definitions 1!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!3.1 Terminology 1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !3.2 Definition 2!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 4 Abbreviations and symbols 3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 5 Code Book (ECB) Mode 3!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!5.1 Variable Definition 3!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!5.2 Description of the encryption method of ECB 3!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!5.3 Decryption method description of ECB 4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 6 Cipher block connection (CBC) Mode 4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 6.1 Variable Definition 4!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!! 6.2 CBC encryption method description 4!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!! 6.3 CBC decryption method description 4!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!7 Password Response (CFB) Mode 5!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 7.1 Parameter Definition 5!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 7.2 Variable Definition 5!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!7.3 Description of the encryption method of CFB 5!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!7.4 Decryption method description of CFB 6!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!7.5 Recommendation 6!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 8 Output Response (OFB) Mode 7!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!8.1 Parameter definition 7!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!8.2 Variable Definition 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 8.3 Description of the encryption method of OFB 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 8.4 Description of the decryption method of OFB 8!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!! 9 Counter (CTR) Mode 8!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!! 9.1 Variable Definition 8!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!9.2 CTR encryption method description 8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 9 .3 Decryption method description of CTR 9!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 10 Packet Connection (BC) Mode 9!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!! 10.1 Variable Definition 9!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!! 10.2 BC encryption method description 9!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!10.3BC Decryption method description 10!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 11 with non- Output Response of Linear Function (OFBNLF) Mode 10!!!!!!!!!!!!!!!!!!!!!! 11.1 Variable Definition 10!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!! 11.2 Description of encryption method of OFBNLF 1011.3 Description of decryption method of OFBNLF 11!!!!!!!!!!!! !!!!!!!!!!!!!!!! APPENDIX A (NORMAL APPENDIX) NATURE OF WORK MODE 12!!!!!!!!!!!!!!!!!!!!!!!! !!!A. 1 The nature of the working mode of the code book (ECB) 12!!!!!!!!!!!!!!!!!!!!!!!!!!! A. 2 The nature of the cipher block connection (CBC) working mode 12!!!!!!!!!!!!!!!!!!!!!!!! A. 3. The nature of the password response (CFB) working mode 13!!!!!!!!!!!!!!!!!!!!!!!!!!!!A. 4 The nature of the output response (OFB) working mode 14!!!!!!!!!!!!!!!!!!!!!!!!!A. 5 The nature of the counter (CTR) working mode 14!!!!!!!!!!!!!!!!!!!!!!!!!!! A. 6 The nature of the packet connection (BC) working mode 15!!!!!!!!!!!!!!!!!!!!!!!!!!!A. 7 Properties of output response with nonlinear function (OFBNLF) working mode 15!!!!!!!!!!!!!!! Appendix B (informative appendix) working mode example 17!!!!!!! !!!!!!!!!!!!!!!!!!! B. 1 Overview 17!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B. 2ECB method 17!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! B. 3CBC Method 17!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! B. 4CFB Method 18!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! B. 5OFB Method 18!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! B. 6CTR method 18!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Reference 20)




页: [1]
查看完整版本: GB/T 17964-2008 信息安全技术