PMAC
Rogaway's fully parallelisable block-cipher MAC
Overview
PMAC is a block-cipher-based message authentication code designed by John Black and Phillip Rogaway in 2002. Unlike CBC-MAC and CMAC, every block can be processed independently, so it can use parallel hardware and allows incremental updates.
PMAC masks each message block with a distinct offset derived from the encryption of zero via Gray-code sequences of field doublings, encrypts each masked block, and XORs the results together. The final block is handled specially, and the XOR sum is encrypted once more to produce the tag. Because no block depends on another's ciphertext, the encryptions can run concurrently.
NextSSL includes AES-PMAC following Rogaway's PMAC1. PMAC was never adopted as a NIST mode, but its offset technique was carried into the OCB authenticated-encryption family. PMAC is also the basis of PMAC-SIV and other parallel deterministic modes. Its parallelism matters most on wide hardware or for very long messages, where CMAC's sequential chaining becomes a bottleneck.
History
2002–2002PMAC published by John Black, Phillip Rogaway
Security notes
PMAC has a proof of security up to the birthday bound of the block size, similar to CMAC. It is less widely implemented and so is tiered as research in NextSSL.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| AES-PMAC aes-pmac |
research | key 16–32 · tag 16 | Rogaway PMAC1 (2002) | root |
Frequently asked questions
Which PMAC variants does NextSSL include?
NextSSL registers 1 PMAC variant: aes-pmac.