Module and method for realizing SM4 encryption algorithm on FPGA
The invention discloses a module and a method for realizing an SM4 encryption algorithm on an FPGA (Field Programmable Gate Array), the module comprises a key expansion algorithm module and an encryption operation module, the key expansion algorithm module receives initial key data and performs mult...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
07.05.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a module and a method for realizing an SM4 encryption algorithm on an FPGA (Field Programmable Gate Array), the module comprises a key expansion algorithm module and an encryption operation module, the key expansion algorithm module receives initial key data and performs multiple rounds of iterative operation on the initial key data, and each round of iteration needs a round key of the round to participate in operation to generate round key data; the encryption operation module receives plaintext data to be encrypted and round key data, multiple rounds of iteration encryption operation are conducted on the plaintext data through the round key data, each round of iteration needs the round key of the round to participate in the operation, and final ciphertext data are generated. According to the method, clock resources occupied by SM4 operation are greatly saved, less resources are occupied in an FPGA, and the operation speed of an encryption algorithm is increased.
本发明公开一种在FPGA上实现SM4加密算 |
---|---|
Bibliography: | Application Number: CN202011347469 |