(19)
(11)EP 2 693 682 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
31.05.2017 Bulletin 2017/22

(21)Application number: 12764563.8

(22)Date of filing:  20.02.2012
(51)International Patent Classification (IPC): 
H04L 9/06(2006.01)
G09C 1/00(2006.01)
(86)International application number:
PCT/JP2012/053932
(87)International publication number:
WO 2012/132622 (04.10.2012 Gazette  2012/40)

(54)

DATA PROCESSING DEVICE, DATA PROCESSING METHOD, AND PROGRAMME

DATENVERARBEITUNGSVORRICHTUNG, DATENVERARBEITUNGSVERFAHREN UND PROGRAMM DAFÜR

DISPOSITIF DE TRAITEMENT DE CHIFFREMENT, PROCÉDÉ DE TRAITEMENT DE CHIFFREMENT, ET PROGRAMME


(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(30)Priority: 28.03.2011 JP 2011069184
22.09.2011 JP 2011207704

(43)Date of publication of application:
05.02.2014 Bulletin 2014/06

(73)Proprietor: Sony Corporation
Tokyo 108-0075 (JP)

(72)Inventors:
  • SHIBUTANI, Kyoji
    Tokyo 108-0075 (JP)
  • AKISHITA, Toru
    Tokyo 108-0075 (JP)
  • ISOBE, Takanori
    Tokyo 108-0075 (JP)
  • SHIRAI, Taizo
    Tokyo 108-0075 (JP)
  • HIWATARI, Harunaga
    Tokyo 108-0075 (JP)
  • MITSUDA, Atsushi
    Tokyo 108-0075 (JP)

(74)Representative: D Young & Co LLP 
120 Holborn
London EC1N 2DY
London EC1N 2DY (GB)


(56)References cited: : 
FR-A1- 2 920 617
US-B1- 6 201 869
JP-A- 11 024 558
  
  • "Universal Mobile Telecommunications System (UMTS); LTE; Specification of the 3GPP confidentiality and integrity algorithms; Document 2: Kasumi specification (3GPP TS 35.202 version 9.0.0 Release 9)", TECHNICAL SPECIFICATION, EUROPEAN TELECOMMUNICATIONS STANDARDS INSTITUTE (ETSI), 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS ; FRANCE, no. V9.0.0, 1 February 2010 (2010-02-01), XP014045969,
  • MATSUI M: "New block encryption algorithm MISTY", PROCEEDINGS OF FAST SOFTWARE ENCRYPTION WORKSHOP, XX, XX, 1 January 1997 (1997-01-01), pages 54-68, XP002367857,
  • CANRIGHT D ED - JOSYULAR RAO ET AL: "A Very Compact S-Box for AES", 29 August 2005 (2005-08-29), CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2005 LECTURE NOTES IN COMPUTER SCIENCE;;LNCS, SPRINGER, BERLIN, DE, PAGE(S) 441 - 455, XP047029426, ISBN: 978-3-540-28474-1 * sections 1.1 and 2.1; figures 2,3 *
  • DAEMEN, J. ET AL.: 'The NOEKEON Block Cipher' NESSIE PROPOSAL 13 November 2000, XP055128814
  • STANDAERT F.-X. ET AL.: 'SEA:A Scalable Encryption Algorithm for Small Embedded Applications' LECTURE NOTES IN COMPUTER SCIENCE vol. 3928, 28 March 2006, pages 222 - 236, XP019029958
  • SHIBUTANI, K. ET AL.: 'Piccolo: An Ultra- Lightweight Blockcipher' LECTURE NOTES IN COMPUTER SCIENCE vol. 6917, 27 September 2011, pages 342 - 357, XP019166866
  • Anonymous: "digital logic - Preference of NAND & NOR gates - Electrical Engineering Stack Exchange", , 1 June 2015 (2015-06-01), XP055274829, Retrieved from the Internet: URL:http://electronics.stackexchange.com/q uestions/72806/preference-of-nand-nor-gate s [retrieved on 2016-05-24]
  • WOLKERSTORFER J ET AL: "An ASIC Implementation of the AES Sboxes", SECURITY IN COMMUNICATION NETWORKS : THIRD INTERNATIONAL CONFERENCE ; REVISED PAPERS / SCN 2002, AMALFI, ITALY, SEPTEMBER 11 - 13, 2002; [LECTURE NOTES IN COMPUTER SCIENCE , ISSN 0302-9743], SPRINGER VERLAG, DE, vol. 2271, 1 January 2002 (2002-01-01), pages 67-78, XP002315433, DOI: 10.1007/3-540-45760-7_6 ISBN: 978-3-540-24128-7
  
Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


Description

Technical Field



[0001] The present technology is related to a data processing device, a data processing method, and a program. More specifically, the present technology is related to a data processing device, a data processing method, and a program executing a shared key type of encryption, for example.

Background Art



[0002] As information-oriented societies progress, the demand for information security technologies to safely protect the information used continues to increase. One configuration element of information security technologies is encryption technology, and these encryption technologies are currently used in various products and systems.

[0003] There are many different encryption processing algorithms, and one basic example of such a technology is what is known as a shared key block cipher. There are two shared keys with the shared key block cipher, an encryption key and a decryption key. During encryption and decryption processing, multiple keys are generated from the shared keys and data transformation processing is repeatedly executed in units of block data sizes such as 64-bit, 128-bit, and 256-bit block units, for example.

[0004] The most common of these shared key block cipher algorithms known are the Data Encryption Standard (DES), which was the previous US standard, and the Advanced Encryption Standard (AES), which is the current US standard. Many other shared key block ciphers exist or have been proposed, including the CLEFIA shared key block cipher proposed by Sony Corporation in 2007.

[0005] This kind of shared key block cipher algorithm is mainly configured with an encryption processing part including a round function executing unit for repeatedly executing input data transformations and a key scheduling part for generating round keys applied to each round of the round function unit. The key scheduling part generates an expanded key with increased bit counts based on a master secret key (main key), and then generates round keys (secondary keys) applied for each round function unit of encryption processing part based on the generated expanded key.

[0006] A commonly known specific structure for executing this kind of algorithm repeatedly executes a round function that includes a linear conversion unit and a non-linear conversion unit. The most common of this kind of structure is the Feistel structure and the generalized Feistel structure, for example. The Feistel structure and the generalized Feistel structure converts plaintext into ciphertext by a simple repetition of a round function that includes an F function functioning as a data transformation function. The F function executes linear conversion processing and non-linear conversion processing. Further details disclosing encryption processing applying the Feistel structure may be found in NPL 1 and NPL 2, for example.

[0007] The non-linear conversion processing executed in the F function is performed, for example, applying a non-linear conversion function called an S-box. This S-box is a configuration element of block ciphers and hash functions, and is an extremely important function in determining security and implementation performance.

[0008] This S-box is required for a high level of security. However, there is a problem in which the circuit scale becomes significant in order to ensure a high level of security.

Citation List



[0009] 

NPL 1: K. Nyberg, "Generalized Feistel Networks", ASIACRYPT' 96, SpringerVerlag, 1996, pp. 91 - 104.

NPL 2: Yuliang Zheng, Tsutomu Matsumoto, Hideki Imai: On the Construction of Block Ciphers Provably Secure and Not Relying on Any Unproved Hypotheses. CRYPTO 1989: 461 - 480.

NPL 3: US National Institute of Standards and Technology Advanced Encryption Standard, Federal Information Processing Standards Publications No. 197, 2001.

NPL 4: Aoki, Ichikawa, Kanda, Matsui, Moriai, Nakajima, Tokita, "128-bit Block Encryption Camellia Algorithm Specification", Version 2.0, 2001.

NPL 5: Chae Hoon Lim, "CRYPTON: A New 128-bit Block Cipher-Specification and Analysis (Version 0.5)".

NPL 6: Chae Hoon Lim, "CRYPTON: A New 128-bit Block Cipher-Specification and Analysis (Version 1.0)".

NPL 7: Paulo S. L. M Barreto, Vincent Rijmen "The WHIRLPOOL Hashing Function", 2003.

NPL 8: Pascal Junod and Serge Vaudenay, "FOX: a New Family of Block Ciphers", 2004.

NPL 9: Sony Corporation, "The 128-bit Blockcipher CLEFIA Algorithm Specification", Revision 1.0, 2007.



[0010] "universal Mobile Telecommunications System (UMTS); LTE; specification of the 3GPP confidentiality and integrity algorithms; Document 2: Kasumi specification (3GPP TS 35.202 version 9.0.0 Release 9)", Technical Specification, European Telecommunications Standards Institute (ETSI), discloses a standard for a non-linear conversion process suitable for the Advanced Encryption Standard and the like. Matsui, M: "New block encryption algorithm MISTY", Proceedings of Fast Software Encryption Workshop, 1 January 1997, pp54-68, similarly discloses a nonlinear conversion process. US 6201869 again discloses a nonlinear conversion process.

Summary of Invention


Technical Problem



[0011] The present disclosure is the result of considering the previously described situation, and aims to provide a data processing device, a data processing method, and a program provisioned with a miniaturizable S-box having a high level of security.

Solution to Problem



[0012] A first aspect of the present disclosure is a data processing device comprising a data conversion processing unit configured to divide and input configuration bits of data to be processed into a plurality of lines, and to repeatedly execute a data conversion processing as to the data in each line; wherein the data conversion processing unit includes an F function executing unit configured to input one line of data configuring the plurality of lines, and to generate conversion data; wherein the F function executing unit includes a non-linear conversion processing unit configured to execute a non-linear conversion processing; wherein the non-linear conversion processing unit includes a repeating structure of a bit replacement unit and a non-linear calculation unit; wherein the plurality of non-linear calculation units included in the repeating structure include at least two or more different non-linear calculation units having different calculation configurations, being either one NAND or NOR calculation unit and either one XOR or XNOR calculation unit; wherein the non-linear conversion processing unit is configured to output one bit of the calculation result from either the NAND or the NOR calculation unit with 2-bit input and 1-bit output to either the XOR
or the XNOR calculation unit, configured to execute either the XOR or the XNOR calculation with the other one bit of input data, and configured to output the 1-bit data generated from the calculation result of either the XOR or the XNOR as the configuration bit as the non-linear conversion processing result; wherein each respective non-linear calculation unit included in the repeating structure is a calculation unit configured of either one NAND or NOR calculation unit and either one XOR or XNOR calculation unit; and wherein the repeating structure of the non-linear conversion processing unit is a configuration including both a non-linear portion with a XOR calculation unit and a non-linear portion with a XNOR calculation unit.

[0013] Regarding an embodiment of the data processing device according to the present disclosure, the bit replacement unit includes a wiring configuration configured to shuffle the input and output bits corresponding to the non-linear calculation unit.

[0014] Regarding an embodiment of the data processing device according to the present disclosure, the non-linear conversion processing unit outputs one bit of the calculation result from either the NAND or the NOR calculation unit with 2-bit input and 1-bit output to either the XOR or the XNOR calculation unit, executes either the XOR or the XNOR calculation with the other one bit of input data, and outputs the 1-bit data generated from the calculation result of either the XOR or the XNOR as the configuration bit as the non-linear conversion processing result.

[0015] Regarding an embodiment of the data processing device according to the present disclosure, the non-linear conversion processing unit includes a repeating structure in which the non-linear calculation unit is repeating at least an n number of times regarding the configuration to output the non-linear conversion result of n bits of data.

[0016] Regarding an embodiment of the data processing device according to the present disclosure, the non-linear conversion processing unit is a configuration in which the non-linear calculation unit is set for an n number of times and the bit replacement unit is set for an n-1 number of times between the non-linear calculation unit for an n number of times regarding the configuration to output the non-linear conversion result of n bits of data.

[0017] Regarding an embodiment of the data processing device according to the present disclosure, the non-linear conversion processing unit generates the calculation result for either the XOR or the XNOR calculation result from the calculation result of either the one NAND or the NOR calculation unit corresponding to all configuration bits of the data to be non-linearly converted, and outputs either the XOR or the XNOR calculation result as the configuration bit of the non-linear conversion result.

[0018] Regarding an embodiment of the data processing device according to the present disclosure, the data processing device executes encryption processing to convert plaintext as input data into ciphertext, and to execute decryption processing to convert ciphertext as input data into plaintext.

[0019] Further, a second aspect of the present disclosure is a data processing method to be executed in a data processing device; wherein a data processing unit (703) divides and inputs configuration bits of data to be processed into a plurality of lines, and repeatedly executes a data conversion processing as to the data in each line; wherein the data conversion processing executes an F function configured to input one line of data configuring the plurality of lines, and generates conversion data; wherein the execution processing of the F function executes a non-linear conversion processing; wherein the non-linear conversion processing unit includes a repeating structure of a bit replacement unit and a non-linear calculation unit; and wherein the plurality of non-linear calculation units included in the repeating structure include at least two or more different non-linear calculation units having different calculation configurations, being either one NAND or NOR calculation unit and either one XOR or XNOR calculation unit; wherein the non-linear conversion processing unit outputs one bit of the calculation result from either the NAND or the NOR calculation unit with 2-bit input and 1-bit output to either the XOR or the XNOR calculation unit, executes either the XOR or the XNOR calculation with the other one bit of input data, and outputs the 1-bit data generated from the calculation result of either the XOR or the XNOR as the configuration bit as the non-linear conversion processing result; wherein each respective non-linear calculation unit included in the repeating structure is a calculation unit configured of either one NAND or NOR calculation unit and either one XOR or XNOR calculation unit; and wherein the repeating structure of the non-linear conversion processing unit is a configuration including both a non-linear portion with a XOR calculation unit and a non-linear portion with a XNOR calculation unit.

[0020] Further, a third aspect of the present disclosure is a program to execute data conversion processing in a data processing device in accordance with the method of the second aspect.

[0021] Further, the program according to the present disclosure is a program supplied to a computer system or information processing device capable of executing various program code, for example, by a recording medium, for example. The processing is achieved through the program by executing this kind of program with program executing unit in the information processing device or computer system.

[0022] Other objects, features, and advantages of the present disclosure will become clear by the detailed descriptions based on the embodiments of the present invention described later and the attached drawings. Further, the system regarding the present specification is a logical combination configuration of multiple devices, and so each configuration of the devices is not limited to being housed within the same physical unit.

Advantageous Effects of Invention



[0023] According to an embodiment of the present disclosure, a miniaturized non-linear conversion unit is achieved.

[0024] Specifically, included is an encryption processing part configured to divide and input configuration bits of data to be processed into a plurality of lines, and to repeatedly execute a data conversion processing applying a round function as to the data in each line, wherein the encryption processing part includes an F function executing unit configured to input one line of data configuring the plurality of lines, and to generate conversion data, wherein the F function executing unit includes a non-linear conversion processing unit configured to execute a non-linear conversion processing, and wherein the non-linear conversion processing unit includes a repeating structure of a non-linear calculation unit made up from either one NAND or NOR, and either one XOR or XNOR calculation unit, and a bit replacement unit. The miniaturized non-linear conversion unit is achieved by this repeating configuration.

Brief Description of Drawings



[0025] 

[Fig. 1] Fig. 1 is a diagram describing an n-bit shared key block encryption algorithm corresponding to a key length of k bits.

[Fig. 2] Fig. 2 is a diagram describing a decryption algorithm corresponding to the n-bit shared key block encryption algorithm corresponding to a key length of k bits, illustrated in Fig. 1.

[Fig. 3] Fig. 3 is a diagram describing a relationship between a key scheduling part and a data encryption unit.

[Fig. 4] Fig. 4 is a diagram describing an example configuration of the data encryption unit.

[Fig. 5] Fig. 5 is a diagram describing an example of an SPN structure round function.

[Fig. 6] Fig. 6 is a diagram describing an example of a Feistel structure round function.

[Fig. 7] Fig. 7 is a diagram describing an example of an expanded Feistel structure.

[Fig. 8] Fig. 8 is a diagram describing an example of an expanded Feistel structure.

[Fig. 9] Fig. 9 is a diagram describing an example configuration of a non-linear conversion unit.

[Fig. 10] Fig. 10 is a diagram describing an example configuration of a linear conversion processing unit.

[Fig. 11] Fig. 11 is a diagram describing an example configuration for generating a large S-box by combining multiple units of S-boxes having small size input/output.

[Fig. 12] Fig. 12 is a diagram describing an example configuration for generating a large S-box by combining multiple units of S-boxes having small size input/output.

[Fig. 13] Fig. 13 is a diagram describing an example configuration for generating a large S-box by combining multiple units of S-boxes having small size input/output.

[Fig. 14] Fig. 14 is a diagram describing an example configuration for generating a large S-box by combining multiple units of S-boxes having small size input/output.

[Fig. 15] Fig. 15 is a diagram describing an example configuration for generating a large S-box by combining multiple units of S-boxes having small size input/output.

[Fig. 16] Fig. 16 is a diagram describing an example configuration of a 4-bit S-box from a repeating structure of a logical calculation and a bit replacement.

[Fig. 17] Fig. 17 is a diagram describing an example configuration of a 4-bit S-box from a repeating structure of a logical calculation and a bit replacement.

[Fig. 18] Fig. 18 is a diagram describing an example configuration of a 4-bit S-box from a repeating structure of a logical calculation and a bit replacement.

[Fig. 19] Fig. 19 is a diagram describing an example configuration of a 4-bit S-box from a repeating structure of a logical calculation and a bit replacement.

[Fig. 20] Fig. 20 is a diagram describing an example configuration of a 4-bit S-box from a repeating structure of a logical calculation and a bit replacement.

[Fig. 21] Fig. 21 is a diagram describing an example configuration of a 5-bit S-box from a repeating structure of a logical calculation and a bit replacement.

[Fig. 22] Fig. 22 is a diagram describing an example configuration of a large S-box from a repeating processing using a small S-box based on a type-I GFN (Generalized Feistel Network).

[Fig. 23] Fig. 23 is a diagram describing an example configuration of a large S-box from a repeating processing using a small S-box based on a type-II GFN.

[Fig. 24] Fig. 24 is a diagram describing an example of applying a configuration of a large S-box from a repeating processing using a small S-box.

[Fig. 25] Fig. 25 is a diagram describing an example of applying a configuration of a large S-box from a repeating processing using a small S-box.

[Fig. 26] Fig. 26 is a diagram describing an example of applying a configuration of a large S-box from a repeating processing using a small S-box.

[Fig. 27] Fig. 27 is a diagram describing an example of applying a configuration of a large S-box from a repeating processing using a small S-box.

[Fig. 28] Fig. 28 is a diagram describing an example of applying a configuration of a large S-box from a repeating processing using a small S-box.

[Fig. 29] Fig. 29 is a diagram illustrating an example configuration of an IC module 700 as the encryption processing device. Description of Embodiments



[0026] Hereafter, a data processing device, a data processing method, and a program related to the present disclosure will be described in detail with reference to the drawings. The description will occur according to the following items.
  1. 1. Shared Key Block Encryption Overview
  2. 2. S-boxes
  3. 3. Overview of the S-box Related to the Present Disclosure
  4. 4. Configuration Examples of Encryption Processing Devices
  5. 5. Conclusion Regarding Configuration of the Present Disclosure

[1. Shared Key Block Encryption Overview]



[0027] First, an overview of shared key block encryption will be described.

(1-1. Shared Key Block Encryption)



[0028] The following definition specifies that which designates shared key block encryption here (hereafter, block encryption).

[0029] Block encryption obtains a plaintext P and a key K as input, and outputs a ciphertext C. The bit length of the plaintext and the ciphertext is called a block size, which is written as n. n is an arbitrary integer value that is normally one value determined beforehand for each block encryption algorithm. This case in which the block length is an n block encryption is sometimes called an n-bit block encryption.

[0030] The bit length of the key is expressed as k. The key has an arbitrary integer value. The shared key block encryption algorithm can support one or multiple key sizes. For example, for some block encryption algorithm A, the block size is n=128, and so a configuration is possible which supports a key size of k=128, k=192, or k=256.

Plaintext P: n bits

Ciphertext C: n bits

Key K: k bits



[0031] Fig. 1 illustrates a diagram of an n-bit shared key block encryption algorithm E corresponding to a key length of k bits.

[0032] A decryption algorithm D corresponding to the encryption algorithm E can be defined as an inversion function E-1 of the encryption algorithm E, which receives the ciphertext C and key K as the input, and outputs the plaintext P. Fig. 2 illustrates a diagram of the decryption algorithm D corresponding to the encryption algorithm E illustrated in Fig. 1.

(1-2. Internal Configuration)



[0033] The block encryption thought of as a division into two portions. One is a "key scheduling part" to which the key K is input, and outputs an expanded key K' (bit length k') by expanding the bit length according to certain previously determined steps, and the other is a "data encryption unit" that receives the plaintext P and the key K' expanded from the key scheduling part, performs a data conversion, and outputs the ciphertext C.

[0034] The relationship between these two portions is illustrated in Fig. 3.

(1-3. Data Encryption Unit)



[0035] The data encryption unit used in the following embodiments can be divided into processing units called round functions. The round function receives two units of data as the input, conducts processing internally, and outputs one unit of data. One part of the input data is an n-bit data currently being encrypted, which results in a configuration in which the output from the round function for some round is supplied as the input for the next round. The other part of the input data is used as data for a portion of the expanded key output from the key scheduler, and this key data is called the round key. Also, the total number of round functions is called the total round number, and is a value determined beforehand for each encryption algorithm. Here, the total round number is expressed as R.

[0036] An overview of the data encryption unit is illustrated as in Fig. 4 when looking from the input side of the data encryption unit in which the input data for the first round is designated as X1, the data input in the round function for an i number of rounds is designated as Xi, and the round key is designated as RKi.

(1-4. Round Function)



[0037] The round function can have various forms depending on the block encryption algorithm. The round function can be classified by the structure adopted by this encryption algorithm (structure). Typical structures used here as examples are SPN structures, Feistel structures, and expanded Feistel structures.

(A) SPN Structure Round Function



[0038] This structure applies linear conversion processing, non-linear conversion, and XOR calculations on the round key and all of the n-bit input data. The order of each calculation is not particularly determined. Fig. 5 illustrates an example of an SPN structure round function.

