Table of Contents

Ciphers - GCM

GCM (Galois Counter Mode) is a is a mode of operation for symmetric-key cryptographic block cipher widely adopted for its performance.

The operation is an authenticated encryption algorithm designed to provide both data authenticity (integrity) and confidentiality.

GCM is defined for block ciphers with a block size of 128 bits.


Pros

GCM is:


Cons

GCM has two authentication weaknesses.

  1. The first weakness is that an n-bit tag provides only n − k bits of authentication security when messages are 2 k blocks long.
    • Competing modes do not have this problem, or have it only when n = 128, in which case the practical effect is minimal.

  2. A successful forgery immediately reveals information about the authen­tication key.
    • This weakness exacerbates the consequences of the first one, and leads to a complete loss of authentication security.