Authentication system and configuration method

By introducing algorithm support status information into the 5G authentication system, the problem of the 5G communication network authentication protocol being incompatible with commercial cryptographic algorithms is solved, adaptive selection of commercial cryptographic and international cryptographic algorithms is realized, and 5G authentication and key negotiation are ensured. flexibility and interconnectivity.

CN118828482APending Publication Date: 2024-10-22CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311009247.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The authentication protocol in the 5G communication network is incompatible with commercial secret algorithms and cannot meet the needs of interconnection.

Method used

By introducing information to indicate the algorithm support status of ME, USIM and SEAF network elements in the authentication system, each network element can adaptively select compatible commercial secrets and international cryptographic algorithms to ensure their use in 5G authentication and key negotiation authentication. Appropriate cryptographic algorithms.

Benefits of technology

It achieves the flexibility and compatibility of 5G authentication and key negotiation authentication, ensures the interconnection and interoperability of protocols in different scenarios, and ensures the security of network information systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828482A_ABST
    Figure CN118828482A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an authentication system and a configuration method, the authentication system comprises a plurality of network elements, and the plurality of network elements comprise a terminal and a security anchor function SEAF network element; the terminal comprises a mobile equipment ME and a universal subscriber identity module USIM. The plurality of network elements are configured with first information used for indicating an algorithm support state of the ME, second information used for indicating an algorithm support state of the USIM, and third information used for indicating an algorithm support state of the SEAF network element, so that when the terminal carries out 5G authentication and key negotiation authentication in an authentication system, each network element supporting a commercial secret algorithm determines a used cryptographic algorithm; wherein the first information is configured in the ME, and the second information is configured in the USIM.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to an authentication system and configuration method. Background Art

[0002] With the rapid development of Internet technology, the network security risks of information systems continue to increase, and the threat challenges are becoming increasingly severe. Cryptographic security is an important foundation for information security and can be used to effectively protect the data security of network information systems. my country's commercial cryptographic algorithm, referred to as commercial cryptographic algorithm, is the core technology and important means to protect network information systems.

[0003] At present, the 5G communication network authentication protocol uses an international cryptographic algorithm, which is incompatible with commercial secrets and cannot meet the needs of interoperability. Summary of the invention

[0004] The embodiment of the present application provides an authentication system and configuration method, which introduces various information used to indicate the algorithm support status of ME, USIM, and SEAF network elements respectively, so that each network element can adaptively adopt the corresponding cryptographic algorithm based on these parameters, and is compatible with commercial and international cryptographic algorithms.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The embodiment of the present application provides an authentication system, the authentication system includes multiple network elements, the multiple network elements include a terminal and a security anchor function SEAF network element;

[0007] The terminal comprises a mobile equipment ME and a universal user identity module USIM;

[0008] The multiple network elements are configured with first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element, so that the terminal can determine the cryptographic algorithm to be used by each network element supporting the commercial secret algorithm during 5G authentication and key negotiation authentication in the authentication system;

[0009] The first information is configured in the ME, and the second information is configured in the USIM.

[0010] In the above authentication system, the ME is used to obtain the second information from the USIM when supporting a commercial secret algorithm;

[0011] If the second information indicates that the USIM supports a commercial secret algorithm, determine to use the commercial secret algorithm to calculate the authentication result, the authentication server function key, and the security anchor function key;

[0012] Otherwise, determine to use an international algorithm to calculate the authentication result, the authentication server function key, and the security anchor function key.

[0013] In the above authentication system, the third information is configured in the SEAF network element and / or the ME;

[0014] The ME is configured to, when supporting a commercial secret algorithm, receive the third information sent by the SEAF network element, or, when acquiring the third information locally, determine to use the commercial secret algorithm to calculate the access and mobility management function key if the third information indicates that the SEAF network element supports the commercial secret algorithm;

[0015] Otherwise, it is determined to use an international algorithm to calculate the access and mobility management function key.

[0016] In the above authentication system, the third information is configured in the SEAF network element;

[0017] The SEAF network element is used to send the third information to the ME when supporting the commercial encryption algorithm.

[0018] In the above authentication system, the plurality of network elements further include: an authentication server function AUSF network element, and a unified data management UDM / authentication credential repository and processing function ARPF network element;

[0019] The terminal is used to send the first information and the second information to the SEAF network element;

[0020] The SEAF network element is configured to, when supporting a commercial encryption algorithm, save the first information and the second information if the first information and the second information are received, and synchronize the first information and the second information to the AUSF network element;

[0021] The AUSF network element is used to save the first information and the second information if the first information and the second information are received when supporting the commercial encryption algorithm, and synchronize the first information and the second information to the UDM / ARPF network element for storage.

[0022] In the above authentication system, the SEAF network element is used to, when supporting a commercial secret algorithm and storing the first information and the second information, determine to use the commercial secret algorithm to calculate the access and mobility management function key if the first information indicates that the ME supports the commercial secret algorithm, otherwise, determine to use the international algorithm to calculate the access and mobility management function key;

[0023] If the second information indicates that the USIM supports a commercial secret algorithm, determine to use the commercial secret algorithm to calculate the hash authentication result; otherwise, determine to use an international algorithm to calculate the hash authentication result.

[0024] In the above-mentioned authentication system, the AUSF network element is used to, when supporting a commercial secret algorithm and storing the first information and the second information, determine to use the commercial secret algorithm to calculate the security anchor function key if the first information indicates that the ME supports the commercial secret algorithm and the second information indicates that the USIM supports the commercial secret algorithm;

