Unlock instant, AI-driven research and patent intelligence for your innovation.

Optimal S box construction method and circuit

A construction method and optimal technology, applied in the field of communication, can solve the problems of large number of combinational logic gates, time-consuming, algebraic times and large number of items, etc.

Inactive Publication Date: 2013-11-27
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] (2) Differential uniformity
Considering that the permutation P defined on the set {0,1,K,15} has a total of 16!≈2 44.25 Only a few of them satisfy the conditions of Step2 and Step3 at the same time, so constructing the optimal S-box by random selection, especially when a large number of S-boxes need to be selected, will be a very time-consuming task
In addition, because the optimal S-boxes constructed are randomly generated, it is usually impossible to write simple mathematical formulas for such S-boxes, so the algebraic degree and number of terms of the Boolean function expressions are large, which makes the hardware implementation The number of combined logic gates required is large, which will increase the overall hardware implementation cost of the cryptographic algorithm

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Optimal S box construction method and circuit
  • Optimal S box construction method and circuit
  • Optimal S box construction method and circuit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The processing steps of adopting the scheme of the present invention to construct N optimal 4×4S boxes are as follows:

[0066] Step1: For i=1,2,...,N, repeat the following steps:

[0067] Step2: Randomly generate a 4×4 binary field matrix, and test whether the matrix is ​​invertible. If the matrix is ​​invertible, record it as Ai, and execute Step3; otherwise, execute this step again.

[0068] Step3: Randomly generate a 4×4 binary domain matrix, and test whether the matrix is ​​invertible. If the matrix is ​​invertible, denote it as C i , and execute Step4; otherwise, execute this step again.

[0069] Step4: Randomly generate two constant vectors b i , d i ∈ F 2 4 , according to the following formula to calculate the content S of the new S box i (x)=C i ·S(A i ·x+b i )+d i , where S(x) is the basic S-box whose contents are shown in Table 1.

[0070] Step5: Output the S i (x) as an optimal S-box. If i

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an optimal S box construction method and an optimal S box construction circuit, which belong to the technical field of communication. The method comprises the following steps of: 1) setting x0x1x2x3 to be the input information of an S box, performing a logical AND operation on x0 and x1, and updating x2 by using a value obtained by performing an XOR operation on a logical AND operation result and x2; 2) performing a logical OR operation on x1 and the updated x2, and updating x3 by using the value obtained by performing the XOR operation on a logical OR operation result and x3; 3) performing the logical AND operation on the updated x2 and the updated x3, and updating x0 by using the value obtained by performing the XOR operation on the logical AND operation result and x0; 4), performing the logical OR operation on the updated x0 and the updated x3, and updating x1 by using the value obtained by the logical OR operation result and x1; and 5) adopting the x0x1x2x3 updated by the steps 2) to 4) as the output of the input information x0x1x2x3 set by the step 1) and passing through the S box. The circuit comprises four XOR operation units A1, A2, A3 and A4, two logical AND operation units B1 and B2 and two logical OR operation units C1 and C2. By the method and the circuit, a great number of optimal 4*4 S boxes can be generated rapidly, and hardware realization cost is low.

Description

technical field [0001] The invention proposes an optimal S-box construction method and its circuit, which can be applied to quickly generate a large number of 4×4S-boxes with optimal cryptographic properties, and the hardware implementation cost of this type of S-box is very small, which belongs to the field of communication technology . Background technique [0002] S-box is a multi-output Boolean function, which is an extremely important non-linear component in the construction of cryptographic algorithms, and is widely used in various cryptographic schemes. In particular, almost all lightweight cryptographic algorithms designed for practical application requirements such as resource-constrained environments use 4×4 S-boxes. Since lightweight cryptographic algorithms are usually implemented by hardware, the hardware implementation cost and security of the S-box as the basic module of the algorithm are equally important. The present invention proposes an efficient method ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/06
Inventor 张蕾吴文玲
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI