09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Cryptographic processor (CRYP) <strong>RM0090</strong><br />

AES Galois/counter mode (GCM)<br />

The AES Galois/counter mode (GCM) allows encrypting and authenticating the plaintext,<br />

and generating the correspondent ciphertext and tag (also known as message<br />

authentication code or message integrity check). This algorithm is based on AES counter<br />

mode to ensure confidentiality. It uses a multiplier over a fixed finite field to generate the tag.<br />

An initialization vector is required at the beginning of the algorithm.<br />

The message to be processed is split into 2 parts:<br />

● The header (also knows as additional authentication data): data which is authenticated<br />

but no protected (such as information for routing the packet)<br />

● The payload (also knows as plaintext or ciphertext): the message itself which is<br />

authenticated and encrypted.<br />

Note: The header must precede the payload and the two parts cannot be mixed together.<br />

The GCM standard requires to pass, at the end of the message, a specific 128-bit block<br />

composed of the size of the header (64 bits) and the size of the payload (64 bits). During the<br />

computation, the header blocks must be distinguished from the payload blocks.<br />

559/1416 Doc ID 018909 Rev 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!