1、 ETSI TS 1Universal Mobile TelSpecification of the Malgorithm set fokey generation funDocument 3(3GPP TS 35.2TECHNICAL SPECIFICATION135 207 V13.0.0 (2016elecommunications System (LTE; 3G Security; MILENAGE algorithm set: An for the 3GPP authentication aunctions f1, f1*, f2, f3, f4, f5 ant 3: Impleme
2、ntors test data .207 version 13.0.0 Release 1316-01) (UMTS); n example and and f5*; 13) ETSI ETSI TS 135 207 V13.0.0 (2016-01)13GPP TS 35.207 version 13.0.0 Release 13Reference RTS/TSGS-0335207vd00 Keywords LTE,SECURITY,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +
3、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 enregistre 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 availabl
4、e in electronic versions and/or in print. The content of any electronic and/or print versions of the present document 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 pre
5、vailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within 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 ET
6、SI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present 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 f
7、orm or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by 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 i
8、n all media. European Telecommunications Standards Institute 2016. All rights reserved. DECTTM, PLUGTESTSTM, 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 Org
9、anizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 135 207 V13.0.0 (2016-01)23GPP TS 35.207 version 13.0.0 Release 13Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared t
10、o ETSI. The information pertaining to these essential 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 av
11、ailable from the ETSI Secretariat. Latest updates 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 S
12、R 000 314 (or the updates on the ETSI Web server) 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 repo
13、rts using their 3GPP identities, UMTS identities or 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 terminol
14、ogy In the present document “shall“, “shall not“, “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 ET
15、SI deliverables except when used in direct citation. ETSI ETSI TS 135 207 V13.0.0 (2016-01)33GPP TS 35.207 version 13.0.0 Release 13Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 5g3Introduction 5g31 Outline of the implementors test data 6g31.1 Reference
16、s 6g32 Introductory information 7g32.1 Introduction 7g32.2 Radix 7g32.3 Bit/Byte ordering 7g32.4 List of Variables . 7g32.5 Algorithm Inputs and Outputs 8g32.6 Coverage. 9g33 Rijndael test data 9g33.1 Overview 9g33.2 Format 9g33.3 Test Set 1 10g33.4. Test Set 2 11g33.5. Test Set 3 11g33.6 Test Set 4
17、 12g33.7 Test Set 5 12g33.8 Test Set 6 13g34 Authentication algorithms f1 AND f1* 13g34.1 Overview 13g34.2 Format 13g34.3 Test Set 1 13g34.4 Test Set 2 14g34.5 Test Set 3 14g34.6 Test Set 4 14g34.7 Test Set 5 14g34.8 Test Set 6 15g35 Algorithms f2, f5 and f3 15g35.1 Overview 15g35.2 Format 15g35.3 T
18、est Set 1 16g35.4 Test Set 2 16g35.5 Test Set 3 16g35.6 Test Set 4 16g35.7 Test Set 5 16g35.8 Test Set 6 17g36 Algorithms f4 and f5* . 17g36.1 Overview 17g36.2 Format 17g36.3 Test Set 1 17g36.4 Test Set 2 18g36.5 Test Set 3 18g36.6 Test Set 4 18g36.7 Test Set 5 18g36.8 Test Set 6 18g3ETSI ETSI TS 13
19、5 207 V13.0.0 (2016-01)43GPP TS 35.207 version 13.0.0 Release 13Annex A (informative): Change history . 20g3History 21g3ETSI ETSI TS 135 207 V13.0.0 (2016-01)53GPP TS 35.207 version 13.0.0 Release 13Foreword This Technical Specification (TS) has been produced by the 3rdGeneration Partnership Project
20、 (3GPP). The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in versio
21、n number as follows: Version x.y.z where: x the first digit: 1 presented to TSG for information; 2 presented to TSG for 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, correction
22、s, updates, etc. z the third digit is incremented when editorial only changes have been incorporated in the document. Introduction This document has been prepared by the 3GPP Task Force, and contains an example set of algorithms which may be used as the authentication and key generation functions f1
23、, f1*, f2, f3, f4, f5 and f5*. (It is not mandatory that the particular algorithms specified in this document are used all seven functions are operator-specifiable rather than being fully standardised). This document is one five, which between them form the entire specification of the example algori
24、thms, entitled: - 3GPP TS 35.205: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set for the 3GPP authentication and key generation functions f1, f1*, f2, f3, f4, f5 and f5
25、*; Document 1: General“. - 3GPP TS 35.206: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set for the 3GPP authentication and key generation functions f1, f1*, f2, f3, f4,
26、f5 and f5*; Document 2: Algorithm Specification“. - 3GPP TS 35.207: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set for the 3GPP authentication and key generation functi
27、ons f1, f1*, f2, f3, f4, f5 and f5*; Document 3: Implementors Test Data“. - 3GPP TS 35.208: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set for the 3GPP authentication a
28、nd key generation functions f1, f1*, f2, f3, f4, f5 and f5*; Document 4: Design Conformance Test Data“. - 3GPP TR 35.909: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set
29、 for the 3GPP authentication and key generation functions f1, f1*, f2, f3, f4, f5 and f5*; Document 5: Summary and results of design and evaluation“. ETSI ETSI TS 135 207 V13.0.0 (2016-01)63GPP TS 35.207 version 13.0.0 Release 131 Outline of the implementors test data Section 2 introduces the algori
30、thms and describes the notation used in the subsequent sections. Section 3 provides test data for the Rijndael kernel function. Section 4 provides test data for the authentication algorithms f1 and f1*. Section 5 provides test data for the algorithms f2, f5 and f3. Section 6 provides test data for t
31、he algorithms f4 and f5*. 1.1 References The following documents contain provisions which, through reference in this text, constitute provisions of the present document. References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific. For a sp
32、ecific 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), a non-specific reference implicitly refers to the latest version of that document in the same Release as the presen
33、t document. 1 3GPP TS 33.102 v3.5.0: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Security Architecture“. 2 3GPP TS 33.105 v3.4.0: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Securi
34、ty; Cryptographic Algorithm Requirements“. 3 3GPP TS 35.206: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set for the 3GPP authentication and key generation functions f1,
35、 f1*, f2, f3, f4, f5 and f5*; Document 2: Algorithm Specification“. 4 3GPP TS 35.207: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set for the 3GPP authentication and key
36、 generation functions f1, f1*, f2, f3, f4, f5 and f5*; Document 3: Implementors Test Data“ (this document). 5 3GPP TS 35.208: “3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm
37、 set for the 3GPP authentication and key generation functions f1, f1*, f2, f3, f4, f5 and f5*; Document 4: Design Conformance Test Data“. 6 Joan Daemen and Vincent Rijmen: “AES Proposal: Rijndael“, available at http:/csrc.nist.gov/encryption/aes/round2/AESAlgs/Rijndael/Rijndael.pdf or http:/www.esat
38、.kuleuven.ac.be/rijmen/rijndael/rijndaeldocV2.zip 7 http:/csrc.nist.gov/encryption/aes/ ETSI ETSI TS 135 207 V13.0.0 (2016-01)73GPP TS 35.207 version 13.0.0 Release 132 Introductory information 2.1 Introduction Within the security architecture of the 3GPP system there are seven security functions f1
39、, f1*, f2, f3, f4, f5 and f5*. The operation of these functions falls within the domain of one operator, and the functions are therefore to be specified by each operator rather than being fully standardized. The algorithms specified in this document are examples that may be used by an operator who d
40、oes not wish to design his own. The inputs and outputs of all seven algorithms are defined in section 2.5. 2.2 Radix Unless stated otherwise, all test data values presented in this document are in hexadecimal. 2.3 Bit/Byte ordering All data variables in this specification are presented with the most
41、 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 substrings, the leftmost (most significant) substring is numbered 0, the next most significant is numbered 1, and so on through to the lea
42、st significant. 2.4 List of Variables AK a 48-bit anonymity key that is the output of either of the functions f5 and f5*. AMF a 16-bit authentication management field that is an input to the functions f1 and f1*. c1,c2,c3,c4,c5 128-bit constants, which are XORed onto intermediate variables. CK a 128
43、-bit confidentiality key that is the output of the function f3. IK a 128-bit integrity key that is the output of the function f4. K a 128-bit subscriber key that is an input to the functions f1, f1*, f2, f3, f4, f5 and f5*. MAC-A a 64-bit network authentication code that is the output of the functio
44、n f1. MAC-S a 64-bit resynchronisation authentication code that is the output of the function f1*. OP a 128-bit Operator Variant Algorithm Configuration Field that is a component of the functions f1, f1*, f2, f3, f4, f5 and f5*. OPCa 128-bit value derived from OP and K and used within the computatio
45、n of the functions. r1,r2,r3,r4,r5 integers in the range 0127 inclusive, which define amounts by which intermediate variables are cyclically rotated. RAND a 128-bit random challenge that is an input to the functions f1, f1*, f2, f3, f4, f5 and f5*. RES a 64-bit signed response that is the output of
46、the function f2. SQN a 48-bit sequence number that is an input to either of the functions f1 and f1*. (For f1* this input is more precisely called SQNMS.) ETSI ETSI TS 135 207 V13.0.0 (2016-01)83GPP TS 35.207 version 13.0.0 Release 132.5 Algorithm Inputs and Outputs The inputs to the algorithms are
47、given in tables 1 and 2, the outputs in tables 39 below. Table 1. inputs to f1 and f1* Parameter Size (bits) Comment K 128 Subscriber key K0K127 RAND 128 Random challenge RAND0RAND127 SQN 48 Sequence number SQN0SQN47. (For f1* this input is more precisely called SQNMS.) AMF 16 Authentication managem
48、ent field AMF0AMF15 Table 2. inputs to f2, f3, f4, f5 and f5* Parameter Size (bits) Comment K 128 Subscriber key K0K127 RAND 128 Random challenge RAND0RAND127 Table 3. f1 output Parameter Size (bits) Comment MAC-A 64 Network authentication code MAC-A0MAC-A63 Table 4. f1* output Parameter Size (bits)
49、 Comment MAC-S 64 Resynch authentication code MAC-S0MAC-S63 Table 5. f2 output Parameter Size (bits) Comment RES 64 Response RES0RES63 Table 6. f3 output Parameter Size (bits) Comment CK 128 Confidentiality key CK0CK127 Table 7. f4 output Parameter Size (bits) Comment IK 128 Integrity key IK0IK127 Table 8. f5 output Parameter Size (bits) Comment AK 48 Anonymity key AK0AK47 Table 9. f5* output Parameter Size (bits) Comment AK 48 Resynch anonymity key AK0AK47 NOTE: Both f5 and f5*