CAN CSA-ISO IEC 10118-3A-2007 Information technology - Security techniques - Hash-functions - Part 3 Dedicated hash-functions AMENDMENT 1 Dedicated Hash-Function 8 (SHA-224).pdf

上传人:testyield361 文档编号:590158 上传时间:2018-12-15 格式:PDF 页数:16 大小:1,009.99KB
下载 相关 举报
CAN CSA-ISO IEC 10118-3A-2007 Information technology - Security techniques - Hash-functions - Part 3 Dedicated hash-functions AMENDMENT 1 Dedicated Hash-Function 8 (SHA-224).pdf_第1页
第1页 / 共16页
CAN CSA-ISO IEC 10118-3A-2007 Information technology - Security techniques - Hash-functions - Part 3 Dedicated hash-functions AMENDMENT 1 Dedicated Hash-Function 8 (SHA-224).pdf_第2页
第2页 / 共16页
CAN CSA-ISO IEC 10118-3A-2007 Information technology - Security techniques - Hash-functions - Part 3 Dedicated hash-functions AMENDMENT 1 Dedicated Hash-Function 8 (SHA-224).pdf_第3页
第3页 / 共16页
CAN CSA-ISO IEC 10118-3A-2007 Information technology - Security techniques - Hash-functions - Part 3 Dedicated hash-functions AMENDMENT 1 Dedicated Hash-Function 8 (SHA-224).pdf_第4页
第4页 / 共16页
CAN CSA-ISO IEC 10118-3A-2007 Information technology - Security techniques - Hash-functions - Part 3 Dedicated hash-functions AMENDMENT 1 Dedicated Hash-Function 8 (SHA-224).pdf_第5页
第5页 / 共16页
亲,该文档总共16页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、 Reference numberISO/IEC 10118-3:2004/Amd.1:2006(E)ISO/IEC 2006Information technology Security techniques Hash-functions Part 3: Dedicated hash-functions AMENDMENT 1: Dedicated Hash-Function 8 (SHA-224) Technologies de linformation Techniques de scurit Fonctions de brouillage Partie 3: Fonctions de

2、brouillage ddies AMENDEMENT 1: Fonction de brouillage ddie 8 (SHA-224) Amendment 1:2007 toNational Standard of CanadaCAN/CSA-ISO/IEC 10118-3:04Amendment 1:2006 to International Standard ISO/IEC 10118-3:2004 has been adopted withoutmodification (IDT) as Amendment 1:2007 to CAN/CSA-ISO/IEC 10118-3:04.

3、 This Amendment was reviewedby the CSA Technical Committee on Information Technology (TCIT) under the jurisdiction of the StrategicSteering Committee on Information Technology and deemed acceptable for use in Canada.August 2007 International Organization for Standardization (ISO), 2006. All rights r

