Method and apparatus for facilitating efficient authenticated encryption
Abstract
A block-cipher based encryption scheme providing both privacy and authenticity that encrypts an arbitrary-length message into a minimal-length ciphertext. In one embodiment, “OCB”, a message is encrypted using a nonce by partitioning it into 128-bit message blocks and a possibly shorter message fragment. A sequence of offsets is computed from the nonce and block cipher using shifts and conditional xors. Each message block is xored with an offset, enciphered, and xored with the offset, yielding a ciphertext block. The length of the message fragment is encoded, xored with an offset, enciphered to give a pad, truncated, and xored with the message fragment to give a ciphertext fragment. A checksum is formed by xoring the message blocks, the padded ciphertext fragment, and the pad. It is xored with an offset and enciphered to yield a tag. The ciphertext is the ciphertext blocks, the ciphertext fragment, and the tag.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 33.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented authenticated-encryption method that uses an n-bit block cipher, a key, and an n-bit nonce to encrypt a message into a ciphertext, the method comprising: partitioning the message into m−1 message blocks and one final fragment, each message block having n bits and the final fragment having between 0 and n bits; using the block cipher, the key, and the nonce to generate a sequence of m offsets, each offset having n bits, wherein the sequence of offsets is computed by (a) computing a 0 th basis offset by applying the block cipher, keyed by the key, to a constant; (b) for e
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 33 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- Black, Halevi, Krawczyk, Krovetz, Rogaway. UMAC: Fast and Secure Message Authentication. 1999.
- Gligor and Donescu. Fast Encryption and Authentication. XCBC Encryption and XECB Authentication Modes. Oct. 27, 2000.
- Jueneman, Matyas, Meyer. Message Authentication with Manipulation Detection Codes. Computer Sciences Corp and IBM Corp. 1988.
- Jutla, Charanjit. Encryption Modes with Almost Free Message Integrity. Aug. 2000.
- Menezes, Alfred J. Handbook of Applied Cryptography. 1997. CRC Press. pp. 321-383.