AES-192-OCB3
Offset Codebook mode v3 (RFC 7253), a parallel AES-based AEAD with a 128-bit tag
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About AES-192-OCB3
AES-192-OCB3 is one of 3 OCB3 variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 24-byte (192-bit) key, a 1–15-byte nonce and a 16-byte (128-bit) authentication tag. Its registry entry cites RFC 7253. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
OCB3 is the third version of the Offset Codebook authenticated encryption mode, specified for AES in RFC 7253. It runs roughly one block cipher call per block, can process blocks in parallel, and produces a 16-byte tag. NextSSL carries AES-128, AES-192 and AES-256 variants.
OCB is an authenticated encryption mode designed by Phillip Rogaway and Ted Krovetz. Version 3 is specified in RFC 7253 and uses an offset that changes from block to block, so each block costs one block cipher call plus a small amount of XOR work, and blocks can be processed in parallel.
NextSSL carries aes-128-ocb3, aes-192-ocb3 and aes-256-ocb3, each with a 16-byte tag. Nonces may be from 1 to 15 bytes, which is more flexible than the 12-byte nonce used by GCM. A nonce must still never repeat under the same key, since reuse breaks both privacy and authenticity.
The archive tier for these entries is unverified, even though the mode itself is specified in an RFC. The tier reflects NextSSL's own review status, so the RFC text and independent analysis should be consulted for the mode's guarantees.
History
2011–2021OCB3 presented by Krovetz and Rogaway at FSE
Specified for AES in RFC 7253
OCB chosen for the CAESAR final portfolio
OCB patents placed in the public domain
How it works
- The key and nonce derive an initial offset, and the offset is updated for each block.
- Each plaintext block is XORed with the offset, encrypted with AES, and XORed with the offset again.
- Associated data and the final block are folded into a checksum that produces the 16-byte tag.
Security notes
The mode is specified in RFC 7253, but NextSSL marks it unverified. Reusing a nonce with the same key breaks both confidentiality and integrity, so nonce uniqueness must be enforced.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 24 | Secret key |
| nonce | 1 – 15 | Nonce / IV |
| tag | 16 | Authentication tag |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
key, nonce = root.random(24), root.random(1)
ct = root.call("aead_seal", "aes-192-ocb3", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "aes-192-ocb3", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("aes-192-ocb3", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("aes-192-ocb3", NULL, key, nonce, aad, ct, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_aead_in(reg::all(), Policy::Any, "aes-192-ocb3", &Params::new())?;
let ct = alg.seal(&key, &nonce, b"header", b"secret")?;
let pt = alg.open(&key, &nonce, b"header", &ct)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other OCB3 variants
2Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is AES-192-OCB3?
AES-192-OCB3 is an AEAD in the OCB3 family. OCB3 is the third version of the Offset Codebook authenticated encryption mode, specified for AES in RFC 7253.
What are the AES-192-OCB3 sizes?
In NextSSL, AES-192-OCB3 uses: key 24 bytes, nonce 1 to 15 bytes, tag 16 bytes.
Who designed AES-192-OCB3 and when?
AES-192-OCB3 belongs to the OCB3 family, first published in 2011 by Phillip Rogaway, Ted Krovetz. Its origin: RFC 7253.
Which standards define AES-192-OCB3?
AES-192-OCB3 is referenced by RFC 7253.
Is AES-192-OCB3 safe to use?
AES-192-OCB3 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other OCB3 variants are there?
NextSSL also registers aes-128-ocb3, aes-256-ocb3 in the OCB3 family.
Related families
CBC-MAC then counter-mode encryption with AES (NIST SP 800-38C, RFC 3610)
AES-EAXTwo-pass AEAD combining AES-CTR with OMAC (CMAC) authentication
AES-GCMCounter-mode AES with a GHASH polynomial MAC; the default AEAD of TLS and IPsec
AES-GCM-SIVNonce-misuse-resistant AES mode using POLYVAL and synthetic IVs (RFC 8452)
AES-SIVDeterministic authenticated encryption from CMAC-based S2V and AES-CTR (RFC 5297)