Message authentication codes

Pelican

Pelican MAC: an AES-based message authentication code with a 16-byte tag, unverified in NextSSL

unverified Root API only
Unverified tier.

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–2005
  1. Pelican MAC published by Joan Daemen, Vincent Rijmen

How it works

  1. The key is expanded into round keys for the AES round function.
  2. The message is processed in blocks, each block XORed into the state and mixed by the AES round function.
  3. 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

Message authentication with a shared keyResearch on AES-based MACsNot recommended for new deployments

Sizes

FieldBytesMeaning
key16 – 32Secret key
tag16Authentication 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)

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently 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).