Customizable encryption device for b5g / 6a mobile communication system, customizable encryption method for the same, and encryption program
A customizable stream encryption device adjusts parallel processes and processing ratios to address performance bottlenecks in B5G/6G systems, ensuring high-speed communication for diverse terminals with optimized power usage.
Patent Information
- Application Number
- JP2023033393
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2043-03-06
AI Technical Summary
Current encryption technologies in 5G mobile communication systems are not customizable, leading to potential bottlenecks in performance requirements for Beyond 5G (B5G)/6G systems, which require ultra-high speed, large capacity, ultra-low latency, and ultra-low power consumption, especially for IoT devices.
A customizable stream encryption device that adjusts the number of parallel processes and the processing ratio of nonlinear functions and logical operations in the round function to meet diverse performance needs.
The encryption device can tailor performance, power consumption, and security to suit various terminals, supporting high-speed and large-capacity communication for smartphones and PCs while minimizing power consumption for IoT devices.
Smart Images

Figure 2024125533000001
Abstract
Description
[Technical field]
[0001] In the security architecture of 3GPP (registered trademark), multiple keys to be used for different purposes are derived from a single key using a key derivation algorithm. In 3G to 5G communication systems, MILENAGE and TUAK are used as the above-mentioned key derivation algorithm. Currently, a 256-bit key derivation algorithm is being considered as a key derivation algorithm for B5G (Beyond 5G) / 6G.
[0002] The present invention proposes an encryption device that can be tuned to suit various terminals in this B5G / 6G mobile communication system. [Background technology]
[0003] Conventionally, Non-Patent Documents 1 and 2 define the symmetric key cryptographic algorithms AES, SNOW-3G, and ZUG for 5G mobile communication systems. [Prior art documents] [Non-patent literature]
[0004] [Non-Patent Document 1] 3GPP(registered trademark) TS 35.216: "Specification of the 3GPP(registered trademark) Confidentiality and Integrity Algorithms UEA2 & UIA2; Document 2: SNOW 3G specification". [Non-Patent Document 2] 3GPP(registered trademark) TS 33.501: "Security architecture and procedures for 5G System" Summary of the Invention [Problem to be solved by the invention]
[0005] The 5G / 6G mobile communications system will further enhance the characteristic functions of 5G, equipping it with features such as "ultra-high speed and large capacity," "ultra-low latency," and "ultra-large number of simultaneous connections," making it possible to instantly and accurately process huge amounts of data from any location. On the other hand, IoT devices in particular will need to meet the requirement of "ultra-low power consumption." If technology to reduce power consumption is not developed, IT-related power consumption in 2030 is expected to be 36 times that of 2016. This power consumption, 36 times that of 2016, is also 1.5 times the total power consumption in 2018.
[0006] In this situation, the cryptographic algorithms required for B5G / 6G must be customizable to accommodate various use cases and terminal requirements. For example, in order to realize ultra-high speed and large capacity communications on smartphones and PCs (personal computers), a high performance cryptographic method is required. Here, "high performance" means a large amount of plain text that can be encrypted per unit time. On the other hand, in IoT devices and other devices with limited power supply, it is necessary to minimize power consumption even if it means sacrificing some performance.
[0007] Because the encryption used in current 5G mobile communication systems cannot be customized, encryption processing could become a bottleneck in the performance requirements of B5G / 6G mobile communication systems.
[0008] Therefore, an object of the present invention is to provide a customizable stream encryption device that can meet a wide variety of performance requirements in B5G / 6G mobile communication systems. [Means for solving the problem]
[0009] The inventors discovered that performance requirements can be met by customizing the number of parallel stream cipher processes and the ratio of processes (e.g., the ratio of nonlinear functions to logical operations), and thus completed the present invention.
[0010] (1) An encryption device according to the present invention is an encryption device including an initialization processing unit that includes a round function and mixes an internal state, and an encryption processing unit that includes a round function, mixes the internal state, and generates a ciphertext by calculating the exclusive OR of a key stream extracted from the mixed internal state and a plaintext, and customizes the round function based on configuration specification data.
[0011] (2) The configuration designation data may designate the number of parallel processes in the round function.
[0012] (3) The configuration designation data may designate a ratio of nonlinear functions and logical operations in the round function.
[0013] (4) An authentication tag generation processing unit may be provided downstream of the encryption processing unit, the round function may have an external input, and the authentication tag generation processing unit may generate an authentication tag by inputting plain text as the external input of the encryption processing unit.
[0014] (5) An encryption method according to the present invention includes an initialization processing step of mixing an internal state by a round function, and an encryption processing step of mixing the internal state by the round function and generating a ciphertext by calculating the exclusive OR of a key stream extracted from the mixed internal state and a plaintext, and customizes the round function based on configuration specification data.
[0015] (6) An encryption program according to the present invention causes a computer to function as the encryption device. Effect of the Invention
[0016] According to the present invention, it is possible to provide a customizable stream encryption device that can meet a wide variety of performance requirements in B5G / 6G mobile communication systems. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 is a diagram illustrating a schematic configuration of an encryption device according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating a hardware configuration of an encryption device according to the first embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram illustrating a detailed configuration of an encryption device according to the first embodiment of the present invention. [Figure 4] FIG. 4 is a diagram illustrating an example of a round function of the encryption device according to the first exemplary embodiment of the present invention. [Diagram 5] FIG. 4 is a diagram illustrating an example of a round function of the encryption device according to the first exemplary embodiment of the present invention. [Figure 6] FIG. 11 is a diagram illustrating a schematic configuration of an encryption device according to a second embodiment of the present invention. [Figure 7] FIG. 11 is a diagram illustrating a detailed configuration of an encryption device according to a second embodiment of the present invention. [Figure 8] FIG. 11 is a diagram illustrating an example of a round function of the encryption device according to the second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. [Embodiment 1] 1 shows a schematic configuration of an encryption device 100 according to a first embodiment. The encryption device 100 according to the first embodiment includes an initialization processing unit 200 and an encryption processing unit 300. The initialization processing unit 200 creates an internal state that is mixed based on a key and a random number. The encryption processing unit 300 uses the internal state created by the initialization processing unit 200 to encrypt plaintext and output ciphertext.
[0019] The encryption device 100 is input with a first configuration designation data S1 and a second configuration designation data S2. The first configuration designation data S1 is data that designates the number of parallel processes in the encryption device 100. The second configuration designation data S2 is data that designates the ratio of processes, for example, the ratio of nonlinear functions and logical operations. The first configuration designation data S1 and the second configuration designation data S2 are collectively referred to as "configuration designation data." The configuration designation data may be input from outside the encryption device 100, but may also be configured to be stored inside the encryption device 100.
[0020] 2 is a diagram showing a hardware configuration of the encryption device 100 of embodiment 1. The encryption device 100 is an information processing device (computer) including a control unit 10, a storage unit 20, and various interfaces and the like.
[0021] The control unit 10 is a part that controls the entire encryption device 100, and realizes each function in the embodiment 1 by appropriately reading and executing various programs stored in the storage unit 20. The control unit 10 may be a CPU.
[0022] The storage unit 20 is a storage area for various programs and various data for causing the hardware group to function as the encryption device 100, and may be a ROM, a RAM, a flash memory, a hard disk drive (HDD), etc. Therefore, the configuration designation data may be stored in the storage unit 20. Specifically, the storage unit 20 stores a program (encrypted program) for causing the control unit 10 to execute each function of the first embodiment.
[0023] The control unit 10 functions as a processing unit 11 by executing the encryption program.
[0024] Fig. 3 is a diagram showing a detailed configuration of the encryption device 100 when the number of parallel processes is specified as "4" by the first configuration specification data S1. As shown in Fig. 3, the number of parallel processes means the number of signals in the internal state in Fig. 1. Blocks with "R" written inside, such as 31 to 3m and 51 to 5m in Fig. 3, mean round functions. The round function mixes the input internal state and outputs the internal state after mixing.
[0025] At the start of the stream cipher process, a key and an initial value are stored in the internal state. Next, in the initialization processing unit 200, a round function, which will be described in detail later, is applied to the internal state multiple times, thereby mixing the internal state. Also, in the adders 41 to 44, the key can be added again to the internal state after the application of the round function, thereby further mixing the internal state.
[0026] In the encryption processing unit 300, the exclusive-OR calculators 61 to 6n calculate the exclusive-OR between the key stream extracted from the internal state and the plain text to obtain a cipher text. Each time a key stream is extracted, a round function is applied to update the internal state. In addition, in extracting the key stream, it is also possible to use a key stream generating function that is configured from a nonlinear function, a logical operation, or the like.
[0027] 4 shows an example of the configuration of a round function when the number of parallel processes specified by the first configuration specification data S1 is "4". The internal state before the update is represented by a1 to d1. The internal state after the update is represented by a2 to d2. The internal state after the update is calculated by a nonlinear function or logical operation of the internal state before the update. An example of the nonlinear function is the AES round function, and an example of the logical operation is an exclusive OR operation. FIG. 4 is merely an example of a round function configuration when the number of parallel processes is "4". It is also possible to calculate a logical operation of pre-update internal states a1 and b1, or to use pre-update internal states c1 and d1 as inputs to a non-linear function.
[0028] It is also possible to increase or decrease the number of processes by changing the number of parallel processes. Increasing the number of parallel processes increases the size of the internal state, and the size of the key stream that can be generated each time the round function is applied also increases. This improves the performance of the stream cipher. However, the scale of implementation increases, resulting in increased power consumption. Reducing the number of processes reduces the scale of implementation and reduces power consumption. However, as a trade-off, the size of the key stream that can be generated at one time also decreases, resulting in reduced performance.
[0029] FIG. 5 shows an example of the configuration of a round function when the number of parallel processes is “2”.
[0030] Also, Figure 4 shows a round function when the ratio of nonlinear functions to logical operations is "1:1". However, by changing the value of the second configuration specification data S2, the ratio of nonlinear functions to logical operations can be changed to "1:3" or "3:1". By adjusting the ratio of nonlinear functions to logical operations, it is possible to tune security and performance. Increasing the ratio of nonlinear functions improves security but decreases processing performance. On the other hand, increasing the ratio of logical operations improves performance but decreases security.
[0031] As described above, the encryption device of the first embodiment can adjust the performance, power consumption, and security of the encryption device using configuration designation data, making it possible to provide an encryption device that satisfies a wide variety of performance requirements.
[0032] [Embodiment 2] FIG. 6 shows a schematic configuration of an encryption device 900 according to the second embodiment. The encryption device 900 of the second embodiment is an encryption device that generates an authenticated ciphertext by using a round function having an external input. This authenticated ciphertext is also called "authenticated encryption" and generates an authentication tag (Message Authentication Code (MAC)) at the same time as generating a ciphertext.
[0033] The encryption device 900 includes an associated data processing unit 400 and an authentication tag generation processing unit 500 in addition to the components of the encryption device 100 of the first embodiment. The round functions used in each unit include an external input. The initialization processing unit 200 uses an additional input as the external input of the round function. The additional input may be a fixed value or a bit string of 0 or 1.
[0034] The related data processing unit 400 uses related information as an external input of the round function. The related information is information specified by the user, and may be a session number or a sequence number, or may be an all-zero value. Furthermore, inputting related information is not essential, and the round function of the related data processing unit 400 may have no external input, similar to the round function of the first embodiment.
[0035] In the encryption processing unit 300, a plaintext is used as an external input of the round function. The authentication tag generation processing unit 500 uses an additional input as an external input of the round function. This additional input may be a fixed value, as in the initialization processing unit 200, or may be a bit string of 0 or 1.
[0036] The hardware configuration of the encryption device 900 of the second embodiment is similar to the hardware configuration of the encryption device 100 of the first embodiment, and therefore a description thereof will be omitted.
[0037] Fig. 7 shows a detailed configuration of the encryption device 900 of the embodiment 2. The input from above the round function in Fig. 7 is the external input.
[0038] In the initialization processing unit 200, the internal state is mixed up by applying the round function to the internal state multiple times. The adder 40 in Fig. 7 is a combination of the adders 41 to 44 in the first embodiment. The adder 40 in Fig. 7 is not essential, and the configuration may be such that the adder 40 is omitted.
[0039] The related data processing unit 400 repeatedly applies the round function and updates the internal state until all related information is input to the round function.
[0040] In the encryption processing unit 300, the exclusive-OR calculators 61 to 6n calculate the exclusive-OR between the key stream extracted from the internal state and the plain text to obtain a cipher text, which is the same as in the first embodiment. In the encryption processing unit 300, a round function is applied every time a key stream is extracted, and the internal state is updated. In extracting the key stream, a configuration using a key stream generation function composed of a nonlinear function or a logical operation is also possible.
[0041] In the authentication tag generation processing unit 500, the internal state is mixed by applying the round function to the internal state multiple times, and an authentication tag is obtained as the internal state after updating the round function 8q of the last stage of the authentication tag generation processing unit 500. For extraction of the authentication tag, it is also possible to use an authentication tag generation function composed of a nonlinear function or a logical operation.
[0042] Fig. 8 shows an example of the configuration of a round function having an external input. In this configuration, as in the first embodiment, it is possible to change the number of parallel processes and adjust the ratio of nonlinear functions and logical operations based on configuration designation data input from outside the encryption device 900 or stored in the storage unit 20 of the encryption device 900. Fig. 8 is merely an example of the configuration of a round function having an external input, and the external input may be input to a logical operation.
[0043] The ciphertext and authentication tag thus generated (the authentication tag generated by the encryption device 900 will be referred to as "authentication tag A") are sent to the receiving side via the communication system. The receiving side generates an authentication tag by performing a predetermined process using the received ciphertext and a key shared with the sending side. This authentication tag generated by the receiving side is called "authentication tag B." By verifying that authentication tag B matches authentication tag A, it is possible to verify that the received message has not been tampered with.
[0044] The parallel numbers of processes in the round functions shown in the first and second embodiments, "4" and "2", are merely examples, and may be any number, such as "5", "8", or "13". The ratios of nonlinear functions and logical operations shown in the first and second embodiments, "1:1", "1:3", and "3:1", are merely examples, and any ratio, such as "1:9" or "4:5", may be used.
[0045] As described above, according to the present invention, it is possible to develop a stream cipher and an authenticated cipher that can be customized to meet performance requirements. Furthermore, according to the present invention, by adjusting the number of parallel processes in the round function and the ratio of nonlinear functions to logical operations, it is possible to tune performance, power consumption, and safety. Furthermore, when the AES round function is used as a nonlinear function, high-speed processing can be expected by utilizing the AES hardware instructions.
[0046] The present invention makes it possible to provide an encryption device that can be customized to meet the requirements of each device, such as smartphones and PCs that perform "ultra-high-speed, large-volume" communications, and IoT devices that need to minimize power consumption. This will enable the company to contribute to Goal 9 of the United Nations' Sustainable Development Goals (SDGs), which is to "build resilient infrastructure, promote inclusive and sustainable industrialization, and foster innovation." [Explanation of symbols]
[0047] 100 Encryption device 200 Initialization processing section 300 Encryption processing unit 400 Related Data Processing Unit 500 Authentication tag generation processing unit 600 Internal state before update 700 Internal state after update 900 Encryption device
Claims
1. an initialization processing unit including a round function and mixing an internal state; an encryption processing unit including a round function, which mixes an internal state and generates a ciphertext by calculating an exclusive OR of a key stream extracted from the mixed internal state and a plaintext; An encryption device comprising: An encryption device that customizes the round functions based on configuration specification data.
2. The encryption device according to claim 1 , wherein the configuration designation data designates a parallel number of processes in the round function.
3. The encryption device according to claim 1 , wherein the configuration designation data designates a ratio of a nonlinear function to a logical operation in the round function.
4. an authentication tag generation processing unit provided downstream of the encryption processing unit; the round function has an external input; 4. The encryption device according to claim 1, wherein the authentication tag generation processing unit generates an authentication tag by inputting a plain text as the external input to the encryption processing unit.
5. An initialization process step of mixing an internal state by a round function; an encryption processing step of mixing an internal state by a round function and generating a ciphertext by calculating an exclusive OR of a key stream extracted from the mixed internal state and a plaintext; An encryption method comprising: A method of encryption whereby said round functions are customized based on configuration specific data.
6. An encryption program for causing a computer to function as the encryption device according to any one of claims 1 to 3.
Citation Information
Patent Citations
Encryption device and encryption method
JP1997251267A
Ciphering method and decoding method and ciphering device and decoding device
JP1998232606A
Encryption processing device, encryption processing method, and computer program
JP2005134477A
