Galois/Counter Mode  GCM

GCMGCM K P(associated data.  A C  A T  K A, C, T  P T GCM128Galois Message Authentication Code (GMAC) GCMGCMGMAC

GCMCBC

処理の概要

編集

GCMCTRGalois mode

CTR IVAES IV

CTRassociated dataGalois modeGalois mode (Galois field) H IVGalois modeCBC

暗号化と認証タグ生成の詳細

編集
 
GCM encryption operation

 IV counter0 IV 96counter0 

 

CTR

 

 P C   AES

Galois GF(2128) 

 

GHASHGHASH

 

 H128A C m  A128n C128i = 0, ..., m + n + 1  Xi

 A C12801   

 

 len(A)  len(C)  A C64v  A u C  

Xi 

 

 Xi Xi-1 Xm+n+1

  k  k

 

GCMCarterWegman Counter modeCWCJohn ViegaDavid A. McGrew

2007112NISTNIST Special Publication 800-38D Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMACGCMGMAC

利用

編集

[1]GCMIEEEIEEE 802.1AE (MACsec) IEEE 802.11ad (WiGig)IEEE P1619.1ANSI (INCITS) (FC-SP)IETFIPsec[2][3]SSH[4]TLS 1.2[5][6]AES-GCMNSA Suite B Cryptography

パフォーマンス

編集

GCM 

GCM112811128

2010WestmereGCMCLMUL instruction set (PCLMULQDQ)[7]GF(2n) 

GCMKäsperSchwabe"Faster and Timing-Attack Resistant AES-GCM"64AES-GCM10.68 cycles per byte[8]DaiAES-NIAESPCLMULQDQGCM3.5 cycles per byte[9]Shay Gueron Vlad KrasnovIvy Bridge2.47 cycles per byteOpenSSLNSSGCM[10]

function stitching[11]GCMManleyGreggfunction stitching

特許

編集

設計者の声明によれば、GCMは特許によって利用を妨げられることはない[12]

セキュリティ

編集

GCMconcrete security model[13]GCM239256NIST Special Publication 800-38D

GCM使 t t 12812011210496 t64322寿NIST SP 800-38DAppendix Ct = 32210211t = 64215232

 t2-t GCMadditional authenticated data (AAD)GCM

FergusonSaarinenGCM

Fergusonn GHASH n2t  t128 HH [14]

GCM

SaarinenGCM[15]n*128 (n/2)128 GCMAaarinenGCMGF(2128)  GF(2128+12451) 2128+12451  (Sophie Germain prime)Sophie Germain Counter Mode (SGCM)

脚注

編集
  1. ^ Lemsitzer, Wolkerstorfer, Felber, Braendli, Multi-gigabit GCM-AES Architecture Optimized for FPGAs. CHES '07: Proceedings of the 9th international workshop on Cryptographic Hardware and Embedded Systems, 2007.
  2. ^ RFC 4106 The Use of Galois/Counter Mode (GCM) in IPsec Encapsulating Security Payload (ESP)
  3. ^ RFC 4543 The Use of Galois Message Authentication Code (GMAC) in IPsec ESP and AH
  4. ^ RFC 5647 AES Galois Counter Mode for the Secure Shell Transport Layer Protocol
  5. ^ RFC 5288 AES Galois Counter Mode (GCM) Cipher Suites for TLS
  6. ^ RFC 6367 Addition of the Camellia Cipher Suites to Transport Layer Security (TLS)
  7. ^ [1]
  8. ^ Cryptographic Hardware and Embedded Systems — CHES 2009, Lecture Notes in Computer Science 5745, Springer-Verlag (2009), pp 1—17.
  9. ^ https://groups.google.com/g/cryptopp-users/c/5x-vu0KwFRk/m/CO8UIzwgiKYJ
  10. ^ Gueron, Shay. “AES-GCM for Efficient Authenticated Encryption – Ending the Reign of HMAC-SHA-1?”. Workshop on Real-World Cryptography. 2013年2月8日閲覧。
  11. ^ Gopal, V., Feghali, W., Guilford, J., Ozturk, E., Wolrich, G., Dixon, M., Locktyukhin, M., Perminov, M.: Fast Cryptographic Computation on Intel Architecture Via Function Stitching. Intel Corp. (2010) http://download.intel.com/design/intarch/PAPERS/323686.pdf.
  12. ^ authors' statement
  13. ^ [2] The Security and Performance of the Galois/counter mode (GCM) of Operation, Proceedings of INDOCRYPT 2004, LNCS 3348 (2004)
  14. ^ Niels Ferguson, Authentication Weaknesses in GCM, 2005-05-20
  15. ^ Markku-Juhani O. Saarinen (2011-04-20). Cycling Attacks on GCM, GHASH and Other Polynomial MACs and Hashes. FSE 2012. http://eprint.iacr.org/2011/202. 

参考文献

編集

関連項目

編集

外部リンク

編集