[0025] Otherwise, determine to use the international algorithm to calculate the security anchor function key.

[0026] In the above authentication system, the third information is configured in the SEAF network element and / or the AUSF network element;

[0027] The AUSF network element is configured to, when supporting a commercial secret algorithm and storing the second information, receive the third information sent by the SEAF network element, or, when acquiring the third information locally, determine to use the commercial secret algorithm to calculate a hash expected authentication result if the second information indicates that the ME supports the commercial secret algorithm and the third information indicates that the SEAF network element supports the commercial secret algorithm;

[0028] Otherwise, determine the expected hash authentication result calculated using the international algorithm.

[0029] In the above authentication system, the third information is configured in the SEAF network element;

[0030] The SEAF network element is used to send the third information to the AUSF network element when supporting the commercial encryption algorithm.

[0031] In the above authentication system, the UDM / ARPF network element is used to query whether the USIM supports the commercial secret algorithm according to the subscription data of the USIM when the commercial secret algorithm is supported and the first information and the second information are saved;

[0032] When the query result is consistent with the second information, if the second information indicates that the USIM supports the commercial secret algorithm, determine to use the commercial secret algorithm to calculate the 5G home environment authentication vector;

[0033] If the second information indicates that the USIM supports a commercial secret algorithm, and the first information indicates that the ME supports a commercial secret algorithm, determining to use the commercial secret algorithm to calculate an authentication server function key and an expected authentication result;

[0034] Otherwise, determine to use the international algorithm to calculate the 5G home environment authentication vector, the authentication server function key and the expected authentication result.

[0035] In the above authentication system, the USIM is used to determine the use of the commercial secret algorithm to calculate the verification token, response value, encryption key and integrity verification key when the commercial secret algorithm is supported;

[0036] Otherwise, the verification token, the response value, the encryption key and the integrity verification key are calculated using an international algorithm.

[0037] The embodiment of the present application provides a configuration method, which is applied to an authentication system, wherein the authentication system includes: a plurality of network elements, wherein the plurality of network elements include a terminal and a SEAF network element, wherein the terminal includes an ME and a USIM, and wherein the method includes:

[0038] For the multiple network elements, configure first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element, so that the network elements supporting the commercial secret algorithm determine the cryptographic algorithm to be used during 5G authentication and key negotiation authentication of the terminal in the authentication system;

[0039] The first information is configured in the ME, and the second information is configured in the USIM.

[0040] The embodiment of the present application provides an authentication system and configuration method, wherein the authentication system includes multiple network elements, the multiple network elements include a terminal and a security anchor function SEAF network element; the terminal includes a mobile device ME and a universal user identity module USIM; the multiple network elements are configured with first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element, so that the network elements that support the commercial secret algorithm can determine the cryptographic algorithm to be used when the terminal performs 5G authentication and key negotiation authentication in the authentication system; wherein the first information is configured in the ME, and the second information is configured in the USIM. The technical solution provided by the embodiment of the present application, by introducing each information for indicating the algorithm support status of the ME, USIM, and SEAF network elements respectively, enables each network element to adaptively adopt the corresponding cryptographic algorithm based on these parameters, and is compatible with commercial secret and international cryptographic algorithms. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of an exemplary algorithm list provided for an embodiment of the present application;

[0042] Figure 2 A schematic diagram of the structure of an authentication system provided in an embodiment of the present application;

[0043] Figure 3 A schematic diagram of a 5G authentication and key negotiation process provided in an embodiment of the present application;

[0044] Figure 4 A flowchart of a configuration method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] The following will specifically describe the technical solution of the present application and how the technical solution of the present application solves the above technical problems through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0047] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0048] Definitions and descriptions of relevant terms in the embodiments of this application:

[0049] Terminal: It is composed of Mobile Equipment (ME) and Universal Subscriber Identity Module (USIM). ME and USIM work together to complete network authentication.

[0050] Security Anchor Function (SEAF) network element: access network to authenticate the terminal.

[0051] Authentication Server Function (AUSF) network element: The home network implements terminal authentication.

[0052] Unified Data Management (UDM) network element / Authentication Credentials Repository and Processing Function (ARPF) network element: stores user contract information, authentication data K, etc.

[0053] Definition and description of the algorithm in the process:

[0054] Devices that support commercial encryption algorithms (including but not limited to USIM, ME, SEAF, AUSF, UDM / ARPF) need to support international algorithms (such as AES, SHA256, etc.) and commercial encryption algorithms (mainly domestic commercial encryption algorithms, such as SM4, SM3, etc.).

[0055] A USIM that supports commercial cryptographic algorithms should use the commercial cryptographic algorithms to calculate authentication parameters and should provide an algorithm support status query interface. The ME can use this interface to query whether the USIM supports the commercial cryptographic algorithms. If the interface is not supported, it is considered that the USIM does not support the commercial cryptographic algorithms.

[0056] UDM / ARPF that supports commercial cryptographic algorithms shall give priority to using commercial cryptographic algorithms to calculate authentication parameters. For AUSF and DUM / ARPF, AUSF and DUM / ARPF shall support commercial cryptography at the same time or not support commercial cryptography at all.

[0057] The algorithm support status XX_AS (such as USIM_AS, ME_AS, SEAF_AS, etc.) of the relevant network elements and devices in the solution indicates the algorithms supported by the device or network element in authentication and key derivation. If XX_AS does not exist, it means that only international cryptographic algorithms are supported. This includes but is not limited to the following implementations, and one of the methods should be selected according to the strategy (the following is an example):

[0058] Algorithm list method: see Figure 1 ,XX_AS consists of two parts, one is the supported encryption algorithm list EAS, and the other is the supported hash algorithm list IAS.

[0059] Supported encryption algorithm list EAS: For example, a bit array can be used to mark all available encryption algorithms. For example, bit 0 indicates whether encryption algorithm 0 is supported, bit 1 indicates whether encryption algorithm 1 is supported, etc. If a bit is 1, it means that the corresponding algorithm is supported, and if it is 0, it means that the corresponding algorithm is not supported.

[0060] Supported hash algorithm list IAS: For example, a bit array can be used to mark all available hash algorithms (including hash algorithms and corresponding hmac algorithms). For example, bit 0 indicates whether hash algorithm 0 is supported, bit 1 indicates whether hash algorithm 1 is supported, etc. If a bit is 1, it means that the corresponding algorithm is supported, and if it is 0, it means that the corresponding algorithm is not supported.

[0061] Single-bit mode: XX_AS can be represented by one bit: 1 means support for commercial encryption, and 0 means no support for commercial encryption.

[0062] Definition of key derivation functions (KDF): Refer to the definition of KDF in TS 33.220: KDF = HMAC (Key, S), where S is the input parameter and Key is the key used. The specific format of HMAC can refer to the definition in TS 33.220. If a commercial algorithm is used, HMAC can use SM3-HMAC, etc.; if an international algorithm is used, HMAC can use HMAC-SHA-256, etc. The algorithm replacement uses the same length key, input and output.

[0063] Definition of HASH: If a commercial algorithm is used, SM3 or the like can be used; if an international algorithm is used, SHA-256 or the like can be used. Algorithm replacement uses keys of the same length, input, and output.

[0064] The method for generating the authentication vector (AV(RAND,AUTN,XRES,CK,IK)) is defined in TS 33.102. If a commercial algorithm is used, SM4 or the like can be used; if an international algorithm is used, AES or the like can be used. Algorithm replacement uses keys of the same length, input, and output.

[0065] An embodiment of the present application provides an authentication system. Figure 2 This is a schematic diagram of the structure of an authentication system provided in an embodiment of the present application. Figure 2 As shown, in an embodiment of the present application, the authentication system includes multiple network elements, and the multiple network elements include a terminal and a security anchor function SEAF network element;

[0066] The terminal comprises a mobile equipment ME and a universal user identity module USIM;

[0067] In the plurality of network elements, first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element are configured, so that each network element supporting the commercial secret algorithm determines the cryptographic algorithm to be used when the terminal performs 5G authentication and key agreement (Authentication and Key Agreement, AKA) in the authentication system;

[0068] The first information is configured in the ME, and the second information is configured in the USIM.

[0069] In an embodiment of the present application, multiple network elements are configured with first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element. This information can be used by each network element to select a suitable cryptographic algorithm to derive specific keys and other information when cooperating with the terminal for 5G authentication and key negotiation authentication, thereby achieving adaptive selection of cryptographic algorithms and improving the flexibility of 5G authentication and key negotiation authentication.

[0070] It should be noted that in the embodiment of the present application, the first information is configured in the ME, the second information is configured in the USIM, and the third information can be configured in the ME and AUSF network element, or in the SEAF network element, which is not limited to the embodiment of the present application.

[0071] The following is a detailed description of the cryptographic algorithm selection method for related network elements.

[0072] In an embodiment of the present application, the ME is used to obtain the second information from the USIM when supporting the commercial encryption algorithm;

[0073] If the second information indicates that the USIM supports the commercial secret algorithm, determine to use the commercial secret algorithm to calculate the authentication result, the authentication server function key, and the security anchor function key;

[0074] Otherwise, determine the authentication result, the authentication server function key, and the security anchor function key calculated using the international algorithm.

[0075] It is understandable that in the embodiment of the present application, the ME needs to calculate the authentication result, the authentication server function key, and the security anchor function key. The cryptographic algorithm used to calculate this information needs to be considered whether the USIM supports the commercial secret algorithm. If the ME supports the commercial secret algorithm, it can obtain the second information from the USIM to learn whether the USIM supports the commercial secret algorithm. If the USIM also supports the commercial secret algorithm, it is determined to use the commercial secret algorithm to calculate the above information. Otherwise, it is determined to use the international algorithm to calculate the above information. Of course, if the ME itself does not support the commercial secret algorithm, the international algorithm is directly used to calculate the above information.

[0076] In an embodiment of the present application, if the third information is configured in the SEAF network element and / or the ME;

[0077] ME is used to determine to use the commercial secret algorithm to calculate the access and mobility management function key when receiving the third information sent by the SEAF network element when the commercial secret algorithm is supported, or when obtaining the third information locally, if the third information indicates that the SEAF network element supports the commercial secret algorithm;

[0078] Otherwise, it is determined that the access and mobility management function keys are calculated using the international algorithm.

[0079] It is understandable that in the embodiment of the present application, the ME also needs to calculate the access and mobility management function key, and the cryptographic algorithm used to calculate the key needs to consider whether the SEAF network element supports the commercial secret algorithm. In the case where the third information is configured in the SEAF network element and / or the ME, the ME supports the commercial secret algorithm. It can communicate and interact with the SEAF network element, or obtain the third information from the local memory, so as to know whether the SEAF network element supports the commercial secret algorithm. In the case where the SEAF network element also supports the commercial secret algorithm, it is determined to use the commercial secret algorithm to calculate the above key. Otherwise, it is determined to use the international algorithm to calculate the above key. Of course, if the ME itself does not support the commercial secret algorithm, the international algorithm is directly used to calculate the above key.

[0080] It should be noted that, in the embodiment of the present application, if the third information is configured in the SEAF network element; the SEAF network element is used to send the third information to the ME when supporting the commercial encryption algorithm, so that the ME can know whether the SEAF network element supports the commercial encryption algorithm. Of course, in this case, the third information must indicate that the SEAF network element supports the algorithm.

[0081] In an embodiment of the present application, the plurality of network elements further include: an authentication server function AUSF network element, and a unified data management UDM / authentication credential repository and processing function ARPF network element;

[0082] A terminal, used for sending the first information and the second information to the SEAF network element;

[0083] The SEAF network element is used to save the first information and the second information if the first information and the second information are received, and synchronize the first information and the second information to the AUSF network element when the commercial encryption algorithm is supported;

[0084] The AUSF network element is used to save the first information and the second information if the first information and the second information are received when supporting the commercial encryption algorithm, and synchronize the first information and the second information to the UDM / ARPF network element for storage.

[0085] It is understandable that in the embodiment of the present application, the terminal can share the first information and the second information with the SEAF network element, the AUSF network element, and the UDM / ARPF network element to support the cryptographic algorithm selected by each network element. Among them, the terminal sends the first information and the second information to the SEAF network element, and the SEAF network element selectively synchronizes the first information and the second information to the AUSF network element based on whether it supports the commercial cryptographic algorithm. Similarly, the AUSF network element also selectively synchronizes the first information and the second information to the UDM / ARPF network element based on whether it supports the commercial cryptographic algorithm.

[0086] In an embodiment of the present application, the SEAF network element is configured to, when supporting a commercial encryption algorithm and storing the first information and the second information, determine to use the commercial encryption algorithm to calculate the access and mobility management function key if the first information indicates that the ME supports the commercial encryption algorithm, otherwise, determine to use the international algorithm to calculate the access and mobility management function key;

[0087] If the second information indicates that the USIM supports the commercial secret algorithm, it is determined to use the commercial secret algorithm to calculate the hash authentication result; otherwise, it is determined to use the international algorithm to calculate the hash authentication result.

[0088] It can be understood that in the embodiment of the present application, the SEAF network element needs to calculate the access and mobility management function key and the hash authentication result, wherein the cryptographic algorithm used to calculate the access and mobility management function key needs to be determined considering whether the ME supports the commercial secret algorithm, and the cryptographic algorithm used to calculate the hash authentication result needs to be determined considering whether the USIM supports the commercial secret algorithm. If the SEAF network element supports the commercial secret algorithm, it can obtain whether the ME supports the commercial secret algorithm based on the first information, and obtain whether the USIM supports the commercial secret algorithm based on the second information. If the ME also supports the commercial secret algorithm, it is determined to use the commercial secret algorithm to calculate the above-mentioned key. If the USIM also supports the commercial secret algorithm, it is determined to use the commercial secret algorithm to calculate the hash authentication result. Otherwise, it is determined to use the international algorithm to calculate this information. Of course, if the SEAF network element itself does not support the commercial secret algorithm, the international algorithm is directly used to calculate this information.

[0089] In an embodiment of the present application, the AUSF network element is configured to, when supporting a commercial encryption algorithm and storing the first information and the second information, determine to use the commercial encryption algorithm to calculate a security anchor function key if the first information indicates that the ME supports the commercial encryption algorithm and the second information indicates that the USIM supports the commercial encryption algorithm;

[0090] Otherwise, determine the security anchor function key calculated using the international algorithm.

[0091] It is understandable that in an embodiment of the present application, the AUSF network element needs to calculate the security anchor function key, and determining the cryptographic algorithm used to calculate the key needs to consider whether the ME and USIM support the commercial secret algorithm. If the AUSF network element supports the commercial secret algorithm, it can obtain whether the ME supports the commercial secret algorithm based on the first information, and obtain whether the USIM supports the commercial secret algorithm based on the second information. If both the ME and the USIM support the commercial secret algorithm, it determines to use the commercial secret algorithm to calculate the above key. Otherwise, it determines to use the international algorithm to calculate the above key. Of course, if the AUSF network element itself does not support the commercial secret algorithm, the international algorithm is directly used to calculate the above key.

[0092] In an embodiment of the present application, if the third information is configured in the SEAF network element and / or the AUSF network element;

[0093] The AUSF network element is used to, when supporting the commercial secret algorithm and storing the second information, receive the third information sent by the SEAF network element, or, when the third information is obtained locally, if the second information indicates that the ME supports the commercial secret algorithm and the third information indicates that the SEAF network element supports the commercial secret algorithm, determine to use the commercial secret algorithm to calculate the hash expected authentication result;

[0094] Otherwise, determine the expected authentication result by calculating the hash using the international algorithm.

[0095] It is understandable that in an embodiment of the present application, the AUSF network element also needs to calculate the expected hash authentication result, and determining the cryptographic algorithm used to calculate the information needs to consider whether the ME and SEAF network elements support commercial secret algorithms. When the third information is configured in the SEAF network element and / or the AUSF network element, the AUSF network element supports commercial secret algorithms. It can communicate and interact with the SEAF network element, or obtain the third information from the local memory to learn whether the SEAF network element supports commercial secret algorithms. When both the SEAF network element and the ME support commercial secret algorithms, it is determined to use the commercial secret algorithm to calculate the above information. Otherwise, it is determined to use the international algorithm to calculate the above information. Of course, if the AUSF network element itself does not support the commercial secret algorithm, the international algorithm is directly used to calculate the above information.