4、eserved. International Electrotechnical Commission (IEC), 2006. All rights reserved. NOT FOR RESALE. ISO/IEC 10118-3:2004/Amd.1:2006(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited

5、unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trade

6、mark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies

7、. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. ISO/IEC 2006 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechani

8、cal, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.o

9、rgii ISO/IEC 2006 All rights reservedAmendment 1:2007 toCAN/CSA-ISO/IEC 10118-3:04ISO/IEC 10118-3:2004/Amd.1:2006(E) ISO/IEC 2006 All rights reserved iiiForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized syst

10、em for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees co

11、llaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standa

12、rds are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication

13、 as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such pate

14、nt rights. Amendment 1 to ISO/IEC 10118-3:2004 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 27, IT Security techniques. Amendment 1 to ISO/IEC 10118-3:2004 was written to serve two purposes. First, with the inclusion of Dedicated Hash-Function 8 (S

15、HA-224), ISO/IEC 10118-3:2004 now includes the complete family of SHA hash-functions. The description of SHA-224 is given in Clause 14. Test vectors for SHA-224 are given in A.8. Second, it was noted that there were implementations of SHA-384 and SHA-512 in the field which correctly reproduced the t

16、est vector examples in ISO/IEC 10118-3:2004, yet still failed for inputs containing bytes that were not standard ASCII codes. In order to perform comprehensive testing of the SHA-224, SHA-256, SHA-384 and SHA-512 hash-functions, an extended set of test vectors is included for ISO/IEC 10118-3:2004 as

17、 a part of this amendment. This additional test vector information is given in A.9. Amendment 1:2007 toCAN/CSA-ISO/IEC 10118-3:04Blank pageISO/IEC 10118-3:2004/Amd.1:2006(E) ISO/IEC 2006 All rights reserved 1Information technology Security techniques Hash-functions Part 3: Dedicated hash-functions A

18、MENDMENT 1: Dedicated Hash-Function 8 (SHA-224) Page 22 Add the following after Figure 6. 14 Dedicated Hash-Function 8 (SHA-224) In this clause we specify a padding method, an initialising value, and a round-function for use in the general model for hash-functions described in ISO/IEC 10118-1:2000.

19、The padding method, initialising value and round-function specified here, when used in the above general model, together define Dedicated Hash-Function 8. This dedicated hash-function can be applied to all data strings D containing at most 264-1 bits. The ISO/IEC hash-function identifier for Dedicat

20、ed Hash-Function 8 is equal to 38 (hexadecimal). NOTE Dedicated Hash-Function 8 defined in this clause is commonly called SHA-224, 2. 14.1 Parameters, functions and constants 14.1.1 Parameters For this hash-function L1= 512, L2= 256 and LH = 224. 14.1.2 Byte ordering convention The byte ordering con

21、vention for this hash-function is the same as that for the hash-function of clause 10. 14.1.3 Functions The functions for this hash-function are the same as those for the hash-function of clause 10. 14.1.4 Constants The constants for this hash-function are the same as those for the hash-function of

22、clause 10. Amendment 1:2007 toCAN/CSA-ISO/IEC 10118-3:04ISO/IEC 10118-3:2004/Amd.1:2006(E) 2 ISO/IEC 2006 All rights reserved14.1.5 Initialising value For this round-function the initialising value, IV, shall always be the following 256-bit string, represented here as a sequence of eight words Y0, Y

23、1, Y2, Y3, Y4, Y5, Y6, Y7in a hexadecimal representation, where Y0represents the left-most 32 of the 256 bits: Y0= c1059ed8 Y1= 367cd507 Y2= 3070dd17 Y3= f70e5939 Y4 = ffc00b31 Y5 = 68581511 Y6 = 64f98fa7 Y7= befa4fa4 NOTE These values are the low order 32-bits of the values specified in 12.1.5. 14.

24、2 Padding method The padding method to be used with this hash-function shall be the same as the padding method defined in 10.2. 14.3 Description of the round-function The round-function to be used with this hash-function shall be the same as the round-function defined in 10.3. The final 224-bit hash

25、 is obtained by truncating the SHA-256-based hash output to its left-most 224 bits. Page 23, Annex A In the first line, replace “Dedicated Hash-Functions 1-7” by “Dedicated Hash-Functions 1-8”. Page 77 Add the following after A.7.9. A.8 Dedicated Hash-Function 8 A.8.1 Example 1 In this example the d

26、ata-string is the empty string, i.e., the string of length zero. The hash-code is the following 224-bit string. d14a028c 2a3a2bc9 476102bb 288234c4 15a2b01f 828ea62a c5b3e42f Amendment 1:2007 toCAN/CSA-ISO/IEC 10118-3:04ISO/IEC 10118-3:2004/Amd.1:2006(E) ISO/IEC 2006 All rights reserved 3A.8.2 Examp

27、le 2 In this example the data-string consists of a single byte, namely the ASCII-coded version of the letter a. The hash-code is the following 224-bit string. abd37534 c7d9a2ef b9465de9 31cd7055 ffdb8879 563ae980 78d6d6d5 A.8.3 Example 3 In this example the data-string is the three-byte string consi

28、sting of the ASCII-coded version of abc. This is equivalent to the bit-string: 01100001 01100010 01100011. After the padding process, the single 16-word block derived from the data-string is as follows. 61626380 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000

29、0 00000000 00000000 00000000 00000000 00000018 The following are (hexadecimal representations of) the successive values of the variables Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7. init: c1059ed8 367cd507 3070dd17 f70e5939 ffc00b31 68581511 64f98fa7 befa4fa4 0 0e96b2da c1059ed8 367cd507 3070dd17 0434225e ffc00b

30、31 68581511 64f98fa7 1 c20dab6b 0e96b2da c1059ed8 367cd507 9cab416f 0434225e ffc00b31 68581511 2 ab113b7a c20dab6b 0e96b2da c1059ed8 82177fe8 9cab416f 0434225e ffc00b31 3 8253cc1a ab113b7a c20dab6b 0e96b2da 8346b27d 82177fe8 9cab416f 0434225e 4 08a0dc0c 8253cc1a ab113b7a c20dab6b 05b557db 8346b27d 8

31、2177fe8 9cab416f 5 b2ca3a91 08a0dc0c 8253cc1a ab113b7a 898dc7bb 05b557db 8346b27d 82177fe8 6 0b6b9023 b2ca3a91 08a0dc0c 8253cc1a a2e49147 898dc7bb 05b557db 8346b27d 7 f09d116d 0b6b9023 b2ca3a91 08a0dc0c 7a84120d a2e49147 898dc7bb 05b557db 8 ed6fa633 f09d116d 0b6b9023 b2ca3a91 c037faad 7a84120d a2e49

32、147 898dc7bb 9 55e6a367 ed6fa633 f09d116d 0b6b9023 aae50091 c037faad 7a84120d a2e49147 10 0817e82b 55e6a367 ed6fa633 f09d116d c8c53a2c aae50091 c037faad 7a84120d 11 17142334 0817e82b 55e6a367 ed6fa633 dd4c7be9 c8c53a2c aae50091 c037faad 12 fc4f023e 17142334 0817e82b 55e6a367 87bea51a dd4c7be9 c8c53a

33、2c aae50091 13 be316902 fc4f023e 17142334 0817e82b 65141125 87bea51a dd4c7be9 c8c53a2c 14 1d80d178 be316902 fc4f023e 17142334 4545f53a 65141125 87bea51a dd4c7be9 15 9f341a45 1d80d178 be316902 fc4f023e 6a61c411 4545f53a 65141125 87bea51a 16 0f324db9 9f341a45 1d80d178 be316902 06c80d6a 6a61c411 4545f5

34、3a 65141125 17 ffe7012b 0f324db9 9f341a45 1d80d178 b7b601f4 06c80d6a 6a61c411 4545f53a 18 62932ab8 ffe7012b 0f324db9 9f341a45 763b627a b7b601f4 06c80d6a 6a61c411 19 5207d867 62932ab8 ffe7012b 0f324db9 7fbba936 763b627a b7b601f4 06c80d6a 20 07d55ccb 5207d867 62932ab8 ffe7012b 9ba5a6ea 7fbba936 763b62

35、7a b7b601f4 21 dece98a4 07d55ccb 5207d867 62932ab8 293ffb5d 9ba5a6ea 7fbba936 763b627a 22 e62a812e dece98a4 07d55ccb 5207d867 28fe0fd9 293ffb5d 9ba5a6ea 7fbba936 23 57206fb8 e62a812e dece98a4 07d55ccb c76084ea 28fe0fd9 293ffb5d 9ba5a6ea 24 6a6abcf0 57206fb8 e62a812e dece98a4 b2614c5e c76084ea 28fe0f

36、d9 293ffb5d 25 937514f0 6a6abcf0 57206fb8 e62a812e b42ec21c b2614c5e c76084ea 28fe0fd9 26 82af3ffb 937514f0 6a6abcf0 57206fb8 be6f6760 b42ec21c b2614c5e c76084ea 27 eca3bcd5 82af3ffb 937514f0 6a6abcf0 1dccbb10 be6f6760 b42ec21c b2614c5e 28 2d1576c4 eca3bcd5 82af3ffb 937514f0 01641929 1dccbb10 be6f67

37、60 b42ec21c 29 fe3c8658 2d1576c4 eca3bcd5 82af3ffb fc4b36c5 01641929 1dccbb10 be6f6760 30 0d7cce07 fe3c8658 2d1576c4 eca3bcd5 a4a4a3a4 fc4b36c5 01641929 1dccbb10 31 cce1951d 0d7cce07 fe3c8658 2d1576c4 4be9475c a4a4a3a4 fc4b36c5 01641929 32 09b76257 cce1951d 0d7cce07 fe3c8658 0ccddd86 4be9475c a4a4a3

38、a4 fc4b36c5 33 f827767e 09b76257 cce1951d 0d7cce07 db116db7 0ccddd86 4be9475c a4a4a3a4 34 e4a0bb48 f827767e 09b76257 cce1951d 994e2bac db116db7 0ccddd86 4be9475c 35 d8bb1041 e4a0bb48 f827767e 09b76257 5b730abb 994e2bac db116db7 0ccddd86 Amendment 1:2007 toCAN/CSA-ISO/IEC 10118-3:04ISO/IEC 10118-3:20

39、04/Amd.1:2006(E) 4 ISO/IEC 2006 All rights reserved36 2a2e32f4 d8bb1041 e4a0bb48 f827767e 22e15c59 5b730abb 994e2bac db116db7 37 0d275ca8 2a2e32f4 d8bb1041 e4a0bb48 f6c39382 22e15c59 5b730abb 994e2bac 38 7902369c 0d275ca8 2a2e32f4 d8bb1041 d9f8c2e0 f6c39382 22e15c59 5b730abb 39 f3c80288 7902369c 0d2

40、75ca8 2a2e32f4 00e3a7bb d9f8c2e0 f6c39382 22e15c59 40 483bba4d f3c80288 7902369c 0d275ca8 f0a8198c 00e3a7bb d9f8c2e0 f6c39382 41 d75d4d26 483bba4d f3c80288 7902369c fcecdcd4 f0a8198c 00e3a7bb d9f8c2e0 42 0744b618 d75d4d26 483bba4d f3c80288 03186faa fcecdcd4 f0a8198c 00e3a7bb 43 9cce9f01 0744b618 d75

41、d4d26 483bba4d a56f6bbf 03186faa fcecdcd4 f0a8198c 44 a3701bd9 9cce9f01 0744b618 d75d4d26 af1bef5f a56f6bbf 03186faa fcecdcd4 45 131d4c09 a3701bd9 9cce9f01 0744b618 ecb77e1b af1bef5f a56f6bbf 03186faa 46 fb3777d9 131d4c09 a3701bd9 9cce9f01 1d601f44 ecb77e1b af1bef5f a56f6bbf 47 847ea00e fb3777d9 131

42、d4c09 a3701bd9 503a7b95 1d601f44 ecb77e1b af1bef5f 48 aaa69347 847ea00e fb3777d9 131d4c09 5eeb9930 503a7b95 1d601f44 ecb77e1b 49 505caf28 aaa69347 847ea00e fb3777d9 ce695893 5eeb9930 503a7b95 1d601f44 50 675e0b02 505caf28 aaa69347 847ea00e c22dd75f ce695893 5eeb9930 503a7b95 51 abd26099 675e0b02 505

43、caf28 aaa69347 1409c3f8 c22dd75f ce695893 5eeb9930 52 0df9857a abd26099 675e0b02 505caf28 2d864d9f 1409c3f8 c22dd75f ce695893 53 308b8799 0df9857a abd26099 675e0b02 02524f02 2d864d9f 1409c3f8 c22dd75f 54 909cc059 308b8799 0df9857a abd26099 6f2a444a 02524f02 2d864d9f 1409c3f8 55 8d25bd94 909cc059 308

44、b8799 0df9857a 1273c622 6f2a444a 02524f02 2d864d9f 56 f32141da 8d25bd94 909cc059 308b8799 1771ed3f 1273c622 6f2a444a 02524f02 57 8ce24395 f32141da 8d25bd94 909cc059 f52f66a6 1771ed3f 1273c622 6f2a444a 58 07bcd846 8ce24395 f32141da 8d25bd94 149db547 f52f66a6 1771ed3f 1273c622 59 622d5e5b 07bcd846 8ce

45、24395 f32141da b6f4c630 149db547 f52f66a6 1771ed3f 60 c693fc7a 622d5e5b 07bcd846 8ce24395 13dfb889 b6f4c630 149db547 f52f66a6 61 55d1c760 c693fc7a 622d5e5b 07bcd846 7e730e00 13dfb889 b6f4c630 149db547 62 fd89031b 55d1c760 c693fc7a 622d5e5b 55489ee6 7e730e00 13dfb889 b6f4c630 63 6203de4a fd89031b 55d

46、1c760 c693fc7a 2aedb1b3 55489ee6 7e730e00 13dfb889 The following eight words Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7represent the output of the final iteration of the round-function. Y0= c1059ed8 6203de4a = 23097d22 Y1= 367cd507 fd89031b = 3405d822 Y2= 3070dd17 55d1c760 = 8642a477 Y3= f70e5939 c693fc7a = bda

47、255b3 Y4= ffc00b31 2aedb1b3 = 2aadbce4 Y5= 68581511 55489ee6 = bda0b3f7 Y6= 64f98fa7 7e730e00 = e36c9da7 Y7= befa4fa4 13dfb889 = ad25f72d The hash value is the following 224-bit string. 23097d22 3405d822 8642a477 bda255b3 2aadbce4 bda0b3f7 e36c9da7 Amendment 1:2007 toCAN/CSA-ISO/IEC 10118-3:04ISO/IE

48、C 10118-3:2004/Amd.1:2006(E) ISO/IEC 2006 All rights reserved 5A.8.4 Example 4 In this example the data-string is the 14-byte string consisting of the ASCII-coded version of message digest The hash-code is the following 224-bit string. 2cb21c83 ae2f004d e7e81c3c 7019cbcb 65b71ab6 56b22d6d 0c39b8eb A

49、.8.5 Example 5 In this example the data-string is the 62-byte string consisting of the ASCII-coded version of ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 The hash-code is the following 224-bit string. bff72b4f cb7d75e5 632900ac 5f90d219 e05e97a7 bde72e74 0db393d9 A.8.6 Example 6 In this example the data-string is the 80-byte string consisting of the ASCII-coded version of eight repetitions of 1234567890 The hash-code is the following 224-bit string. b50aecbe 4e9bb0b5 7bc5f3ae 760a8

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1