首页> 外文会议>International conference on smart computing and communication >Fast Implementation for SM4 Cipher Algorithm Based on Bit-Slice Technology
【24h】

Fast Implementation for SM4 Cipher Algorithm Based on Bit-Slice Technology

机译:基于位片技术的SM4密码算法的快速实现

获取原文

摘要

The SM4 block cipher algorithm used in IEEE 802.11i standard is released by the China National Cryptographic Authority and is one of the most important symmetric cryptographic algorithms in China. However, whether in the round encryption or key expansion phase of the SM4 algorithm, a large number of bit operations on the registers (e.g., circular shifting) are required. These operations are not effective to encryption in scenarios with large-scale data. In traditional implementations of SM4, different operands are assigned to different words and are processed serially, which can bring redundant operations in the process of encryption and decryption. Bit-slice technology places the same bit of multiple operands into one word, which facilitates bit-level operations in parallel. Bit-slice is actually a single instruction parallel processing technology for data, hence it can be accelerated by the CPU's multimedia instructions. In this paper, we propose a fast implementation of the SM4 algorithm using bit-slice techniques. The experiment proves that the Bit-slice based SM4 is more efficient than the original version. It increases the encryption and decryption speed of the message by an average of 80%-120%, compared with the original approach.
机译:IEEE 802.11i标准中使用的SM4块密码算法是由中国国家密码管理局发布的,并且是中国最重要的对称密码算法之一。但是,无论在SM4算法的循环加密还是密钥扩展阶段,都需要对寄存器进行大量的位运算(例如,循环移位)。在具有大规模数据的方案中,这些操作对加密无效。在SM4的传统实现中,将不同的操作数分配给不同的字并进行串行处理,这可能在加密和解密过程中带来冗余操作。位切片技术将多个操作数的相同位放入一个字中,这有助于并行进行位级操作。位切片实际上是一种用于数据的单指令并行处理技术,因此可以通过CPU的多媒体指令来加速它。在本文中,我们提出了使用位片技术快速实现SM4算法的方法。实验证明,基于位片的SM4比原始版本更有效。与原始方法相比,它将消息的加密和解密速度平均提高80%-120%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号