[0096] It should be noted that, in the embodiment of the present application, if the third information is configured in the SEAF network element; the SEAF network element is used to send the third information to the AUSF network element when supporting the commercial encryption algorithm, so that the AUSF network element can know whether the SEAF network element supports the commercial encryption algorithm. Of course, in this case, the third information must indicate that the SEAF network element supports the algorithm.

[0097] In an embodiment of the present application, the UDM / ARPF network element is used to query whether the USIM supports the commercial secret algorithm according to the subscription data of the USIM when the commercial secret algorithm is supported and the first information and the second information are stored;

[0098] When the query result is consistent with the second information, if the second information indicates that the USIM supports the commercial secret algorithm, determine to use the commercial secret algorithm to calculate the 5G home environment authentication vector;

[0099] If the second information indicates that the USIM supports the commercial secret algorithm, and the first information indicates that the ME supports the commercial secret algorithm, determining to use the commercial secret algorithm to calculate the authentication server function key and the expected authentication result;

[0100] Otherwise, determine the use of international algorithms to calculate the 5G home environment authentication vector, authentication server function key and expected authentication result.

[0101] It is understandable that in the embodiments of the present application, the UDM / ARPF network element needs to calculate the 5G attribution environment authentication vector, the authentication server function key and the expected authentication result, and determines whether the ME and USIM support commercial secret algorithms to determine the cryptographic algorithm used to calculate this information. Among them, if the UDM / ARPF network element supports commercial secret algorithms, it is also necessary to determine whether the second information is valid based on the contract data, and further determine the cryptographic algorithm used to calculate the 5G attribution environment authentication vector based on the second information, and determine the cryptographic algorithm used to calculate the other two pieces of information based on the second information and the first information. Of course, if the UDM / ARPF network element itself does not support commercial secret algorithms, the international algorithm is directly used to calculate the above information.

[0102] In an embodiment of the present application, the USIM is used to determine to use the commercial secret algorithm to calculate the verification token, the response value, the encryption key and the integrity verification key when the commercial secret algorithm is supported;

[0103] Otherwise, the verification token, response value, encryption key and integrity verification key are calculated using the international algorithm.

[0104] It can be understood that in the embodiment of the present application, the USIM needs to calculate the verification token, the response value, the encryption key and the integrity verification key, and the cryptographic algorithm used to calculate the information needs to be considered whether the USIM supports the commercial secret algorithm. If the USIM supports the commercial secret algorithm, it is determined to use the commercial secret algorithm to calculate the above information, otherwise, it is determined to use the international algorithm to calculate the above information.

[0105] The following describes the above-mentioned cryptographic algorithm selection method for relevant network elements in combination with 5G authentication and key negotiation authentication scenarios.

[0106] Figure 3 A flowchart of 5G authentication and key negotiation and authentication is provided for an embodiment of the present application.

[0107] like Figure 3 As shown, 5G authentication and key negotiation authentication mainly include the following steps:

[0108] S1. ME sends an Initial Registration Request to SEAF.

[0109] In this step, the following new contents are mainly involved:

[0110] When the ME needs to start the registration and authentication process, it generates information used to indicate the algorithm support status of the ME and USIM respectively: ME_AS and USIM_AS.

[0111] ME_AS contains the status of related algorithms supported by ME itself, which can be all supported cryptographic algorithms, a list of hash algorithms, or the status of whether commercial cryptographic algorithms are supported.

[0112] USIM_AS contains the status of related algorithms supported by the USIM itself, which can be all supported cryptographic algorithms, a list of hash algorithms, or the status of whether commercial cryptographic algorithms are supported.

[0113] ME sends ME_AS and USIM_AS to SEAF network element through Initial Registration Request. Among them, ME_AS and USIM_AS can be used as new parameters of initial registration request, or extended fields in initial registration request can be used. If USIM_AS does not support commercial encryption algorithm, the registration request may not include this field. If ME does not support commercial encryption algorithm, ME_AS and USIM_AS are not carried.

[0114] S2. The SEAF network element sends a Nausf_UEAuthentication_Authenticate Request to the AUSF network element. The Nausf_UEAuthentication_Authenticate Request carries the information in the Initial RegistrationRequest.

[0115] In this step, the following new contents are mainly involved:

[0116] If the SEAF network element supports the commercial encryption algorithm, it will identify and save ME_AS and USIM_AS, and send ME_AS and USIM_AS, as well as the parameter SEAF_AS used to indicate the algorithm support status of the SEAF network element, to the AUSF network element through Nausf_UEAuthentication_Authenticate Request (SEAF_AS can be a new parameter, or an extended field in the message can be used, etc.); if the SEAF network element does not support the commercial encryption algorithm, or cannot identify ME_AS and USIM_AS, this parameter can be ignored. It should be noted that the SEAF network element may not generate SEAF_AS, but the AUSF network element may determine whether the SEAF network element supports the commercial encryption algorithm by using the identity of the SEAF network element or maintaining a SEAF list that supports the commercial encryption algorithm to replace SEAF_AS.

[0117] S3. AUSF network element sends Nudm_UEAuthentication_Get Request to UDM / ARPF.

[0118] In this step, the following new contents are mainly involved:

[0119] If the AUSF network element supports the commercial encryption algorithm, ME_AS, USIM_AS and SEAF_AS are identified and saved, and ME_AS and USIM_AS are sent to the UDM / ARPF network element through Nudm_UEAuthentication_Get Request; if the AUSF network element does not support the commercial encryption algorithm, or cannot identify ME_AS and USIM_AS, this parameter can be ignored.

[0120] S4, UDM / ARPF network element creates a 5G home environment authentication vector (5G HE AV) for Nudm_Authenticate_Get Request and calculates K AUSF , XRES*.

[0121] It should be noted that 5G HE AV includes: RAND, AUTN, XRES, CK and IK. Kausf is the authentication server function key, and XRES* is the expected authentication result. The UDM / ARPF network element first generates an authentication vector with the "separation bit" of the access mobility management (Authentication Management Function, AMF) field as 1. Then, the UDM / ARPF network element should derive K AUSF and XRES*(K AUSF = KDF(KAUSF_ID,CK||IK), XRES* = KDF(RAND,XRES,CK||IK)). Finally, the UDM / ARPF network element should create a AUSF 5GHE AV.

[0122] In this step, the following new contents are mainly involved:

[0123] UDM / ARPF network elements that do not support commercial encryption algorithms use international algorithms to calculate 5G HE AV and K AUSF and XRES*. UDM / ARPF network elements that support commercial encryption algorithms perform the following processing:

[0124] According to the USIM subscription data, check whether the USIM corresponding to the Subscription Concealed Identifier (SUCI) supports the commercial encryption algorithm, and compare it with USIM_AS. If they are inconsistent, an error is returned. If they are consistent, the following processing is performed:

[0125] If USIM_AS indicates that USIM supports commercial encryption algorithm: 5G HE AV shall be calculated using commercial encryption algorithm; if ME_AS indicates that ME supports commercial encryption algorithm, K shall be calculated using commercial encryption algorithm AUSF and XRES*, otherwise the international algorithm is used to calculate K AUSF and XRES*.

[0126] If the USIM_AS indicates that the USIM does not support the commercial encryption algorithm, the international algorithm should be used to calculate 5G HE AV, K AUSF and XRES*.

[0127] S5. The UDM / ARPF network element sends Nudm_UEAuthentication_Get Response to the AUSF network element, which carries 5G HE AV and indicates that 5G HE AV is used for 5G AKA.

[0128] It should be noted that if the Nudm_UEAuthentication_Get Request contains SUCI, the UDM network element will include SUPI in the Nudm_UEAuthentication_Get Response.

[0129] S6. AUSF network element temporarily saves XRES* and received SUCI or SUPI, and saves K AUSF .

[0130] S7. AUSF network element generates a 5G AV based on the 5G HE AV received from UDM / ARPF network element. Calculate the expected authentication result HXRES* from XRES* (HXRES* = HASH(RAND, XRES*)) and AUSF Derived security anchor function key K SEAF (KSEAF = KDF (KSEAF_ID, K AUSF )), then use HXRES* and K SEAF Replace XRES* and K in 5G HE AV respectively AUSF .

[0131] In this step, the following new contents are mainly involved:

[0132] AUSF network elements that do not support the commercial encryption algorithm use the international algorithm to calculate the above parameters; AUSF network elements that support the commercial encryption algorithm perform the following processing:

[0133] If SEAF_AS and USIM_AS indicate support for the commercial encryption algorithm, HXRES* shall be calculated using the commercial encryption algorithm, otherwise the international algorithm shall be used.

[0134] If the ME_AS and USIM_AS indicate that they support the cryptographic algorithm, the cryptographic algorithm shall be used to calculate K. SEAF , otherwise the international algorithm is used for calculation.

[0135] S8. AUSF network element sends Nausf_UEAuthentication_AuthenticateResponse to SEAF network element; wherein K is removed SEAF , and sends 5G SE AV (RAND, AUTN, HXRES*) to the SEAF network element through response.

[0136] S9. The SEAF network element sends RAND and AUTN to the terminal via a NAS message; the message should also contain the access and mobility management function key K used by the terminal and AMF to identify the access and mobility management function key K. AMF The message shall also include the ABBA parameter. The ME shall forward the RAND and AUTN in the NAS message to the USIM. The ABBA parameter is included to protect against downgrade attacks on security features that may be introduced in the future.

[0137] In this step, the following new contents are mainly involved:

[0138] SEAF network elements that support commercial encryption algorithms shall send SEAF_AS to ME, otherwise this parameter may not be included; MEs that support commercial encryption algorithms shall identify and save SEAF_AS, otherwise this parameter may be ignored. SEAF network elements may not generate SEAF_AS, but ME may determine whether SEAF supports commercial encryption algorithms by using SEAF identity or maintaining a list of SEAFs that support commercial encryption algorithms to replace SEAF_AS.

[0139] S10. After the USIM receives RAND and AUTN, it checks whether AUTN is accepted and calculates RES, CK, and IK; where RES is the response value, CK is the encryption key, and IK is the integrity check key. By checking whether AUTN is accepted, it verifies whether the authentication vector is the latest. If the verification is successful, the USIM shall calculate the response RES and return RES, CK, and IK to the ME. If the USIM calculates Kc (i.e., GPRS Kc) from CK and IK using the conversion function c3 described in 3GPP TS 33.102 and sends it to the ME, the ME shall ignore the GPRS Kc, and the GPRS Kc shall not be stored on the USIM or ME.

[0140] In this step, the following new contents are mainly involved:

[0141] The USIM that supports the commercial algorithm shall use the commercial algorithm to calculate the verification AUTN, response RES, CK, IK and Kc, otherwise use the international algorithm.

