×

HIGH-EFFICIENT ENCRYPTION AND DECRYPTION PROCESSING METHOD FOR IMPLEMENTING SMS4 ALGORITHM

  • US 20090323930A1
  • Filed: 07/19/2007
  • Published: 12/31/2009
  • Est. Priority Date: 07/31/2006
  • Status: Active Grant
First Claim
Patent Images

1. An encryption and decryption processing method for implementing SMS4 algorithm in high-efficiency, comprising:

  • 1) preparing a constant array;

    configuring a width and depth of the constant array data according to the number of data conversion processing components, data with the same width forming a row;

    2) inputting external data to a first data consignation component;

    at a triggering clock rising or falling edge of a first clock, transmitting data from the input of the first data consignation component to the output of the first data consignation component;

    3) performing a first data conversion processing;

    at a triggering clock rising or falling edge of the first clock, transmitting data at a first row of the constant array stored in a constant array storage component (3) to all data conversion components respectively;

    in the same triggering clock cycle of the first clock, inputting the data from the output of the first data consignation component to a first data conversion component for data conversion processing;

    before a subsequent triggering clock rising or falling edge of a second clock arrives, transmitting by the first data conversion component a conversion processing result to the input of a second data consignation component;

    at a triggering clock rising or falling edge of the second clock, transmitting the data from the input of the second data consignation component to the output of the second data consignation component;

    in the same triggering clock cycle of the second clock, inputting the data from the output of the second data consignation component to a second data conversion component for data conversion processing;

    before a subsequent triggering clock rising or falling edge of the first clock arrives, transmitting a processing result to the input of a third data consignation component;

    repeating the first data conversion processing until transmitting by a last data conversion component a processing result to the input of the first data consignation component;

    4) performing a second data conversion processing;

    at a next triggering clock rising or falling edge of the first clock, transmitting data at a next row of the constant array stored in the constant array storage component (3) to all the data conversion components respectively;

    in the same triggering clock cycle of the first clock, inputting the data from the output of the first data consignation component to the first data conversion component for data conversion processing;

    before a subsequent triggering clock rising or falling edge of the second clock arrives, transmitting by the first data conversion component a conversion processing result to the input of the second data consignation component;

    at a triggering clock rising or falling edge of the second clock, transmitting the data from the input of the second data consignation component to the output of the second data consignation component;

    in the same triggering clock cycle of the second clock, inputting the data from the output of the second data consignation component to the second data conversion component for data conversion processing;

    before a further triggering clock rising or falling edge of the first clock arrives, transmitting a processing result to the input of the first data consignation component;

    5) repeating the second data conversion processing;

    repeating the second data conversion processing until all specified data conversion processing is completed so as to obtain a cyclic encryption and decryption data processing result.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×