METHOD FOR CONDUCTING DATA ENCRYPTION AND DECRYPTION USING SYMMETRIC CRYPTOGRAPHY ALGORITHM AND TABLE LOOK-UP DEVICE
First Claim
1. A data encryption and decryption method using a symmetric cryptographic algorithm, comprising:
- once it is determined that S boxes are needed to be used to perform table lookup in the symmetric cryptographic algorithm, determining types of all S boxes needed to be used;
for each type of S boxes, determining a total number Ni of S boxes of the type, and in a case that Ni is greater than 1, determining that a reusing condition is satisfied for the type of S boxes; and
reusing at least one type of S boxes, for which the reusing condition is satisfied, in the data encryption and decryption using the symmetric cryptographic algorithm.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method for conducting data encryption and decryption using a symmetric cryptography algorithm and a table look-up device. The method comprises: when it is determined that it is required to use S-boxes to look up a table in a symmetric cryptography algorithm, determining all types of S-boxes to be used; for each type of S-box, determining the total number Ni of the type of S-box, and when Ni is larger than 1, determining that the type of S-box meets a multiplexing condition; and when data encryption and decryption are conducted using the symmetric cryptography algorithm, multiplexing at least one type of S-box which meets the multiplexing condition. The present application can reduce the occupation by the symmetric cryptography algorithm of hardware resources under the condition of comparative shortage of hardware resources.
26 Citations
20 Claims
-
1. A data encryption and decryption method using a symmetric cryptographic algorithm, comprising:
-
once it is determined that S boxes are needed to be used to perform table lookup in the symmetric cryptographic algorithm, determining types of all S boxes needed to be used; for each type of S boxes, determining a total number Ni of S boxes of the type, and in a case that Ni is greater than 1, determining that a reusing condition is satisfied for the type of S boxes; and reusing at least one type of S boxes, for which the reusing condition is satisfied, in the data encryption and decryption using the symmetric cryptographic algorithm. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
10. A table look-up device for data encryption and decryption using a symmetric cryptographic algorithm, comprising:
-
a processing unit for table lookup input data, configured to, in a case that table lookup is needed in the encryption and decryption using the symmetric cryptographic algorithm, process input data for which the table lookup needs to be performed, for feeding into a S box reusing unit; the S box reusing unit, configured to reuse types of S boxes, which satisfy a reusing condition and are selected to be reused, perform table lookup with the table lookup input data according to a predetermined correspondence relationship, and for each type of S boxes, in a case that a total number N, of S boxes of this type is greater than 1, determine that the S boxes of this type satisfy the reusing condition; and a processing unit for table lookup output data, configured to process table lookup output information from the S box reusing unit to acquire a table lookup result. - View Dependent Claims (11)
-
Specification