[0142] S11, ME calculates RES*, K AUSF and K SEAF ; RES* is the authentication result, RES*=KDF(RAND,RES,CK||IK), ME should derive K from CK||IK AUSF (K AUSF =KDF(KAUSF_ID,CK||IK)). ME shall AUSF Derived K SEAF . (KSEAF = KDF (KSEAF_ID, K AUSF )) A ME accessing 5G shall check during authentication whether the AUTN's AMF field "separationbit" is set to 1. The "separation bit" is bit 0 of the AUTN's AMF field. This "separation bit" in the AUTN's AMF shall no longer be used for operator specific purposes.

[0143] In this step, the following new contents are mainly involved:

[0144] MEs that do not support commercial encryption algorithms use international algorithms to calculate the above parameters; MEs that support commercial encryption algorithms perform the following processing:

[0145] If the USIM_AS indicates that the USIM supports the commercial encryption algorithm, the commercial encryption algorithm shall be used to calculate RES* and K AUSF and K SEA F, otherwise the international algorithm is used for calculation.

[0146] If SEAF_AS indicates that the SEAF network element supports the commercial encryption algorithm, the commercial encryption algorithm can be used to calculate K AMF , otherwise the international algorithm is used for calculation.

[0147] S12. The terminal returns RES* to the SEAF network element in the NAS message authentication response.

[0148] S13. The SEAF network element calculates the hash authentication result HRES* (HRES*=KDF(RAND,RES*,CK||IK)) from RES*, compares HRES* and HXRES*, and feeds back the authentication result to the service network. Among them, if the two values ​​are consistent, the SEAF network element shall consider the authentication successful from the perspective of the service network. If they are inconsistent, the SEAF network element shall proceed in accordance with the protocol provisions. If the terminal is unreachable and the SEAF network element has never received RES*, the SEAF network element shall consider the authentication failed and indicate the failure to the AUSF network element.

[0149] In this step, the following new contents are mainly involved:

[0150] SEAF network elements that do not support commercial encryption algorithms use international algorithms to calculate the above parameters; SEAF network elements that support commercial encryption algorithms perform the following processing:

[0151] If the USIM_AS indicates that the USIM supports the commercial algorithm, the commercial algorithm shall be used to calculate HRES*, otherwise the international algorithm shall be used.

[0152] S14. The SEAF network element sends a Nausf_UEAuthentication_AuthenticateRequest to the AUSF network element, which carries the corresponding SUCI or SUPI from the terminal.

[0153] S15. The AUSF network element feeds back the home network authentication result based on the Nausf_UEAuthentication_AuthenticateRequest containing RES*. If the verification has expired, the AUSF network element may consider the authentication unsuccessful from the perspective of the home network. The AUSF network element shall compare the received RES* with the stored XRES*. If RES* and XRES* are consistent, the AUSF network element shall consider the authentication successful from the perspective of the home network.

[0154] S16. AUSF network element sends Nausf_UEAuthentication_AuthenticateResponse to SEAF network element to indicate whether the authentication is successful. If the authentication is successful, K SEAF If the AUSF network element receives SUCI from the SEAF network element when starting authentication and the authentication is successful, the AUSF network element shall also include SUPI in the Nausf_UEAuthentication_Authenticate Response.

[0155] S17. If authentication is successful, the SEAF network element calculates K AMF ; Among them, the SEAF network element should receive the key K from the Nausf_UEAuthentication_Authenticate Response SEAF As the anchor key. Then the SEAF network element shall obtain SEAF , ABBA parameters and SUPI to derive K AMF (K AMF =KDF(KAMF_ID, KSEAF)), and provide ngKSI and KAMF .

[0156] In this step, the following new contents are mainly involved:

[0157] SEAF network elements that do not support commercial encryption algorithms use international algorithms to calculate the above parameters; SEAF network elements that support commercial encryption algorithms perform the following processing:

[0158] If ME_AS indicates that ME supports the commercial encryption algorithm, K shall be calculated using the commercial encryption algorithm. AMF , otherwise the international algorithm is used.

[0159] If SUCI is used for this authentication, the SEAF network element shall provide the ngKSI and K to the AMF network element only after receiving the Nausf_UEAuthentication_Authenticate Response containing the SUPI. AMF ; Before the service network learns the SUPI, no communication service will be provided to the terminal.

[0160] In the embodiments of the present application, first, it is compatible with the original 5G AKA protocol, and is adaptively compatible with commercial encryption algorithms and international encryption algorithms; second, it supports various scenarios, in which authentication can also run normally even if any of the network elements do not support commercial encryption, thus ensuring the interconnection and interoperability of the protocols in various scenarios. For example, USIM and ME do not support commercial encryption algorithms, but can authenticate normally; third, the new information used to indicate the algorithm support status of USIM, ME, and SEAF network elements can be reflected in newly added parameters, or by using the extended fields of the original protocol, without much modification to the original protocol, and the equipment is easy to modify.

[0161] The embodiment of the present application provides a configuration method, characterized in that it is applied to an authentication system, the authentication system comprising: a plurality of network elements, the plurality of network elements comprising a terminal and a SEAF network element, the terminal comprising an ME and a USIM, Figure 4 A flow chart of a configuration method provided in an embodiment of the present application. Figure 4 As shown, the method includes:

[0162] S101. Configure, for multiple network elements, first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element, so that each network element supporting the commercial secret algorithm determines the cryptographic algorithm to be used during 5G authentication and key negotiation authentication of the terminal in the authentication system;

[0163] The first information is configured in the ME, and the second information is configured in the USIM.