(B) Feistel Structure



[0039] The n-bit input data is divided into two units of n/2-bit data. A function (F function) is applied with one part of this data and the round key as the input, and the output and the other part of the data is XOR calculated. The result of shuffling both sides of this data becomes the output data. Though there are various types of internal configuration of the F function, but these are basically achieved similarly to the SPN structure with a combination of XOR calculations with the round key data, non-linear calculations, and linear conversions. Fig. 6 illustrates an example of a Feistel structure round function.

(C) Expanded Feistel Structure



[0040] The data division number of two regarding the Feistel structure is expanded into a format of three or more divisions with the expanded Feistel structure. If the division number is designated as d, then various expanded Feistel structures can be defined depending on d. As the size if the F function input and output is relatively smaller, this is suited for small implementations. Fig. 7 illustrates an example of an expanded Feistel structure in which d=4, and two F functions are applied in parallel within one round. Also, Fig. 8 illustrates an example of an expanded Feistel structure in which d=8, and one F function is applied within one round.

(1-5. Non-linear Conversion Processing Unit)



[0041] The implementation costs tend to increase as the size of the input data increases for non-linear conversion processing units. In order to circumvent this, many configurations are used in which the corresponding data is divided into multiple units, and non-linear conversion is conducted on this data. For example, when the input size is designated as ms bits, these configurations divide an m number of data units every s bits, and perform non-linear conversions on this data in which the input and output is s bits. The non-linear conversions in these s-bit units are called S-boxes. Fig. 9 illustrates an example.

(1-6. Linear Conversion Processing Unit)



[0042] Linear conversion processing units can be defined as matrices considering their nature. The elements of the matrix can generally be expressed in various ways such as a body element of GF (28) and an element of GF (2). Fig. 10 illustrates an example of a linear conversion processing unit defined by a matrix of m × m, which defines the ms-bit input and output as GF (2s).

[2. S-boxes]



[0043] First, an overview of S-boxes as non-linear conversion units will be described before the description of the configuration according to the present invention.

[0044] The non-linear conversion processing executed in the F function is performed, for example, applying a non-linear conversion function called an S-box. This S-box is a configuration element of block ciphers and hash functions, and is an extremely important function for determining the level of security and implementation performance.

[0045] Generally, this S-box is a non-linear conversion function has an n-bit input and an m-bit output, but the description will continue hereafter discussing a bijective S-box with an n-bit input and output. Here, bijective means that all output values are mapped from one input value.

(Security Perspective)



[0046] The nature of the S-box imparts a significant influence on the level of security for the overall encryption. An exact evaluation of the level of security regarding the overall encryption and round function itself is generally difficult as the size of the input and output is significant, but an exact evaluation is possible as the input and output size of the S-box is generally smaller (input and output of approximately eight bits). In order to increase the level of security of the overall encryption, at least the following properties (1) through (4) are desirable in the S-box.

(Property 1) The maximum difference probability must be sufficiently small



[0047] When an input variable x is uniformly selected regarding an arbitrary input difference Δx and an output difference Δy, the difference probability of the S-box is
the probability which satisfies S(x) + S(x+Δx) = Δy.

[0048] However, S(x) represents the output corresponding to an input x for some S-box S.

[0049] The maximum difference probability is defined as the highest probability from the combinations of all input and output differences. Each will be defined below with Expressions.

[0050] If the difference probability of a function S when provided with the input difference Δx and the output difference Δy is defined as DPs (Δx, Δy), then DPs (Δx, Δy) is defined as follows.
[Math. 1]

where ⊕ represents the XOR in increments of bits.

[0051] At this time, the maximum difference probability MDPs for the function is defined as follows.
[Math. 2]



[0052] This difference probability can have resistance against difference attacks by designing a sufficiently small S-box.

(Property 2) The maximum linear probability must be sufficiently small



[0053] When the input variable x is uniformly selected regarding an arbitrary input mask Γx and an output mask Γy, the S-box linear probability is the value obtained from the probability that satisfies Γx · x=Γy · S(x) ...(2).

[0054] Here, · means the internal multiplication between the n-bit vectors.

[0055] The maximum linear probability is defined as the highest probability from the combination of all input and output masks.

[0056] The following defines each of these as an expression.

[0057] If the linear probability of the function S when provided
the input mask Γx and
the output mask Γy
are defined as LPs(Γx, Γy),
then LPs(Γx, Γy) can be expressed as follows.
[Math. 3]



[0058] Here, the maximum difference probability MLPs for the function S is defined as follows.
[Math. 4]



[0059] This maximum linear probability can have a resistance against linear attacks by designing a sufficiently small S-box.

(Property 3) The Boolean algebra degree must be sufficiently large when performing a Boolean polynomial expression.



[0060] The Boolean algebra degree means the degree when expressing the S-box output bits as Boolean input bits. By designing an S-box with a sufficiently high Boolean algebra degree regarding all bits, it is possible to have resistance against attacks using the algebraic nature of higher differential attacks or similar.

(Property 4) The number of terms must be sufficiently large when performing a polynomial expression on the input and output.



[0061] By sufficiently increasing the number of terms when performing polynomial expressions of the S-box output bits with the input bits, it is possible to have resistance against interpolation attacks.

(Implementation Perspective)



[0062] Besides a requirement for a level of security, S-boxes are required to have high implementation performance. Software implementations are normally implemented by a technique called table lookup (table implementation), and so this implementation performance is not particularly dependent on the internal structure of the S-box. However, the implementation performance is significantly affected by the internal structure of the S-box for hardware implementations. Thus, the internal structure of the S-box can be particularly important for hardware implementation capabilities.

(Problems with the Technology According to the Related Art)



[0063] As a technique for efficiently generating an S-box satisfying these requirements, a method using an exponential function regarding the extension field is well known. If the multiplier for the exponent and the degree for the extension field are suitably selected by this technique, an S-box with exceptionally advantageous properties can be generated.

[0064] When the actual n-bit input and output of the S-box is based on GF(2n) with x as the input and y as the output, this may be expressed as follows.



[0065] When this is so provided,
it is well known that an S-box can be configured with an optimal maximum difference probability and a maximum linear probability (however, it is necessary to add a suitable affine transformation as the number of terms becomes small when using this technique to perform polynomial expressions on the input and output).

[0066] The S-boxes regarding AES (NPL 3: US National Institute of Standards and Technology Advanced Encryption Standard, Federal Information Processing Standards Publications No. 197, 2001.) and Camellia (NPL 4: Aoki, Ichikawa, Kanda, Matsui, Moriai, Nakajima, Tokita, "128-bit Block Encryption Camellia Algorithm Specification", Version 2.0, 2001.) serves as examples of the S-box configured by this kind of technique.

[0067] As the S-box can be configured as an inverse function of GF((24)2), properties from a security perspective are extremely advantageous, which enables the S-box of AES and Camellia to have even more so an extremely high hardware implementation performance.

[0068] However, recently problems such as attacks using this characteristic algebraic nature regarding this kind of S-box and problems related to this overly homogenous diffusivity have been identified.

[0069] A configuration method for S-boxes which do not have a characteristically algebraic nature has been conceived from these problems, and a method has been conceived to generate S-boxes randomly so as not to have a strong algebraic structure, or by a technique to select an element by a technique equivalent as such. If the S-box is generated by this kind of technique, in most cases there will be no characteristically algebraic structure, and there will also be no homogenous diffusion such as exponential functions regarding extensions fields, and so this can be said to be a countermeasure against the problems described beforehand.

[0070] However, as the number is S-box inputs and outputs of n bits is dependent on the factorial of 2n, it is difficult to actually generate the S-box with inputs and outputs of n bits randomly to efficiently generate an S-box with advantageous properties by somewhat increasing n with a technique such as checking these properties one by one.

[0071] Also, when elements are completely random, implementation efficiency decreases significantly as only techniques called table implementations can be mainly used for hardware implementations.

[0072] In light of this problem, there has been attempts to generate randomly generated S-boxes with input and output that are small in size, and combining a plurality thereof to generate a larger S-box.

[0073] For example, the S-boxes specified in CRYPTON Ver. 0.5 (NPL 5: Chae Hoon Lim, "CRYPTON: A New 128-bit Block Cipher-Specification and Analysis (Version 0.5)"), CRYPTON Ver. 1.0 (NPL 6: Chae Hoon Lim, "CRYPTON: A New 128-bit Block Cipher-Specification and Analysis (Version 1.0)"), Whirlpool (NPL 7: Paulo S. L. M Barreto, Vincent Rijmen "The WHIRLPOOL Hashing Function", 2003), FOX (NPL 8: Pascal Junod and Serge Vaudenay, "FOX: a New Family of Block Ciphers", 2004), and CLEFIA (NPL 9: Sony Corporation, "The 128-bit Blockcipher CLEFIA Algorithm Specification", Revision 1.0, 2007) can be considered as examples of S-boxes generated based on this kind of technique.

[0074]  These structures are illustrated in Fig. 11 through Fig. 15. These structures have smaller table sizes and therefore lower hardware implementation costs when compared to a case in which large S-boxes are generated randomly as described beforehand.

[0075] Fig. 11 is a configuration for executing non-linear conversion processing on 8-bit input data.

[0076] Each of three S-boxes for executing non-linear conversion processing using 4-bit data: S40, S41, and S42,
includes three positional logical calculating units for executing XOR calculations on the four bits of output from each S-box and the other four bits.

[0077] The 8-bit input data are input into a left line input and a right line input every four bits.

[0078] The 8-bit data as the result of the non-linear conversion of the three S-boxes: S40, S41, and S42, are output from the left line output and the right line output every four bits.

[0079] The processing is executed according to the following processing sequence.
  1. (1) Four bits of the eights bits of input (right line input) is input into the first round S-box: S40, and the non-linear conversion is executed.
    An XOR calculation is performed on this non-linear conversion result and the other four bits from the eight bits of input (left line input).
  2. (2) This XOR calculation result is input into the second round S-box: S41, and the non-linear conversion is executed.
    An XOR calculation is performed on this non-linear conversion result and four bits from the eight bits of input (right line input).
    The XOR calculation result is output as the four bits from the output of eight bits (right line output).
  3. (3) Further, this XOR calculation result is input into the third round S-box: S42, and the non-linear conversion is executed.


