1、 ETSI TS 135 202 V14.0.0 (2017-04) Universal Mobile Telecommunications System (UMTS); LTE; 3G Security; Specification of the 3GPP confidentiality and integrity algorithms; Document 2: Kasumi specification (3GPP TS 35.202 version 14.0.0 Release 14) TECHNICAL SPECIFICATION ETSI ETSI TS 135 202 V14.0.0
2、 (2017-04)13GPP TS 35.202 version 14.0.0 Release 14Reference RTS/TSGS-0335202ve00 Keywords LTE,SECURITY,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistr
3、e la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present documen
4、t shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within
5、ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present
6、document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized b
7、y written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2017. All rights reserved. DECTTM, PLUGTESTST
8、M, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. oneM2M logo is protected for the benefit of its Members GSM and the GSM logo are Tra
9、de Marks registered and owned by the GSM Association. ETSI ETSI TS 135 202 V14.0.0 (2017-04)23GPP TS 35.202 version 14.0.0 Release 14Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essent
10、ial IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates
11、are available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server)
12、which are, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP). The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities o
13、r GSM identities. These should be interpreted as being references to the corresponding ETSI deliverables. The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under http:/webapp.etsi.org/key/queryform.asp. Modal verbs terminology In the present document “shall“, “shall not“,
14、“should“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citatio
15、n. ETSI ETSI TS 135 202 V14.0.0 (2017-04)33GPP TS 35.202 version 14.0.0 Release 14Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 4g3Introduction 4g30 Scope 6g3NORMATIVE SECTION 7g31 Outline of the normative part . 8g31.1 References 8g32 Introductory info
16、rmation 8g32.1 Introduction 8g32.2 Notation 9g32.2.1 Radix . 9g32.2.2 Bit/Byte ordering 9g32.2.3 Conventions 9g32.2.4 Subfunctions . 9g32.2.5 List of Symbols . 10g32.3 List of Functions and Variables 10g33 KASUMI operation 10g33.1 Introduction 10g33.2 Encryption 11g34 Components of KASUMI . 11g34.1
17、Function fi. 11g34.2 Function FL 11g34.3 Function FO . 12g34.4 Function FI . 12g34.5 S-boxes . 13g34.5.1 S7 13g34.5.2 S9 14g34.6 Key Schedule 15g3INFORMATIVE SECTION . 17g3Annex 1 (informative): Figures of the KASUMI Algorithm 18g3Annex 2 (informative): Simulation Program Listing . 20g3Annex 3 (info
18、rmative): Change history . 24g3History 25g3ETSI ETSI TS 135 202 V14.0.0 (2017-04)43GPP TS 35.202 version 14.0.0 Release 14Foreword This Technical Specification has been produced by the 3rdGeneration Partnership Project (3GPP). The 3GPP Confidentiality and Integrity Algorithms f8 2 presented to TSG f
19、or approval; 3 or greater indicates TSG approved document under change control. y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc. z the third digit is incremented when editorial only changes have been incorporated in the document.
20、 Introduction This specification has been prepared by the 3GPP Task Force, and gives a detailed specification of the 3GPP Algorithm KASUMI. KASUMI is a block cipher that forms the heart of the 3GPP confidentiality algorithm f8, and the 3GPP integrity algorithm f9. This document is the second of four
21、, which between them form the entire specification of the 3GPP Confidentiality and Integrity Algorithms: - 3GPP TS 35.201: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the 3GPP Confidentiality and Integrity Algorithms;
22、Document 1: f8 and f9 Specification“. - 3GPP TS 35.202: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the 3GPP Confidentiality and Integrity Algorithms; Document 2: KASUMI Specification“. - 3GPP TS 35.203: “3rd Generatio
23、n Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the 3GPP Confidentiality and Integrity Algorithms; Document 3: Implementors Test Data“. ETSI ETSI TS 135 202 V14.0.0 (2017-04)53GPP TS 35.202 version 14.0.0 Release 14- 3GPP TS 35.204: “3r
24、d Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the 3GPP Confidentiality and Integrity Algorithms; Document 4: Design Conformance Test Data“. The normative part of the specification of KASUMI is in the main body of this docum
25、ent. The annexes to this document are purely informative. Annex 1 contains illustrations of functional elements of the algorithm, while Annex 2 contains an implementation program listing of the cryptographic algorithm specified in the main body of this document, written in the programming language C
26、. Similarly the normative part of the specification of the f8 (confidentiality) and the f9 (integrity) algorithms is in the main body of Document 1. The annexes of those documents, and Documents 3 and 4 above, are purely informative. ETSI ETSI TS 135 202 V14.0.0 (2017-04)63GPP TS 35.202 version 14.0
27、.0 Release 140 Scope This specification gives a detailed specification of the 3GPP Algorithm KASUMI. KASUMI is a block cipher that forms the heart of the 3GPP confidentiality algorithm f8, and the 3GPP integrity algorithm f9. ETSI ETSI TS 135 202 V14.0.0 (2017-04)73GPP TS 35.202 version 14.0.0 Relea
28、se 14NORMATIVE SECTION This part of the document contains the normative specification of the KASUMI algorithm. ETSI ETSI TS 135 202 V14.0.0 (2017-04)83GPP TS 35.202 version 14.0.0 Release 141 Outline of the normative part Section 2 introduces the algorithm and describes the notation used in the subs
29、equent sections. Section 3 defines the algorithm structure and its operation. Section 4 defines the basic components of the algorithm. 1.1 References The following documents contain provisions which, through reference in this text, constitute provisions of the present document. - References are eith
30、er specific (identified by date of publication, edition number, version number, etc.) or non-specific. - For a specific reference, subsequent revisions do not apply. - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document),
31、a non-specific reference implicitly refers to the latest version of that document in the same Release as the present document. 1 3GPP TS 33.102 version 3.2.0: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Security Architecture“. 2 3GPP T
32、S 33.105 version 3.1.0: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Cryptographic Algorithm Requirements“. 3 3GPP TS 35.201: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; S
33、pecification of the 3GPP Confidentiality and Integrity Algorithms; Document 1: f8 and f9 Specification“. 4 3GPP TS 35.202: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the 3GPP Confidentiality and Integrity Algorithms;
34、Document 2: KASUMI Specification“. 5 3GPP TS 35.203: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the 3GPP Confidentiality and Integrity Algorithms; Document 3: Implementors Test Data“. 6 3GPP TS 35.204: “3rd Generation
35、 Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the 3GPP Confidentiality and Integrity Algorithms; Document 4: Design Conformance Test Data“. 7 ISO/IEC 9797-1:1999: “Information technology Security techniques Message Authentication Codes
36、 (MACs)“. 2 Introductory information 2.1 Introduction Within the security architecture of the 3GPP system there are two standardised algorithms: A confidentiality algorithm f8, and an integrity algorithm f9. These algorithms are fully specified in a companion document3. Each of these algorithms is b
37、ased on the KASUMI algorithm that is specified here. KASUMI is a block cipher that produces a 64-bit output from a 64-bit input under the control of a 128-bit key. ETSI ETSI TS 135 202 V14.0.0 (2017-04)93GPP TS 35.202 version 14.0.0 Release 142.2 Notation 2.2.1 Radix We use the prefix 0x to indicate
38、 hexadecimal numbers. 2.2.2 Bit/Byte ordering All data variables in this specification are presented with the most significant bit (or byte) on the left hand side and the least significant bit (or byte) on the right hand side. Where a variable is broken down into a number of sub-strings, the left mo
39、st (most significant) sub-string consists of the most significant part of the original string and so on through to the least significant. For example if a 64-bit value X is subdivided into four 16-bit substrings P, Q, R, S we have: X = 0x0123456789ABCDEF we have: P = 0x0123, Q = 0x4567, R = 0x89AB,
40、S = 0xCDEF. In binary this would be: X = 0000000100100011010001010110011110001001101010111100110111101111 with P = 0000000100100011 Q = 0100010101100111 R = 1000100110101011 S = 1100110111101111 2.2.3 Conventions We use the assignment operator =, as used in several programming languages. When we wri
41、te = we mean that assumes the value that had before the assignment took place. For instance, x = x + y + 3 means (new value of x) becomes (old value of x) + (old value of y) + 3. 2.2.4 Subfunctions KASUMI decomposes into a number of subfunctions (FL, FO, FI) which are used in conjunction with associ
42、ated sub-keys (KL, KO, KI) in a Feistel structure comprising a number of rounds (and rounds within rounds for some subfunctions). Specific instances of the function and/or keys are represented by XXi,jwhere i is the outer round number of KASUMI and j is the inner round number. For example the functi
43、on FO comprises three rounds of the function FI, so we designate the third round of FI in the fifth round of KASUMI as FI5,3. ETSI ETSI TS 135 202 V14.0.0 (2017-04)103GPP TS 35.202 version 14.0.0 Release 142.2.5 List of Symbols = The assignment operator. The bitwise exclusive-OR operation. | The con
44、catenation of the two operands. (16-b) /*- unions: used to remove “endian“ issues -*/ typedef union u32 b32; u16 b162; u8 b84; DWORD; typedef union u16 b16; u8 b82; WORD; /*- globals: The subkey arrays -*/ static u16 KLi18, KLi28; static u16 KOi18, KOi28, KOi38; static u16 KIi18, KIi28, KIi38; /*- *
45、 FI() * The FI function (fig 3). It includes the S7 and S9 tables. * Transforms a 16-bit value. *-*/ static u16 FI( u16 in, u16 subkey ) u16 nine, seven; static u16 S7 = 54, 50, 62, 56, 22, 34, 94, 96, 38, 6, 63, 93, 2, 18,123, 33, 55,113, 39,114, 21, 67, 65, 12, 47, 73, 46, 27, 25,111,124, 81, 53,
46、9,121, 79, 52, 60, 58, 48,101,127, 40,120,104, 70, 71, 43, 20,122, 72, 61, 23,109, 13,100, 77, 1, 16, 7, 82, 10,105, 98, 117,116, 76, 11, 89,106, 0,125,118, 99, 86, 69, 30, 57,126, 87, 112, 51, 17, 5, 95, 14, 90, 84, 91, 8, 35,103, 32, 97, 28, 66, ETSI ETSI TS 135 202 V14.0.0 (2017-04)213GPP TS 35.2
47、02 version 14.0.0 Release 14102, 31, 26, 45, 75, 4, 85, 92, 37, 74, 80, 49, 68, 29,115, 44, 64,107,108, 24,110, 83, 36, 78, 42, 19, 15, 41, 88,119, 59, 3; static u16 S9 = 167,239,161,379,391,334, 9,338, 38,226, 48,358,452,385, 90,397, 183,253,147,331,415,340, 51,362,306,500,262, 82,216,159,356,177,
48、175,241,489, 37,206, 17, 0,333, 44,254,378, 58,143,220, 81,400, 95, 3,315,245, 54,235,218,405,472,264,172,494,371,290,399, 76, 165,197,395,121,257,480,423,212,240, 28,462,176,406,507,288,223, 501,407,249,265, 89,186,221,428,164, 74,440,196,458,421,350,163, 232,158,134,354, 13,250,491,142,191, 69,193
49、,425,152,227,366,135, 344,300,276,242,437,320,113,278, 11,243, 87,317, 36, 93,496, 27, 487,446,482, 41, 68,156,457,131,326,403,339, 20, 39,115,442,124, 475,384,508, 53,112,170,479,151,126,169, 73,268,279,321,168,364, 363,292, 46,499,393,327,324, 24,456,267,157,460,488,426,309,229, 439,506,208,271,349,401,
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1