AES-256-GCM-SIV #
RFC 8452, 256-bit keys. Nonce-misuse resistant: a repeated nonce reveals only whether two plaintexts were equal.
- Derive a POLYVAL key and a message-encryption key from the key and nonce.
- Tag: POLYVAL over padded AD, padded plaintext and the lengths, XORed with the nonce, top bit cleared, then encrypted under the message-encryption key.
- Encrypt the plaintext in CTR mode, with the counter seeded from the tag.
@[reducible, inline]
The key-generating key.
Equations
Instances For
@[reducible, inline]
Equations
Instances For
@[reducible, inline]
Equations
Instances For
CTR mode is its own inverse #
Sealing and opening #
Split off the tag, decrypt, recompute the tag and accept only on equality. The comparison is not constant time.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The AEAD instance #
AES-256-GCM-SIV as an AEAD.
Equations
- One or more equations did not get rendered due to their size.