[0080] An XOR calculation is performed on this non-linear conversion result and the XOR calculation result regarding the processing (1) described beforehand, and this result is output as four bits of the output of eight bits (Out-a).

[0081] Fig. 11 is a configuration for executing a non-linear conversion processing of 8-bit input data by the processing described beforehand.

[0082] The configuration illustrated in Fig. 12 is configured from
S-boxes: S40 and S41 for executing non-linear conversion of 4-bit data,
a calculation executing unit for executing XOR calculations in units of two to three bits as to the 4-bit output from each S-box,
and non-linear conversion units: S41-1 and S40-1 for executing an inverse calculation to the previous S-boxes: S40 and S41 as to the output from the calculation executing unit.

[0083] The configuration illustrated in Fig. 13 is a configuration of a non-linear conversion processing configured by a combination of
S-boxes: S40 and S42 for executing non-linear conversion of 4-bit data,
a non-linear conversion unit: S41-1 for executing an inverse calculation to the S-box: S41,
and multiple XOR calculation units.

[0084] Fig. 14 is a configuration of a non-linear conversion processing configured by a combination of
S-boxes: S40, S41, and S42 for executing non-linear conversion of 4-bit data,
multiple XOR calculation units,
and multiple OR calculation units.

[0085] Fig. 15 is a configuration of a non-linear conversion processing configured by a combination of
S-boxes: SS0, SS1, SS2, and SS3 for executing non-linear conversion of 4-bit data,
and a matrix conversion executing unit for executing data conversion by applying a 2x2 matrix (MDS matrix).

[0086] In this way, several methods for configuring large S-boxes based on small S-boxes as illustrated in Fig. 11 through Fig. 15 have been proposed according to the related art. These kinds of configurations have smaller table sizes, and hardware implementation costs are decreased as compared to a case when generating large S-boxes randomly.

[0087] However, according to the configuration methods based on small S-boxes according to the related art in this way, there are problems regarding the method to design small S-boxes and the method for combining small S-boxes, as listed below.

(Problem 1) Regarding the design of small S-boxes



[0088] According the methods of the related art, small S-boxes are created randomly. Thus, these small S-boxes require table implementations, and the circuit scale necessary for hardware implementations is still large.

(Problem 2) Regarding the method to combine small S-boxes



[0089] The methods according to the related art do not have simple repeating structures, and so circuit sharing is difficult even when executing the S-box over multiple cycles. When having a simple repeating structure, circuit sharing is possible, and there is a potential to minimize the necessary circuit scale despite the necessity for multiple cycles in practice. However, the merits of performing the implementation method in this way according to the related art are few, and it is difficult to reduce the circuit scale even when multiple cycles can be used.

[0090] ]

[3. Overview of the S-box Related to the Present Disclosure]



[0091] With consideration of the problems described beforehand, hereafter, a method to configure the S-box to have a high level of security and to enable the reduction of the circuit scale when performing hardware implementations as compared to the related art is provided.

[0092] The configurations to be described hereafter produce a significant advantage particularly in cases in which a reduction in the necessary circuit scale for implementation is desired over actual throughput regarding hardware implementations. Further, for the sake of simplicity, the following descriptions will describe only bijective S-boxes with input and output of n bits.

[0093] 1

[0094] The following two S-box configuration examples will be described in order.
  1. (1) A method to configure the S-box in which implementation that is both secure and with a small circuit scale is possible by a repeating structure of logical calculations and bit replacements
  2. (2) A method to configure a large-size S-box having a repeating structure in which implementation that is both secure and with a small circuit scale is possible as based on small-size S-boxes


[0095] Further, the (1) described beforehand is a configuration that can resolve the (Problem 1) described beforehand, and (2) is a configuration that can resolve the (Problem 2).

[0096] Combinations of (1) and (2) are also possible, and so it is possible to resolve both of the (Problems 1 and 2) by this combined configuration.

(3-1. S-box Configuration Method with Repeating Structure of Logical Calculations and Bit Replacements)



[0097] First, (1) a method to configure the S-box in which implementation that is both secure and with a small circuit scale is possible by a repeating structure of logical calculations and bit replacements will be described.

[0098] 1

(3-1-1. Overview of S-box Configuration)



[0099] The S-box can be achieved by a combination of various logical circuits.

[0100] Here, the proposed S-box includes two parts, a "non-linear calculation unit" based on basic logical calculations such as AND (AND), OR (OR), and NOT (NOT), and a "bit replacement unit" for performing a shuffling of the bit positions, as the basic elements of the configuration of an S-box by repeating these elements.

[0101] The non-linear calculation unit uses one NAND (NAND) or NOR (NOR) calculation with a 2-bit input and 1-bit output, and one XOR (XOR) or XNOR (XNOR) calculation with a 2-bit input and 1-bit output to enable bijection and non-linear conversion, and includes a structure to calculate either an XOR or an XNOR on the result from performing either a NAND or an NOR calculation on arbitrary two bits as to one bit different from the two bits.

[0102] The bit replacement unit performs the simple shuffling of the bit positions.

[0103] The S-box is generated by multiple repetitions of this non-linear calculating unit and the bit replacement unit.

[0104] The non-linear calculating unit and the bit replacement unit may be changed at every repetition, or may use the same type of unit.

[0105] Generally, in order to configure a secure S-box of n bits, a repeating structure of n times should have the minimum configuration at which there is not a significant loss of security regarding this configuration method as repetitions for the non-linear calculation portion at least the n times is necessary. Also, it is possible to not execute and omit the final repetition of the bit replacement unit as this does not have any effect on the level of security and the circuit scale.

[0106] Further, the non-linear calculation unit is configured from either the NAND or the NOR calculation unit and either the XOR or the XNOR calculation unit as described beforehand, and so by mixing the XOR calculation units and the XNOR calculations units in the repeating structure for n times, it is possible to eliminate fixed points in the non-linear conversion processing. Therefore, it is desirable to implement a configuration in which the XOR calculation units and the XNOR calculation units are mixed in the repeating structure for n times of the non-linear calculation unit in order to achieve a non-linear conversion processing in which fixed points do not occur.

(3-1-2. Advantages of the Present Technique)



[0107] The advantages of the present technique including the following three advantages (Advantage 1 through 3). The first resolves the (Problem 1) of the existing technology, and the remaining two are additional advantages of the present invention.

[0108] (Advantage 1) Implementation is possible with smaller circuits than the methods according to the related art.

[0109] One non-linear calculation unit is configured only by either one NAND or NOR calculation and either one XOR or XNOR calculation.

[0110] Even among basic logic calculations performing nonlinear processing on input, NAND/NOR calculations are known to be able to be implemented with a small circuit.

[0111] Besides the NAND/NOR calculation, only the XOR/XNOR calculation is used to secure the bijective properties. Thus, this non-linear calculation portion can be said to be the minimum class among bijective non-linear functions for the implementation cost of hardware (necessary circuit scale).

[0112] Further, the bit replacement unit can be implemented by only changing wirings regarding hardware implementations, and does not have any effect on the necessary circuit scale. That is to say, the hardware implementation cost (necessary circuit scale) is zero.

[0113] With the present configuration, the circuits necessary for implementation can be significantly reduced as compared to the methods according to the related art as it is configured with repetitions of this non-linear calculation unit and bit replacement unit.

[0114] (Advantage 2) The hardware implementation cost can be accurately estimated.

[0115] According to the methods of the related art, the S-box is generated randomly, and so it was always necessary to evaluate using logical combination tools and such when estimating the necessary circuit scale.

[0116] Regarding the present configuration method, by evaluating the number of logical operators, that is to say, the number of repetitions, the hardware implementation cost (necessary circuit scale) can be easily estimated without using logical combination tools and such. According to the related art, it was difficult to find the optimum S-box from many as the estimation of the necessary circuit scale required much time, but according to the present configuration, it has been made easy to select the optimum S-box as the circuit scale can be easily estimated.

[0117] (Advantage 3) It is possible to configure multiple types of S-boxes at the same hardware implementation cost (necessary circuit scale).

[0118] There is freedom in selecting the logical operation used in the non-linear calculating unit and the type of bit replacement used in the bit replacement unit, and the type may be different for each repetition, and so multiple S-boxes can be configured at the same necessary circuit scale.

[0119] This contributes to the enabling of the selection of optimum combinations of high order functions and other functions from S-boxes with the same hardware implementation cost (necessary circuit scale).

(3-1-3. Specific Configuration Examples)



[0120] Next, specific configuration examples of the S-box by a repeating structure of logical calculations and bit replacements will be described.

[0121] Fig. 16 illustrates a specific configuration example of the S-box of four bits.

[0122] The 4-bit S-box illustrated in Fig. 16 includes a 4-round repeating structure as a combination of the non-linear calculation unit and the bit replacement unit, and the non-linear calculation unit is configured from four NANDs, three XORs, and one XNOR. Further, the final round bit replacement is omitted from the figure as it is possible to have a configuration which sets the final round bit replacement, or to have a configuration in which this is omitted.

[0123] The non-linear calculation unit for the first round is configured with a NAND and an XNOR.

[0124] Two bits from the four bits of input are input into the NAND for the first round, these output bits are input into the XNOR for the first round, and the XNOR calculation is executed with one bit from the four bits of input.

[0125] The execution result for the XNOR calculation for the first round is set as the output bits and then input into the NAND for the non-linear portions of the third and fourth rounds.

[0126] The non-linear calculation unit for the second round is configured with a NAND and an XOR.

[0127] Two bits from the four bits of input are input into the NAND for the second round, these output bits are input into the XOR for the second round, and the XOR calculation is executed with one bit from the four bits of input.

[0128] The execution result for the XOR calculation for the second round is set as the output bits and then input into the NAND for the non-linear portions of the fourth round.

[0129]  The non-linear calculation unit for the third round is configured with a NAND and an XOR.

[0130] One bit from the four bits of input and the execution result from the XNOR calculation for the first round are input into the NAND for the third round, these output bits are input into the XOR for the third round, and the XOR calculation is executed with one bit from the four bits of input.

[0131] The execution result for the XOR calculation for the third round is set as the output bits.

[0132] The non-linear calculation unit for the fourth round is configured with a NAND and an XOR.

[0133] The execution result from the XNOR calculation for the first round and the execution result from the XOR calculation for the second round are input into the NAND for the fourth round, these output bits are input into the XOR for the fourth round, and the XOR calculation is executed with one bit from the four bits of input.

[0134] The execution result for the XOR calculation for the fourth round is set as the output bits.

[0135] The maximum difference probability and the maximum linear probability, which are the conditions for an S-box with a high level of security as described in the previous section [2. S-boxes], for this 4-bit S-box are both 2-2. This is the optimum value for this 4-bit S-box, and the hardware implementation cost is less than compared to the randomly generated 4-bit S-box.

[0136] Thus, this 4-bit S-box can be said to have superior hardware implementation performance and security.

[0137] Other specific examples of S-boxes configured with the same circuit scale (same number of repetitions) having the same optimum difference probability and linear probability are illustrated in Fig. 17 through Fig. 20. Further, the final round bit replacement is omitted from Fig. 16 through Fig. 20 as it is possible to have a configuration which sets the final round bit replacement, or to have a configuration in which this is omitted.

[0138] The 4-bit S-box illustrated in Fig. 17 is configured from four NORs, three XNORs, and one XOR.

[0139] The 4-bit S-box illustrated in Fig. 18 is configured from three NANDs, one NOR, three XNORs, and one XOR.

[0140] The 4-bit S-box illustrated in Fig. 19 is configured from three NANDs, one NOR, three XNORs, and one XOR.

[0141] The 4-bit S-box illustrated in Fig. 20 is configured from four NORs, one XNOR, and three XORs.

[0142] The configuration and processing of the 4-bit S-box illustrated in each figure will be described.

[0143] The 4-bit S-box illustrated in Fig. 17 includes a 4-round repeating structure as a combination of the non-linear calculation unit and the bit replacement unit, and the non-linear calculation unit is configured from four NORs, three XNORs, and one XOR. Further, the final round bit replacement is omitted from the figure as it is possible to have a configuration which sets the final round bit replacement, or to have a configuration in which this is omitted.

[0144] The non-linear calculation unit for the first round is configured with a NOR and an XNOR.

[0145] Two bits from the four bits of input are input into the NOR for the first round, these output bits are input into the XNOR for the first round, and the XNOR calculation is executed with one bit from the four bits of input.

[0146] The execution result for the XNOR calculation for the first round is set as the output bits and then input into the NOR for the non-linear portions of the third and fourth rounds.

[0147] The non-linear calculation unit for the second round is configured with a NOR and an XNOR.

[0148] Two bits from the four bits of input are input into the NOR for the second round, these output bits are input into the XNOR for the second round, and the XNOR calculation is executed with one bit from the four bits of input.

[0149] The execution result for the XNOR calculation for the second round is set as the output bits and then input into the NOR for the non-linear portions of the fourth round.

[0150] The non-linear calculation unit for the third round is configured with a NOR and an XNOR.

[0151] One bit from the four bits of input and the execution result from the XNOR calculation for the first round are input into the NOR for the third round, these output bits are input into the XNOR for the third round, and the XNOR calculation is executed with one bit from the four bits of input.

[0152] The execution result for the XNOR calculation for the third round is set as the output bits.

[0153] The non-linear calculation unit for the fourth round is configured with a NOR and an XOR.

[0154] The execution result from the XNOR calculation for the first round and the execution result from the XNOR calculation for the second round are input into the NOR for the fourth round, these output bits are input into the XOR for the fourth round, and the XOR calculation is executed with one bit from the four bits of input.

[0155] The execution result for the XOR calculation for the fourth round is set as the output bits.

[0156] The 4-bit S-box illustrated in Fig. 18 includes a 4-round repeating structure as a combination of the non-linear calculation unit and the bit replacement unit, and the non-linear calculation unit is configured from three NANDs, one NOR, three XNORs, and one XOR. Further, the final round bit replacement is omitted from the figure as it is possible to have a configuration which sets the final round bit replacement, or to have a configuration in which this is omitted.

[0157] The non-linear calculation unit for the first round is configured with a NAND and an XNOR.

[0158] Two bits from the four bits of input are input into the NAND for the first round, these output bits are input into the XNOR for the first round, and the XNOR calculation is executed with one bit from the four bits of input.

[0159] The execution result for the XNOR calculation for the first round is set as the output bits and then input into the NOR and NAND for the non-linear portions of the third and fourth rounds.

[0160] The non-linear calculation unit for the second round is configured with a NAND and an XOR.

[0161] Two bits from the four bits of input are input into the NAND for the second round, these output bits are input into the XOR for the second round, and the XOR calculation is executed with one bit from the four bits of input.

[0162] The execution result for the XOR calculation for the second round is set as the output bits and then input into the NAND for the non-linear portions of the fourth round.

[0163] The non-linear calculation unit for the third round is configured with a NOR and an XNOR.

[0164] One bit from the four bits of input and the execution result from the XNOR calculation for the first round are input into the NOR for the third round, these output bits are input into the XNOR for the third round, and the XNOR calculation is executed with one bit from the four bits of input.

[0165] The execution result for the XNOR calculation for the third round is set as the output bits.

[0166] The non-linear calculation unit for the fourth round is configured with a NAND and an XNOR.

[0167] The execution result from the XNOR calculation for the first round and the execution result from the XOR calculation for the second round are input into the NAND for the fourth round, these output bits are input into the XNOR for the fourth round, and the XNOR calculation is executed with one bit from the four bits of input.

[0168] The execution result for the XNOR calculation for the fourth round is set as the output bits.

[0169] The 4-bit S-box illustrated in Fig. 19 includes a 4-round repeating structure as a combination of the non-linear calculation unit and the bit replacement unit, and the non-linear calculation unit is configured from three NANDs, one NOR, three XNORs, and one XOR. Further, the final round bit replacement is omitted from the figure as it is possible to have a configuration which sets the final round bit replacement, or to have a configuration in which this is omitted.

[0170] The non-linear calculation unit for the first round is configured with a NAND and an XOR.

[0171] Two bits from the four bits of input are input into the NAND for the first round, these output bits are input into the XOR for the first round, and the XOR calculation is executed with one bit from the four bits of input.

[0172] The execution result for the XOR calculation for the first round is set as the output bits and then input into the NOR and the NAND for the non-linear portions of the second and third rounds.

[0173] The non-linear calculation unit for the second round is configured with a NOR and an XNOR.

[0174] One bit from the four bits of input and the execution result of the XOR for the first round are input into the NOR for the second round, these output bits are input into the XNOR for the second round, and the XNOR calculation is executed with one bit from the four bits of input.

[0175] The execution result for the XNOR calculation for the second round is set as the output bits and then input into the NAND for the non-linear portion of the fourth round.

[0176] The non-linear calculation unit for the third round is configured with a NAND and an XNOR.

[0177] One bit from the four bits of input and the execution result from the XNOR calculation for the first round are input into the NAND for the third round, these output bits are input into the XNOR for the third round, and the XNOR calculation is executed with one bit from the four bits of input.

[0178] The execution result for the XNOR calculation for the third round is set as the output bits.

[0179] The non-linear calculation unit for the fourth round is configured with a NAND and an XNOR.

[0180] The execution result from the XNOR calculation for the second round and the execution result from the XNOR calculation for the third round are input into the NAND for the fourth round, these output bits are input into the XNOR for the fourth round, and the XNOR calculation is executed with one bit from the four bits of input.

[0181] The execution result for the XNOR calculation for the fourth round is set as the output bits.

[0182] The 4-bit S-box illustrated in Fig. 20 includes a 4-round repeating structure as a combination of the non-linear calculation unit and the bit replacement unit, and the non-linear calculation unit is configured from four NORs, one XNOR, and three XORs. Further, the final round bit replacement is omitted from the figure as it is possible to have a configuration which sets the final round bit replacement, or to have a configuration in which this is omitted.

[0183] The non-linear calculation unit for the first round is configured with a NOR and an XOR.

[0184] Two bits from the four bits of input are input into the NOR for the first round, these output bits are input into the XOR for the first round, and the XOR calculation is executed with one bit from the four bits of input.

[0185] The execution result for the XOR calculation for the first round is set as the output bits and then input into the NOR for the non-linear portions of the third and fourth rounds.

[0186] The non-linear calculation unit for the second round is configured with a NOR and an XOR.

[0187] Two bits from the four bits of input are input into the NOR for the second round, these output bits are input into the XOR for the second round, and the XOR calculation is executed with one bit from the four bits of input.

[0188] The execution result for the XOR calculation for the second round is set as the output bits and then input into the NOR for the non-linear portions of the fourth round.

[0189] The non-linear calculation unit for the third round is configured with a NOR and an XNOR.

[0190] One bit from the four bits of input and the execution result from the XOR calculation for the first round are input into the NOR for the third round, these output bits are input into the XNOR for the third round, and the XNOR calculation is executed with one bit from the four bits of input.

[0191] The execution result for the XNOR calculation for the third round is set as the output bits.

[0192] The non-linear calculation unit for the fourth round is configured with a NOR and an XOR.

[0193] The execution result from the XOR calculation for the first round and the execution result from the XOR calculation for the second round are input into the NOR for the fourth round, these output bits are input into the XOR for the fourth round, and the XOR calculation is executed with one bit from the four bits of input.

[0194] The execution result for the XOR calculation for the fourth round is set as the output bits.

[0195] Also, regarding the 4-bit S-box which can be implemented at the same circuit scale as the 4-bit S-box illustrated in the examples described beforehand, there are four types of non-linear calculation unit calculations (=2×2), and 24 types of bit replacement unit bit replacements (=4!), and as the type can be different for each repetition, it is understood that there are 96 to the power of four possibilities.

[0196] That is to say, a great number of 4-bit S-boxes of the same circuit scale can be configured, so an optimal S-box for the purpose can be selected at the time of design.

[0197] Fig. 21 illustrates an example configuration of a 5-bit S-box as another configuration example of the S-box.

[0198] The 5-bit S-box illustrated in Fig. 21 includes a 5-round repeating structure as a combination of the non-linear calculation unit and the bit replacement unit, and the non-linear calculation unit is configured from five NANDs, four XORS, and one XNOR. Further, the final round bit replacement is omitted from the figure as it is possible to have a configuration which sets the final round bit replacement, or to have a configuration in which this is omitted.

[0199] The non-linear calculation unit for the first round is configured with a NAND and an XOR.

[0200] Two bits from the five bits of input are input into the NAND for the first round, these output bits are input into the XOR for the first round, and the XOR calculation is executed with one bit from the five bits of input.

[0201] The execution result for the XOR calculation for the first round is set as the output bits and then input into the NAND for the non-linear portions of the fourth and fifth rounds.

[0202]  The non-linear calculation unit for the second round is configured with a NAND and an XNOR.

[0203] Two bits from the five bits of input are input into the NAND for the second round, these output bits are input into the XNOR for the second round, and the XNOR calculation is executed with one bit from the five bits of input.

[0204] The execution result for the XNOR calculation for the second round is set as the output bits and then input into the NAND for the non-linear portion of the fifth round.

[0205] The non-linear calculation unit for the third round is configured with a NAND and an XOR.

[0206] Two bits from the five bits of input are input into the NAND for the third round, these output bits are input into the XOR for the third round, and the XOR calculation is executed with one bit from the five bits of input.

[0207] The execution result for the XOR calculation for the third round is set as the output bits.

[0208] The non-linear calculation unit for the fourth round is configured with a NAND and an XOR.

[0209] One bit from the five bits of input and the execution result from the XOR calculation for the first round are input into the NAND for the fourth round, these output bits are input into the XOR for the fourth round, and the XOR calculation is executed with one bit from the five bits of input.

[0210] The execution result for the XOR calculation for the fourth round is set as the output bits.

[0211] The non-linear calculation unit for the fifth round is configured with a NAND and an XOR.

[0212] The execution result from the XOR calculation for the first round and the execution result from the XNOR calculation for the second round are input into the NAND for the fifth round, these output bits are input into the XOR for the fifth round, and the XOR calculation is executed with one bit from the five bits of input.

[0213] The execution result for the XOR calculation for the fifth round is set as the output bits.

[0214]  The difference probability and the linear probability for this 5-bit S-box is 2-2. As the optimum value for each portion of the 5-bit S-box is 2-4, this does not have the highest level of security, but the circuit scale is extremely smaller as compared to that which is generated randomly. For this reason, this can be applied in cases when implementation performance has priority.

(3-2. Method to Configure Large S-boxes with a Repeating Structure Using Small S-boxes)



[0215] Next, the method to configure large s-boxes with a repeating structure using small S-boxes will be described.

[0216] The configuration to configure a large S-box from a small S-box is configured as a repeating structure of a specific function. Specifically, a large S-box that has a comparatively low hardware implementation cost (necessary circuit scale) is first generated from a small S-box, and this large S-box includes a repeating structure. As a result, a large S-box having a repeating structure can be configured from a small S-box.

(3-2-2. Advantages of the Present Technique)



[0217] The present technique has significant advantages in hardware implementations, particularly implementations such as serial implementations with the aim to reduce the necessary circuit scale.

[0218] Regarding calculations having repeating structures, it is not necessary to implement all elements when implementing an S-box for a serial implementation, a unit of repetitions can be implemented, and this can be repeatedly executed for an arbitrary number of times.

[0219] Thus, this structure can be said to be implementable at a circuit scale smaller than the S-box according to the related art, which does not have a repeating structure.

(3-2-3. Specific Configuration Examples)



[0220] Next, specific configuration examples of the large S-box by a repeating processing using a small S-box will be described.

[0221] Hereafter, details on the specific configuration method will be described.

[0222] Further, the rectangular region illustrated as S in each drawing from Fig. 22 through Fig. 28 described hereafter is, for example, the small S-box described with reference to Fig. 16 to Fig. 21, that is to say, the S-box for executing a non-linear conversion processing in units of four bits, for example.

[0223] Each of the Fig. 22 through Fig. 28 has a configuration in which input of n bits is divided into four parts of n/4 bits that are input into four lines, a calculation processing is executed by a calculation executing unit made up from a small S-box and an XOR circuit as to the data from each line, and multiple rounds of rotations by a rotation (Rotation) executing unit are repeatedly executed in units of the data from each line.

[0224] The configuration illustrated in Fig. 22 has configuration applying one S-box and one XOR circuit for each round, and has a configuration in which a result of applying the n/4-bit S-box and XOR circuit is generated in the preceding processing round, data rotations are performed in units of the n/4-bit lines as to the n/4-bit calculation result and the other unprocessed data, and the rotation result is output to the next processing round.

[0225] The configuration in Fig. 23 has a configuration applying two S-boxes and two XOR circuits for each round, and has a configuration in which a result of applying the n/4-bit S-box and XOR circuit for the preceding processing round is generated as two lines worth of data (2x(n/4) bits), data rotations are performed in units of the n/4-bit lines as to the 2-line calculation result and the other two lines of unprocessed data, and the rotation result is output to the next processing round.

[0226] The configuration illustrated in Fig. 24 has a configuration applying one S-box and two XOR circuits for each round, and has a configuration in which regarding the preceding processing round,
a result of applying the n/4-bit S-box,
a result of applying the n/4-bit S-box and the XOR circuit,
and a result of applying the n/4-bit XOR circuit
are generated, data rotations are performed in units of the n/4-bit lines as to the three n/4-bit calculation results and the other unprocessed data, and the rotation results are output to the next processing round.

[0227] The configuration illustrated in Fig. 25 has a configuration applying two S-boxes and two XOR circuits for each round, and has a configuration in which regarding the preceding processing round,
a result of applying the two n/4-bit S-boxes,
and a result of applying the two n/4-bit S-boxes and the two XOR circuits,
are generated, data rotations are performed in units of the n/4-bit lines as to the four n/4-bit calculation results, and the rotation results are output to the next processing round.

[0228] The configuration illustrated in Fig. 26 has a configuration applying one S-box and two XOR circuits for each round, and has a configuration in which regarding the preceding processing round,
a result of applying the n/4-bit S-box and the XOR circuit,
and a result of applying the n/4-bit XOR circuit,
are generated, data rotations are performed in units of the n/4-bit lines as to the two n/4-bit calculation results and the other unprocessed data, and the rotation results are output to the next processing round.

[0229] The configuration illustrated in Fig. 27 has a configuration applying two S-boxes and two XOR circuits for each round, and has a configuration in which regarding the preceding processing round,
a result of applying the two n/4-bit S-boxes and the two XOR circuits,
are generated, data rotations are performed in units of the n/4-bit lines as to the two n/4-bit calculation results and the other unprocessed data, and the rotation results are output to the next processing round.

[0230] The configuration illustrated in Fig. 28 has a configuration applying two S-boxes and two XOR circuits for each round, and has a configuration in which regarding the preceding processing round,
a result of applying the n/4-bit S-box,
a result of applying the n/4-bit S-box and the XOR circuit,
and a result of applying the n/4-bit XOR circuit
are generated, data rotations are performed in units of the n/4-bit lines as to the three n/4-bit calculation results and the other unprocessed data, and the rotation results are output to the next processing round.

[0231] Fig. 22 and Fig. 23 are repeating structures called type-I GFN (Generalized Feistel Network) and type-II GFN, respectively.

[0232] Normally, these are used together with a secret key used in the small non-linear portion, but according to the present embodiment, a secret key is not implemented due to considerations of implementation efficiency.

[0233] By implementing a configuration not using a secret key in this way, it is possible to implement this entirely as one fixed table.

[0234] The difference between the configurations in Fig. 22 and Fig. 23 is the number of small S-boxes for each round.

[0235] The type-I GFN in Fig. 22 is configured from one n-bit S-box, one n-bit XOR, and the rotation in units of n bits.

[0236] According to the example illustrated in Fig. 22, the input data is n bits, divided into four parts, and input into each line in units of n/4 bits.

[0237] Further, the number of divisions of the input data is arbitrary. That is to say, extensions of an arbitrary r number of divisions (r > 2) are possible, and this can be determined appropriately depending on the input and output size of the necessary, large S-box.

[0238] The type-II GFN illustrated in Fig. 23 is configured from two small n-bit S-boxes, two n-bit XORs, and the rotation in units of n bits, in increments of each round.

[0239] The features of these two configuration methods is that the calculations in the normal order are almost the same as the calculation in the reverse order, and the difference is only the in the rotation portion.

[0240] As a result, circuit sharing can be performed when it is necessary to implement both an ordered function and a reverse function. Regarding the configuration method as in Fig. 23, when generating a 16-bit S-box using the 4-bit S-box as in Fig. 16,
the maximum difference probability for six repetitions is 2-8.3,
and the maximum linear probability is 2-7.83,
the maximum difference probability for seven repetitions is 2-9.1, and the maximum linear probability is 2-8.

[0241] These values are not the optimum values at 16 bits, but these probabilities are sufficiently low, and the circuit scale is extremely small as compared to that created randomly.

[0242] Fig. 24 through Fig. 28 are structures in which small S-boxes are arranged in portions different form that of the structures in Fig. 22 and Fig. 23. The differences between each of these are only the location of the arrangement and the number of S-boxes in the unit of repetitions.

[0243] According to these structures, the data input into the small S-boxes are unnecessary in subsequent calculations, and so excessive storage regions are unnecessary, which enables the necessary circuit scale in hardware to be reduced further when dividing and implementing the repeating function into even finer portions.

[0244] Regarding the configuration method as in Fig. 25, when configuring a 16-bit S-box using the 4-bit S-box as in Fig. 17,
the maximum difference probability for six repetitions is 2-8.3,
and the maximum linear probability is 2-8,
the maximum difference probability for seven repetitions is 2-9.1,
and the maximum linear probability is 2-8.5.

[0245] These values are not the optimum values at 16 bits, but these probabilities are sufficiently low, and the circuit scale is extremely small as compared to that created randomly.

[4. Configuration Examples of Encryption Processing Device]



[0246] Finally, actual examples of encryption processing devices executing an encryption processing in accordance with the previously described embodiments will be described.

[0247] The encryption processing devices for executing the encryption processing in accordance with the previously described embodiments can be installed in various information processing devices executing encryption processing. Specifically, this can be used regarding various crises in which encryption processing is executed along with data processing and communication processing by devices such as PCs, TVs, recorders, players, communication devices, RFIDs, smart cards, sensor network devices, battery/battery authentication modules, health and medical devices, independent network devices, etc.

[0248] Fig. 29 illustrates an example configuration of an IC module 700 as an example of a device executing the encryption processing according to the present disclosure. The previously described processing can be executed in various information processing devices such as PCs, IC cards, reader-writers, and others, and the IC module 700 illustrated in Fig. 29 can be configured in these various devices.

[0249] A CPU (Central Processing Unit) 701 illustrated in Fig. 29 is a processor executing various programs such as the starting and termination of the encryption processing, control of data transmission and reception, data transfer control between each configuration element, and others. A memory 702 is made up from ROM (Read Only Memory) storing fixed data such as the program executed by the CPU 701, calculation parameter, and so on, and RAM (Random Access Memory) used as a work region and storage area of the program executed regarding the processing of the CPU 701 and parameters that arbitrarily change during the processing of the program. Also, the memory 702 can be used as a storage region for data and such applied to conversion matrices and conversion tables (replacement tables) applied during the encryption processing, and for key data necessary during encryption processing. Further, the data storage region is desirably configured as memory having a tamper-resistant structure.

[0250] An encryption processing part 703 executes encryption processing and decryption processing in accordance with the shared key block encryption processing algorithm applying the previously described encryption processing configurations, that is to say for example, generalized Feistel structures or Feistel structures.

