1、 Reference numberISO/IEC 10118-3:2004(E)ISO/IEC 2004Information technology Security techniques Hash-functions Part 3: Dedicated hash-functions Technologies de linformation Techniques de scurit Fonctions de brouillage Partie 3: Fonctions de brouillage ddies National Standard of CanadaCAN/CSA-ISO/IEC
2、10118-3:04(ISO/IEC 10118-3:2004)International Standard ISO/IEC 10118-3:2004 (third edition, 2004-03-01) has been adopted withoutmodification (IDT) as CSA Standard CAN/CSA-ISO/IEC 10118-3:04, which has been approved as a NationalStandard of Canada by the Standards Council of Canada.ISBN 1-55397-797-1
3、 December 2004The Canadian Standards Association (CSA), under whose auspices this National Standard has been produced, was chartered in 1919 and accredited by the Standards Council of Canada to the National Standards system in 1973. It is a not-for-profit, nonstatutory, voluntary membership associat
4、ion engaged in standards development and certification activities. CSA standards reflect a national consensus of producers and users including manufacturers, consumers, retailers, unions and professional organizations, and governmental agencies. The standards are used widely by industry and commerce
5、 and often adopted by municipal, provincial, and federal governments in their regulations, particularly in the fields of health, safety, building and construction, and the environment. Individuals, companies, and associations across Canada indicate their support for CSAs standards development by vol
6、unteering their time and skills to CSA Committee work and supporting the Associations objectives through sustaining memberships. The more than 7000 committee volunteers and the 2000 sustaining memberships together form CSAs total membership from which its Directors are chosen. Sustaining memberships
7、 represent a major source of income for CSAs standards development activities. The Association offers certification and testing services in support of and as an extension to its standards development activities. To ensure the integrity of its certification process, the Association regularly and cont
8、inually audits and inspects products that bear the CSA Mark. In addition to its head office and laboratory complex in Toronto, CSA has regional branch offices in major centres across Canada and inspection and testing agencies in eight countries. Since 1919, the Association has developed the necessar
9、y expertise to meet its corporate mission: CSA is an independent service organization whose mission is to provide an open and effective forum for activities facilitating the exchange of goods and services through the use of standards, certification and related services to meet national and internati
10、onal needs.For further information on CSA services, write toCanadian Standards Association5060 Spectrum Way, Suite 100Mississauga, Ontario, L4W 5N6CanadaThe Standards Council of Canada is the coordinating body of the National Standards system, a federation of independent, autonomous organizations wo
11、rking towards the further development and improvement of voluntary standardization in the national interest. The principal objects of the Council are to foster and promote voluntary standardization as a means of advancing the national economy, benefiting the health, safety, and welfare of the public
12、, assisting and protecting the consumer, facilitating domestic and international trade, and furthering international cooperation in the field of standards. A National Standard of Canada is a standard which has been approved by the Standards Council of Canada and one which reflects a reasonable agree
13、ment among the views of a number of capable individuals whose collective interests provide to the greatest practicable extent a balance of representation of producers, users, consumers, and others with relevant interests, as may be appropriate to the subject in hand. It normally is a standard which
14、is capable of making a significant and timely contribution to the national interest. Approval of a standard as a National Standard of Canada indicates that a standard conforms to the criteria and procedures established by the Standards Council of Canada. Approval does not refer to the technical cont
15、ent of the standard; this remains the continuing responsibility of the accredited standards development organization. Those who have a need to apply standards are encouraged to use National Standards of Canada whenever practicable. These standards are subject to periodic review; therefore, users are
16、 cautioned to obtain the latest edition from the organization preparing the standard.The responsibility for approving National Standards of Canada rests with theStandards Council of Canada270 Albert Street, Suite 200Ottawa, Ontario, K1P 6N7CanadaAlthough the intended primary application of this Stan
17、dard is stated in its Scope, it is importantto note that it remains the responsibility of the users to judge its suitability for their particular purpose.Registered trade-mark of Canadian Standards AssociationInformation technology Security techniques Hash-functions Part 3: Dedicated hash-functionsT
18、echnical Corrigendum 1:2013 (IDT) toNational Standard of CanadaCAN/CSA-ISO/IEC 10118-3-04(ISO/IEC 10118-3:2004, IDT)NOT FOR RESALE. / PUBLICATION NON DESTINE LA REVENTE.Standards Update ServiceTechnical Corrigendum 1:2013 toCAN/CSA-ISO/IEC 10118-3-04January 2013Title: Information technology Security
19、 techniques Hash-functions Part 3: Dedicated hash-functionsPagination: 2 pagesTo register for e-mail notification about any updates to this publicationgo to shop.csa.caclick on CSA Update ServiceThe List ID that you will need to register for updates to this publication is 2417038.If you require assi
20、stance, please e-mail techsupportcsagroup.org or call 416-747-2233.Visit CSA Groups policy on privacy at csagroup.org/legal to find out how we protect your personal information.INTERNATIONAL STANDARD ISO/IEC 10118-3:2004TECHNICAL CORRIGENDUM 1 Published 2011-12-01 INTERNATIONAL ORGANIZATION FOR STAN
21、DARDIZATION ORGANISATION INTERNATIONALE DE NORMALISATIONINTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION LECTROTECHNIQUE INTERNATIONALEInformation technology Security techniques Hash-functions Part 3: Dedicated hash-functions TECHNICAL CORRIGENDUM 1 Technologies de linformation Techniques de scu
22、rit Fonctions de brouillage Partie 3: Fonctions de brouillage ddies RECTIFICATIF TECHNIQUE 1 Technical Corrigendum 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. A.4.3, A.4.8, A.5.3, A.5.10, A.6.3
23、 and A.6.10 Replace all occurrences of “Y0, Y1, , Y7” with “X0, X1, , X7”. Page 62, A.6.7 Replace “ In this example the data-string is the 56-byte string consisting of the ASCII-coded version of abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq ” ICS 35.040 Ref. No. ISO/IEC 10118-3:2004/Cor.1
24、:2011(E) ISO/IEC 2011 All rights reserved Technical Corrigendum 1:2013 to CAN/CSA-ISO/IEC 10118-3-04ISO/IEC 10118-3:2004/Cor.1:2011(E) 2 ISO/IEC 2011 All rights reservedwith “ In this example the data-string is the 80-byte string consisting of the ASCII-coded version of eight repetitions of 12345678
25、90 ” Technical Corrigendum 1:2013 to CAN/CSA-ISO/IEC 10118-3-04Blank pageCopyright NoticeThis Amendment to the International Standard contains information copyright protected by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). Except a
26、s permitted under the laws of Canada, no extract of this Amendment to the International Standard may be reproduced, stored in any retrieval system, or transmitted in any form or by any means, electronic, photocopying, recording, or otherwise, without prior permission from the Standards Council of Ca
27、nada (SCC). Requests for permission to reproduce this Amendment to the International Standard or parts thereof should be addressed to Manager, Technical Document Centre Standards Council of Canada 270 Albert Street, Suite 200 Ottawa, Ontario K1P 6N7 The Canadian adoption of this Amendment to the Int
28、ernational Standard contains information copyright protected by CSA Group. All rights reserved. No part of this adopted Amendment may be reproduced in any form whatsoever without the prior permission of the publisher. ISO/IEC material is reprinted with permission. Requests for permission to reproduc
29、e this adopted Amendment or parts thereof should be addressed to Manager, Sales CSA Group 5060 Spectrum Way, Suite 100 Mississauga, Ontario L4W 5N6Copyright violators will be prosecuted to the full extent of the law.PRINTED IN CANADAIMPRIMEAU CANADA100%CSA Group prints its publications on Rolland En
30、viro100, which contains 100% recycled post-consumer fibre, is EcoLogo and Processed Chlorine Free certified, and was manufactured using biogas energy.CAN/CSA-ISO/IEC 10118-3:04Information technology Security techniques Hash-functions Part 3: Dedicated hash-functionsDecember 2004 Canadian Standards A
31、ssociation CSA/1CAN/CSA-ISO/IEC 10118-3:04Information technology Security techniques Hash-functions Part 3: Dedicated hash-functionsCSA PrefaceStandards development within the Information Technology sector is harmonized with international standards development. Through the CSA Technical Committee on
32、 Information Technology (TCIT, Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the IEC.
33、 Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee (ITU-T).This Standard supersedes CAN/CSA-ISO/IEC 10118-3:01 (adoption of ISO/IEC 10118-3:1998).This International Standard was reviewed by th
34、e CSA TCIT under the jurisdiction of the Strategic Steering Committee on Information Technology and deemed acceptable for use in Canada. (A committee membership list is available on request from the CSA Project Manager.) From time to time, ISO/IEC may publish addenda, corrigenda, etc. The CSA TCIT w
35、ill review these documents for approval and publication. For a listing, refer to the CSA Information Products catalogue or CSA Info Update or contact a CSA Sales representative. This Standard has been formally approved as a National Standard of Canada by the Standards Council of Canada.December 2004
36、 Canadian Standards Association 2004All rights reserved. No part of this publication may be reproduced in any form whatsoever without the prior permission ofthe publisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appear in the text, they should be
37、interpreted as “this National Standard of Canada”.Inquiries regarding this National Standard of Canada should be addressed toCanadian Standards Association5060 Spectrum Way, Suite 100, Mississauga, Ontario, Canada L4W 5N61-800-463-6727 416-747-4044www.csa.caReference numberISO/IEC 10118-3:2004(E)ISO
38、/IEC 2004INTERNATIONAL STANDARD ISO/IEC10118-3Third edition2004-03-01Information technology Security techniques Hash-functions Part 3: Dedicated hash-functions Technologies de linformation Techniques de scurit Fonctions de brouillage Partie 3: Fonctions de brouillage ddies ISO/IEC 10118-3:2004(E) PD
39、F 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 unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, pa
40、rties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relativ
41、e 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. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. ISO/IEC
42、2004 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 mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the c
43、ountry 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.org ii ISO/IEC 2004 All rights reservedISO/IEC 10118-3:2004(E) ISO/IEC 2004 All rights reserved iiiContents Page Foreword iv Introduction v
44、 1 Scope 1 2 Normative references . 1 3 Terms and definitions. 1 4 Symbols (and abbreviated terms) . 1 4.1 Symbols specified in ISO/IEC 10118-1 1 4.2 Symbols specific to this part . 2 5 Requirements 3 6 Model for dedicated hash-functions . 4 7 Dedicated Hash-Function 1 (RIPEMD-160). 4 7.1 Parameters
45、, functions and constants. 4 7.2 Padding method 7 7.3 Description of the round-function. 7 8 Dedicated Hash-Function 2 (RIPEMD-128). 8 8.1 Parameters, functions and constants. 8 8.2 Padding method 9 8.3 Description of the round-function. 9 9 Dedicated Hash-Function 3 (SHA-1) . 10 9.1 Parameters, fun
46、ctions and constants. 10 9.2 Padding method 11 9.3 Description of the round-function. 12 10 Dedicated Hash-Function 4 (SHA-256) .13 10.1 Parameters, functions and constants. 13 10.2 Padding method 14 10.3 Description of the round-function. 14 11 Dedicated Hash-Function 5 (SHA-512) .15 11.1 Parameter
47、s, functions and constants. 15 11.2 Padding method 17 11.3 Description of the round-function. 17 12 Dedicated Hash-Function 6 (SHA-384) .18 12.1 Parameters, functions and constants. 18 12.2 Padding method 19 12.3 Description of the round-function. 19 13 Dedicated Hash-Function 7 (WHIRLPOOL) 19 13.1
48、Parameters, functions and constants. 19 13.2 Padding method 21 13.3 Description of the round-function. 22 Annex A (informative) Examples. 23 Annex B (informative) Formal specifications 78 Annex C (normative) ASN.1 Module . 91 Bibliography . 94 ISO/IEC 10118-3:2004(E) iv ISO/IEC 2004 All rights reser
49、vedForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system 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