【24h】

Implementing GCM on ARMv8

机译:在ARMv8上实施GCM

获取原文

摘要

The Galois/Counter Mode is an authenticated encryption scheme which is included in protocols such as TLS and IPSec. Its implementation requires multiplication over a binary finite field, an operation which is costly to implement in software. Recent processors have included instructions aimed to speed up binary polynomial multiplication, an operation which can be used to implement binary field multiplication. Some processors of the ARM architecture, which was reported in 2014 to be present in 95% of smartphones, include such instructions. In particular, recent devices such as the iPhone 5s and Galaxy Note 4 have ARMv8 processors, which provide instructions able to multiply two 64-bit binary polynomials and to encrypt using the AES cipher. In this work we present an optimized and timing-resistant implementation of GCM over AES-128 using these instructions. We have obtained timings of 1.71 cycles per byte for GCM authenticated encryption (9 times faster than the timing on ARMv7), 0.51 cycles per byte for GCM authentication only (11 times faster) and 1.21 cycles per byte for AES-128 encryption (8 times faster).
机译:Galois / Counter模式是经过认证的加密方案,该方案包含在TLS和IPSec等协议中。其实现需要在二进制有限字段上乘法,这是在软件中实现昂贵的操作。最近的处理器包括旨在加速二元多项式乘法的指令,该操作可用于实现二进制字段乘法。 2014年报告的ARM架构的一些处理器,以95%的智能手机出现,包括此类说明。特别地,诸如iPhone 5s和Galaxy Note 4的最近设备具有ARMv8处理器,其提供能够乘以两个64位二进制多项式的指令并使用AES密码加密。在这项工作中,我们使用这些指令呈现GCM的优化和时序实现GCM。我们已经获得了每一个字节为1.71个周期的时间,用于GCM认证加密(比ARMv7上的时序快9倍),每一个字节为0.51个周期,仅用于GCM认证(11倍),每个字节为AES-128加密的1.21周期(8次)快点)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号