[0251] Further, examples illustrated here used encryption processing means as individual models, instead of provisioning these kinds of independent encryption processing modules, a configuration can be implemented in which an encryption processing program can be stored in ROM, for example, and the CPU 701 reads out and executes the program stored in ROM.

[0252] A random number generator 704 executes random number generation processing necessary during the generation of keys necessary during encryption processing.

[0253] A transmission/reception unit 705 is a data communication processing unit executing data communication with external devices, executes data communication with IC modules such as reader-writers, for example, and executes the output of ciphertext generated within the IC module, the input of data from external reader-writers and so on among others.

[0254] Further, the data processing device described in the previously described embodiments is not only applicable to encryption processing to encrypt plaintext as input data, but is also applicable to decryption processing to decode the ciphertext as input data back to plaintext.

[0255] Regarding both processing, the encryption processing and the decryption processing, a configuration of a nonlinear conversion unit having the configurations described in the previous embodiments can be applied.

[5. Conclusion of Configuration of the Present Disclosure]



[0256] Thus, embodiments of the present disclosure have been described in detail with reference to specific embodiments. However, it will be apparent to those skilled in the art that various modifications and substitutions of the embodiments may be made without departing from the scope of the present disclosure. That is to say, the present invention has been disclosed exemplarily by embodiments, and should not interpreted restrictively. The Claims should be referenced in order to determine the scope of the present disclosure.

[0257] Further, the technologies disclosed in the present specification can take the following configurations.

(1) A data processing device including:

a data conversion processing unit configured to divide and input configuration bits of data to be processed into a plurality of lines, and to repeatedly execute a data conversion processing as to the data in each line;

wherein the data conversion processing unit includes an F function executing unit configured to input one line of data configuring the plurality of lines, and to generated conversion data;

wherein the F function executing unit includes a non-linear conversion processing unit configured to execute a non-linear conversion processing;

and wherein the non-linear conversion processing unit includes a repeating structure of a non-linear calculation unit made up from either one NAND or NOR, and either one XOR or XNOR calculation unit, and a bit replacement unit.

(2) The data processing device according to (1), wherein the bit replacement unit includes a wiring configuration configured to shuffle the input and output bits corresponding to the non-linear calculation unit.

(3) The data processing device according to either (1) or (2), wherein the non-linear conversion processing unit outputs one bit of the calculation result from either the NAND or the NOR calculation unit with 2-bit input and 1-bit output to either the XOR or the XNOR calculation unit, executes either the XOR or the XNOR calculation with the other one bit of input data, and outputs the 1-bit data generated from the calculation result of either the XOR or the XNOR as the configuration bit as the non-linear conversion processing result.
The data processing device according to any one of (1) through (3), wherein the non-linear conversion processing unit includes a repeating structure in which the non-linear calculation unit is repeating at least an n number of times regarding the configuration to output the non-linear conversion result of n bits of data.

(5) The data processing device according to any one of (1) through (4), wherein the non-linear conversion processing unit is a configuration in which the non-linear calculation unit is set for an n number of times and the bit replacement unit is set for an n-1 number of times between the non-linear calculation unit for an n number of times regarding the configuration to output the non-linear conversion result of n bits of data.

(6) The data processing device according to any one of (1) through (5), wherein the non-linear conversion processing unit generates the calculation result for either the XOR or the XNOR calculation result from the calculation result of either the one NAND or the NOR calculation unit corresponding to all configuration bits of the data to be non-linearly converted, and outputs either the XOR or the XNOR calculation result as the configuration bit of the non-linear conversion result.

(7) The data processing device according to any one of (1) through (6), wherein the non-linear conversion processing unit is a configuration including both the XOR calculation unit and the XNOR calculation unit in the repeating structure.

(8) The data processing device according to any one of (1) through (7), wherein the data processing device executes encryption processing to convert plaintext as input data into ciphertext, and to execute decryption processing to convert ciphertext as input data into plaintext.

(9) A data processing device including a non-linear conversion processing unit having a repeating structure of:

a non-linear calculation unit made up from either one NAND or NOR calculation unit, and either one XOR or XNOR calculation unit; and

a bit replacement unit.

(10) The data processing device according to (9), wherein the non-linear conversion processing unit generates the calculation result for either the XOR or the XNOR calculation result from the calculation result of either the one NAND or the NOR calculation unit corresponding to all configuration bits of the data to be non-linearly converted, and outputs either the XOR or the XNOR calculation result as the configuration bit of the non-linear conversion result.

(11) A data processing device including:

a repeating structure of a round function, which includes a non-linear function executing unit configured to divide and input configuration bits of data to be processed into a plurality of lines, and to input one line of data configuring the plurality of lines to generate the conversion data.

(12) The data processing device according to (11), wherein the non-linear function executing unit generates the calculation result for either the XOR or the XNOR calculation result from the calculation result of either the one NAND or the NOR calculation unit corresponding to all configuration bits of the data be non-linearly converted, and outputs either the XOR or the XNOR calculation result as the configuration bit of the non-linear conversion result.



[0258] Further, the processing method executed in the previously described device and system, and the program executing this processing is included in the configuration of the present disclosure.

[0259] Also, a portion of the processing described in this specification can be executed as hardware, software, or combination of the two. When executing this processing by software, a program to which the processing sequence is recorded is installed and executed in memory within a computer assembled with specialized hardware, or the program can be installed and executed in a general-purpose computer capable of executing the various processing. For example, the program can be recorded onto a recording medium beforehand. Other than installing to the computer from the recording medium, the program can be received via a network such as a LAN (Local Area Network) or the Internet, and can be installed to a recording medium such as an internal hard disk.

[0260] Further, the various processing disclosed in this specification can not only be executed temporally as according to the disclosure, but can also be executed in parallel or individually as necessary or depending on the processing performance of the device executing the processing. Also, the system regarding the present specification is a logical combination configuration of multiple devices, and so each configuration of the devices is not limited to being housed within the same physical unit.

Industrial Applicability



[0261] As previously described, according to the configuration of an embodiment of the present disclosure, a miniaturized non-linear conversion unit is achieved.

[0262] Specifically, included is an encryption processing part configured to divide and input configuration bits of data to be processed into a plurality of lines, and to repeatedly execute a data conversion processing applying a round function as to the data in each line, wherein the encryption processing part includes an F function executing unit configured to input one line of data configuring the plurality of lines, and to generate conversion data, wherein the F function executing unit includes a non-linear conversion processing unit configured to execute a non-linear conversion processing, and wherein the non-linear conversion processing unit includes a repeating structure of a non-linear calculation unit made up from either one NAND or NOR, and either one XOR or XNOR calculation unit, and a bit replacement unit. The miniaturized non-linear conversion unit is achieved by this repeating configuration.

Reference Signs List



[0263] 
700
IC module
701
CPU (Central Processing Unit)
702
memory
703
encryption processing part
704
random number generator
705
transmission/receiving unit



Claims

1. A data processing device (700) comprising:

a data conversion processing unit (703) configured to divide and input configuration bits of data to be processed into a plurality of lines, and to repeatedly execute a data conversion processing as to the data in each line;

wherein the data conversion processing unit includes an F function executing unit configured to input one line of data configuring the plurality of lines, and to generate conversion data;

wherein the F function executing unit includes a non-linear conversion processing unit configured to execute a non-linear conversion processing;

wherein the non-linear conversion processing unit includes a repeating structure of a bit replacement unit and a non-linear calculation unit;

wherein each respective non-linear calculation unit included in the repeating structure is a calculation unit configured of either one NAND or NOR calculation unit and either one XOR or XNOR calculation unit;

wherein the non-linear conversion processing unit is configured to output one bit of the calculation result from either the NAND or the NOR calculation unit with 2-bit input and 1-bit output to either the XOR or the XNOR calculation unit, configured to execute either the XOR or the XNOR calculation with the other one bit of input data, and configured to output the 1-bit data generated from the calculation result of either the XOR or the XNOR as the configuration bit as the non-linear conversion processing result; and

wherein the repeating structure of the non-linear conversion processing unit is a configuration including both a non-linear portion with a XOR calculation unit and a non-linear portion with a XNOR calculation unit.


 
2. The data processing device according to Claim 1, wherein the bit replacement unit includes a wiring configuration configured to shuffle the input and output bits corresponding to the non-linear calculation unit.
 
3. The data processing device according to Claim 1, wherein the data processing device executes encryption processing to convert plaintext as input data into ciphertext, and to execute decryption processing to convert ciphertext as input data into plaintext.
 
4. A data processing method to be executed in a data processing device (700);
wherein a data processing unit (703) divides and inputs configuration bits of data to be processed into a plurality of lines, and repeatedly executes a data conversion processing as to the data in each line;
wherein the data conversion processing executes an F function configured to input one line of data configuring the plurality of lines, and generates conversion data;
wherein the execution processing of the F function executes a non-linear conversion processing;
wherein the non-linear conversion processing unit includes a repeating structure of a bit replacement unit and a non-linear calculation unit;
and wherein the plurality of non-linear calculation units included in the repeating structure include at least two or more different non-linear calculation units having different calculation configurations, being either one NAND or NOR calculation unit and either one XOR or XNOR calculation unit;
wherein the non-linear conversion processing unit outputs one bit of the calculation result from either the NAND or the NOR calculation unit with 2-bit input and 1-bit output to either the XOR or the XNOR calculation unit, executes either the XOR or the XNOR calculation with the other one bit of input data, and outputs the 1-bit data generated from the calculation result of either the XOR or the XNOR as the configuration bit as the non-linear conversion processing result;
wherein each respective non-linear calculation unit included in the repeating structure is a calculation unit configured of either one NAND or NOR calculation unit and either one XOR or XNOR calculation unit; and
wherein the repeating structure of the non-linear conversion processing unit is a configuration including both a non-linear portion with a XOR calculation unit and a non-linear portion with a XNOR calculation unit.
 
5. The data processing device according to Claim 1, wherein the non-linear conversion processing unit includes a repeating structure of a 4-bit input and 4-bit output non-linear calculation unit, and a bit replacement unit.
 
6. An information processing device, comprising:

memory configured to hold a program;

a processor configured to execute the program; and

a data conversion processing device in accordance with claim 1.


 


Ansprüche

1. Datenverarbeitungsvorrichtung (700), die Folgendes umfasst:

eine Datenumsetzungsverarbeitungseinheit (703), die konfiguriert ist, Konfigurationsbits von zu verarbeitenden Daten in mehrere Zeilen zu unterteilen und einzugeben und wiederholt eine Datenumsetzungsverarbeitung bezüglich der Daten in jeder Zeile auszuführen;

wobei die Datenumsetzungsverarbeitungseinheit eine F-Funktionsausführungseinheit enthält, die konfiguriert ist, eine Zeile von Daten einzugeben, die die mehreren Zeilen konfiguriert, und Umsetzungsdaten zu erzeugen;

