论文部分内容阅读
密码算法在运行时可能会受到侧信道攻击,抗侧信道攻击的FPGA密码算法实现是目前研究的一个热点。通过随机数保护关键数据的S盒移位掩码法被认为是一种有效的防御手段。采用该方式实现的密码算法在提高运行安全性的同时,可能会带来硬件资源开销的增加及加解密速度的降低。通过对SM4算法的实现表明,采用合适的实现方式时S盒移位掩码法抗侧信道攻击实现对算法硬件资源开销及加解密速度影响不是太大,具有一定的实用价值。
At the runtime, the cryptographic algorithm may be attacked by the side channel. The implementation of the FPGA cryptographic algorithm for anti-side-channel attack is a hot issue currently studied. S-box shift masking, which protects critical data by random numbers, is considered an effective defense. The cryptographic algorithm implemented in this way may increase the hardware resource overhead and reduce the encryption and decryption speed while improving the operational safety. The implementation of SM4 algorithm shows that the anti-side-channel attack of S-box shift mask method has a little impact on the hardware resource overhead and encryption / decryption speed when using the proper implementation mode, which is of practical value.