Pelican
Pelican MAC: an AES-based message authentication code with a 16-byte tag, unverified in NextSSL
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 Pelican
Pelican is a message authentication code from the Pelican MAC family. It uses a 16–32-byte key and a 16-byte (128-bit) authentication tag. 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
Pelican is an AES-based message authentication code proposed as a MAC built on the AES round function. NextSSL carries it with keys from 16 to 32 bytes and 16-byte tags, marked unverified.
Pelican is a MAC that builds its keyed function from the AES round function, so an implementation can reuse AES hardware. The key length is variable within the stated range, and the tag is a fixed 16 bytes. A MAC shows that a message came from someone holding the key and was not changed, but it does not hide the message.
NextSSL lists Pelican as a MAC rather than a hash, so it is used in the same role as HMAC or CMAC when a message needs authentication under a shared key. Keys should come from a cryptographically secure random source and never be reused across unrelated purposes. NextSSL keeps this entry for research and interoperability tests, and the registry does not record a review of its design.
The design is an unverified academic proposal in NextSSL's data, so its security margin has not been checked by the archive. Use HMAC-SHA-2 or a standard AEAD for new work. For new systems, HMAC with SHA-2 or a standard AEAD is the recommended approach. A MAC shows that a message came from someone holding the key and was not changed, but it does not hide the message.
History
2005–2005Pelican MAC published by Joan Daemen, Vincent Rijmen
How it works
- The key is expanded into round keys for the AES round function.
- The message is processed in blocks, each block XORed into the state and mixed by the AES round function.
- The final state is truncated to the 16-byte tag.
Security notes
NextSSL records Pelican as unverified, so no security claim is made. Prefer HMAC or CMAC from standard primitives.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 – 32 | Secret key |
| 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 = root.random(16)
tag = root.call("mac", "pelican", None, key, b"message", 0)[0]
ok = root.check("mac_verify", "pelican", None, key, b"message", tag)
nextssl_root_mac("pelican", NULL, key, data, 0, tag);
nextssl_root_mac_verify("pelican", NULL, key, data, tag);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_mac_in(reg::all(), Policy::Any, "pelican", &Params::new())?;
let tag = alg.tag(&key, b"message")?;
let ok = alg.verify(&key, b"message", &tag)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
More message authentication codes
All 30Frequently asked questions
What is Pelican?
Pelican is a MAC in the Pelican MAC family. Pelican is an AES-based message authentication code proposed as a MAC built on the AES round function.
What are the Pelican sizes?
In NextSSL, Pelican uses: key 16 to 32 bytes, tag 16 bytes.
Who designed Pelican and when?
Pelican belongs to the Pelican MAC family, first published in 2005 by Joan Daemen, Vincent Rijmen.
Is Pelican safe to use?
Pelican 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).
Related families
NIST SP 800-90A deterministic random bit generator built on HMAC
AES-GMACThe authentication-only mode of AES-GCM: a nonce-based MAC from GHASH and AES
CMACThe block-cipher MAC standardised by NIST in SP 800-38B, usually instantiated with AES
HMACThe standard way to build a MAC from a cryptographic hash (RFC 2104, FIPS 198-1)
PMACRogaway's fully parallelisable block-cipher MAC
Poly1305Bernstein's fast one-time authenticator, paired with ChaCha20 in RFC 8439