wobei die F-Funktionsausführungseinheit eine nichtlineare Umsetzungsverarbeitungseinheit enthält, die konfiguriert ist, eine nichtlineare Umsetzungsverarbeitung auszuführen;

wobei die nichtlineare Umsetzungsverarbeitungseinheit eine Wiederholungsstruktur einer Bitersetzungseinheit und einer nichtlinearen Berechnungseinheit enthält;

wobei jede jeweilige nichtlineare Berechnungseinheit, die in der Wiederholungsstruktur enthalten ist, eine Berechnungseinheit ist, die entweder aus einer NAND- oder einer NOR-Berechnungseinheit und entweder aus einer XOR- oder einer XNOR-Berechnungseinheit konfiguriert ist;

wobei die nichtlineare Umsetzungsverarbeitungseinheit konfiguriert ist, ein Bit des Berechnungsergebnisses entweder von der NAND-oder von der NOR-Berechnungseinheit mit einer 2-Bit-Eingabe und einer 1-Bit-Ausgabe entweder an die XOR-oder die XNOR-Berechnungseinheit auszugeben, die konfiguriert ist, entweder die XOR- oder die XNOR-Berechnung mit dem anderen Bit der Eingabedaten auszuführen, und konfiguriert ist, die aus dem Berechnungsergebnis entweder der XOR- oder der XNOR-erzeugten 1-Bit-Daten als das Konfigurationsbit als das nichtlineare Umsetzungsverarbeitungsergebnis auszugeben; und

wobei die Wiederholungsstruktur der nichtlinearen Umsetzungsverarbeitungseinheit eine Konfiguration ist, die sowohl einen nichtlinearen Abschnitt mit einer XOR-Berechnungseinheit als auch einen nichtlinearen Abschnitt mit einer XNOR-Berechnungseinheit enthält.


 
2. Datenverarbeitungsvorrichtung nach Anspruch 1, wobei die Bitersetzungseinheit eine Verdrahtungskonfiguration enthält, die konfiguriert ist, die Eingabe- und die Ausgabebits, die der nichtlinearen Berechnungseinheit entsprechen, zu mischen.
 
3. Datenverarbeitungsvorrichtung nach Anspruch 1, wobei die Datenverarbeitungsvorrichtung eine Verschlüsselungsverarbeitung ausführt, um Klartext als Eingangsdaten in verschlüsselten Text umzusetzen, und eine Entschlüsselungsverarbeitung auszuführen, um verschlüsselten Text als Eingangsdaten in Klartext umzusetzen.
 
4. Datenverarbeitungsverfahren, das in einer Datenverarbeitungsvorrichtung (700) auszuführen ist;
wobei eine Datenverarbeitungseinheit (703) Konfigurationsbits von zu verarbeitenden Daten in mehrere Zeilen unterteilt und eingibt und wiederholt eine Datenumsetzungsverarbeitung bezüglich der Daten in jeder Zeile ausführt;
wobei die Datenumsetzungsverarbeitungseinheit eine F-Funktion ausführt, die konfiguriert ist, eine Zeile von Daten einzugeben, die die mehreren Zeilen konfiguriert, und Umsetzungsdaten erzeugt;
wobei die Ausführungsverarbeitung der F-Funktion eine nichtlineare Umsetzungsverarbeitung ausführt;
wobei die nichtlineare Umsetzungsverarbeitungseinheit eine Wiederholungsstruktur einer Bitersetzungseinheit und einer nichtlinearen Berechnungseinheit enthält;
und wobei die mehreren nichtlinearen Berechnungseinheiten, die in der Wiederholungsstruktur enthalten sind, mindestens zwei oder mehrere verschiedene nichtlineare Berechnungseinheiten besitzen, die verschiedene Berechnungskonfigurationen besitzen, die entweder eine NAND- oder eine NOR-Berechnungseinheit und entweder eine XOR- oder eine XNOR-Berechnungseinheit sind;
wobei die nichtlineare Umsetzungsverarbeitungseinheit ein Bit des Berechnungsergebnisses von entweder der NAND- oder der NOR-Berechnungseinheit mit einer 2-Bit-Eingabe und einer 1-Bit-Ausgabe entweder an die XOR- oder die XNOR-Berechnungseinheit ausgibt, entweder die XOR- oder die XNOR-Berechnung mit dem anderen Bit der Eingabedaten ausführt und die aus dem Berechnungsergebnis entweder der XOR- oder der XNOR-erzeugten 1-Bit-Daten als das Konfigurationsbit als das nichtlineare Umsetzungsverarbeitungsergebnis ausgibt;
wobei jede jeweilige nichtlineare Berechnungseinheit, die in der Wiederholungsstruktur enthalten ist, eine Berechnungseinheit ist, die entweder aus einer NAND- oder einer NOR-Berechnungseinheit und entweder aus einer XOR- oder einer XNOR-Berechnungseinheit konfiguriert ist, und
wobei die Wiederholungsstruktur der nichtlinearen Umsetzungsverarbeitungseinheit eine Konfiguration ist, die sowohl einen nichtlinearen Abschnitt mit einer XOR-Berechnungseinheit als auch einen nichtlinearen Abschnitt mit einer XNOR-Berechnungseinheit enthält.
 
5. Datenverarbeitungsvorrichtung nach Anspruch 1, wobei die nichtlineare Umsetzungsverarbeitungseinheit eine Wiederholungsstruktur einer nichtlinearen 4-Bit-Eingabe- und einer 4-Bit-Ausgabe-Berechnungseinheit und einer Bitersetzungseinheit enthält.
 
6. Datenverarbeitungsvorrichtung, die Folgendes umfasst:

einen Speicher, der konfiguriert ist, ein Programm zu halten;

einen Prozessor, der konfiguriert ist, das Programm auszuführen; und

eine Datenumsetzungsverarbeitungsvorrichtung nach Anspruch 1.


 


Revendications

1. Dispositif de traitement de données (700), comprenant :

une unité de traitement de conversion de données (703) configurée pour diviser et entrer des bits de configuration de données à traiter pour former une pluralité de lignes, et pour exécuter de manière répétée un traitement de conversion de données portant sur les données dans chaque ligne ;

dans lequel l'unité de traitement de conversion de données comporte une unité d'exécution de fonction F configurée pour entrer une ligne de données configurant la pluralité de lignes, et pour générer des données de conversion ;

dans lequel l'unité d'exécution de fonction F comporte une unité de traitement de conversion non linéaire configurée pour exécuter un traitement de conversion non linéaire ;

dans lequel l'unité de traitement de conversion non linéaire comporte une structure en répétition d'une unité de substitution de bits et d'une unité de calcul non linéaire ;

dans lequel chaque unité de calcul non linéaire respective comprise dans la structure en répétition est une unité de calcul constituée d'une unité de calcul soit de type NON-ET, soit de type NON-OU et d'une unité de calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif ;

dans lequel l'unité de traitement de conversion non linéaire est configurée pour délivrer en sortie un bit du résultat de calcul issu de l'unité de calcul soit de type NON-ET, soit de type NON-OU avec une entrée sur 2 bits et une sortie sur 1 bit à l'unité de calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif, configurée pour exécuter le calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif avec l'autre bit de données d'entrée, et configurée pour délivrer en sortie les données sur 1 bit générées à partir du résultat de calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif en tant que bit de configuration en tant que résultat du traitement de conversion non linéaire ; et

dans lequel la structure en répétition de l'unité de traitement de conversion non linéaire est une configuration comportant à la fois une partie non linéaire avec une unité de calcul de type OU-Exclusif et une partie non linéaire avec une unité de calcul de type NON-OU-Exclusif.


 
2. Dispositif de traitement de données selon la revendication 1, dans lequel l'unité de substitution de bits comporte une configuration de câblage configurée pour brasser les bits d'entrée et de sortie correspondant à l'unité de calcul non linéaire.
 
3. Dispositif de traitement de données selon la revendication 1, lequel dispositif de traitement de données exécute un traitement de chiffrement dans le but de convertir du texte en clair constituant des données d'entrée en texte chiffré, et d'exécuter un traitement de déchiffrement dans le but de convertir du texte chiffré constituant des données d'entrée en texte clair.
 
4. Procédé de traitement de données destiné à être exécuté dans un dispositif de traitement de données (700) ;
dans lequel une unité de traitement de données (703) divise et entre des bits de configuration de données à traiter pour former une pluralité de lignes, et exécute de manière répétée un traitement de conversion de données portant sur les données dans chaque ligne ;
dans lequel le traitement de conversion de données exécute une fonction F configurée pour entrer une ligne de données configurant la pluralité de lignes, et génère des données de conversion ;
dans lequel le traitement d'exécution de la fonction F exécute un traitement de conversion non linéaire ;
dans lequel l'unité de traitement de conversion non linéaire comporte une structure en répétition d'une unité de substitution de bits et d'une unité de calcul non linéaire ;
et dans lequel la pluralité d'unités de calcul non linéaire comprises dans la structure en répétition comportent au moins deux unités de calcul non linéaire différentes, voire plus, présentant des configurations de calcul différentes, à savoir une unité de calcul soit de type NON-ET, soit de type NON-OU et une unité de calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif ;
dans lequel l'unité de traitement de conversion non linéaire délivre en sortie un bit du résultat de calcul issu de l'unité de calcul soit de type NON-ET, soit de type NON-OU avec une entrée sur 2 bits et une sortie sur 1 bit à l'unité de calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif, exécute le calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif avec l'autre bit de données d'entrée, et délivre en sortie les données sur 1 bit générées à partir du résultat de calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif en tant que bit de configuration en tant que résultat du traitement de conversion non linéaire ;
dans lequel chaque unité de calcul non linéaire respective comprise dans la structure en répétition est une unité de calcul constituée d'une unité de calcul soit de type NON-ET, soit de type NON-OU et d'une unité de calcul soit de type OU-Exclusif, soit de type NON-OU-Exclusif ; et
dans lequel la structure en répétition de l'unité de traitement de conversion non linéaire est une configuration comportant à la fois une partie non linéaire avec une unité de calcul de type OU-Exclusif et une partie non linéaire avec une unité de calcul de type NON-OU-Exclusif.
 
5. Dispositif de traitement de données selon la revendication 1, dans lequel l'unité de traitement de conversion non linéaire comporte une structure en répétition constituée d'une unité de calcul non linéaire d'entrée sur 4 bits et de sortie sur 4 bits et d'une unité de substitution de bits.
 
6. Dispositif de traitement d'informations, comprenant:

une mémoire configurée pour stocker un programme ;

un processeur configuré pour exécuter le programme ; et

un dispositif de traitement de conversion de données selon la revendication 1.


 




Drawing




























































































Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description




Non-patent literature cited in the description