[0164] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program implements the above-mentioned authentication method when executed by a processor. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0165] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0166] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0167] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0168] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process described in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0169] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An authentication system, characterized in that: The authentication system includes a plurality of network elements, wherein the plurality of network elements include a terminal and a security anchor function SEAF network element; The terminal comprises a mobile equipment ME and a universal user identity module USIM; The multiple network elements are configured with first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element, so that the terminal can determine the cryptographic algorithm to be used by each network element supporting the commercial secret algorithm during 5G authentication and key negotiation authentication in the authentication system; The first information is configured in the ME, and the second information is configured in the USIM.

2. The authentication system according to claim 1, characterized in that: The ME is configured to obtain the second information from the USIM when a commercial encryption algorithm is supported; If the second information indicates that the USIM supports a commercial secret algorithm, determine to use the commercial secret algorithm to calculate the authentication result, the authentication server function key, and the security anchor function key; Otherwise, determine to use an international algorithm to calculate the authentication result, the authentication server function key, and the security anchor function key.

3. The authentication system according to claim 1, characterized in that: The third information is configured in the SEAF network element and / or the ME; The ME is configured to, when supporting a commercial secret algorithm, receive the third information sent by the SEAF network element, or, when acquiring the third information locally, determine to use the commercial secret algorithm to calculate the access and mobility management function key if the third information indicates that the SEAF network element supports the commercial secret algorithm; Otherwise, it is determined to use an international algorithm to calculate the access and mobility management function key.

4. The authentication system according to claim 3, characterized in that: The third information is configured in the SEAF network element; The SEAF network element is used to send the third information to the ME when supporting the commercial encryption algorithm.

5. The authentication system according to claim 1, characterized in that: The plurality of network elements further include: an authentication server function AUSF network element, and a unified data management UDM / authentication credentials repository and processing function ARPF network element; The terminal is used to send the first information and the second information to the SEAF network element; The SEAF network element is configured to, when supporting a commercial encryption algorithm, save the first information and the second information if the first information and the second information are received, and synchronize the first information and the second information to the AUSF network element; The AUSF network element is used to save the first information and the second information if the first information and the second information are received when supporting the commercial encryption algorithm, and synchronize the first information and the second information to the UDM / ARPF network element for storage.

6. The authentication system according to claim 5, characterized in that: The SEAF network element is configured to, when supporting a commercial encryption algorithm and storing the first information and the second information, determine to use the commercial encryption algorithm to calculate the access and mobility management function key if the first information indicates that the ME supports the commercial encryption algorithm, and otherwise, determine to use the international algorithm to calculate the access and mobility management function key; If the second information indicates that the USIM supports a commercial secret algorithm, determine to use the commercial secret algorithm to calculate the hash authentication result; otherwise, determine to use an international algorithm to calculate the hash authentication result.

7. The authentication system according to claim 5, characterized in that: The AUSF network element is configured to, when supporting a commercial cryptographic algorithm and storing the first information and the second information, determine to use the commercial cryptographic algorithm to calculate a security anchor function key if the first information indicates that the ME supports the commercial cryptographic algorithm and the second information indicates that the USIM supports the commercial cryptographic algorithm; Otherwise, determine to use the international algorithm to calculate the security anchor function key.

8. The authentication system according to claim 5, characterized in that: The third information is configured in the SEAF network element and / or the AUSF network element; The AUSF network element is configured to, when supporting a commercial secret algorithm and storing the second information, receive the third information sent by the SEAF network element, or, when acquiring the third information locally, determine to use the commercial secret algorithm to calculate a hash expected authentication result if the second information indicates that the ME supports the commercial secret algorithm and the third information indicates that the SEAF network element supports the commercial secret algorithm; Otherwise, determine the expected hash authentication result calculated using the international algorithm.

9. The authentication system according to claim 8, characterized in that: The third information is configured in the SEAF network element; The SEAF network element is used to send the third information to the AUSF network element when supporting the commercial encryption algorithm.

10. The authentication system according to claim 5, characterized in that: The UDM / ARPF network element is configured to query whether the USIM supports the commercial secret algorithm according to the subscription data of the USIM when the commercial secret algorithm is supported and the first information and the second information are stored; When the query result is consistent with the second information, if the second information indicates that the USIM supports the commercial secret algorithm, determine to use the commercial secret algorithm to calculate the 5G home environment authentication vector; If the second information indicates that the USIM supports a commercial secret algorithm, and the first information indicates that the ME supports a commercial secret algorithm, determining to use the commercial secret algorithm to calculate an authentication server function key and an expected authentication result; Otherwise, determine to use the international algorithm to calculate the 5G home environment authentication vector, the authentication server function key and the expected authentication result.

11. The authentication system according to claim 1, characterized in that: The USIM is used to determine the use of the commercial secret algorithm to calculate the verification token, the response value, the encryption key and the integrity verification key when the commercial secret algorithm is supported; Otherwise, the verification token, the response value, the encryption key and the integrity verification key are calculated using an international algorithm.

12. A configuration method, characterized in that: Applied to an authentication system, the authentication system comprising: a plurality of network elements, the plurality of network elements comprising a terminal and a SEAF network element, the terminal comprising an ME and a USIM, the method comprising: For the multiple network elements, configure first information for indicating the algorithm support status of the ME, second information for indicating the algorithm support status of the USIM, and third information for indicating the algorithm support status of the SEAF network element, so that the network elements supporting the commercial secret algorithm determine the cryptographic algorithm to be used during 5G authentication and key negotiation authentication of the terminal in the authentication system; The first information is configured in the ME, and the second information is configured in the USIM.