
An implementation of the Pelican MAC function using AESNI.
The Pelican 2.0 MAC function is a cryptographic tool that employs the Advanced Encryption Standard (AES) for message authentication. Designed for use on modern Intel and AMD CPUs with AES-NI support, this implementation promises to deliver efficient and secure message integrity checks. Ideal for developers looking for a straightforward way to secure their data, Pelican is notable for its simplicity and performance.
For those who came across the Pelican function while exploring the "Serious Cryptography" book, it represents an exciting addition to your cryptographic toolkit. The implementation is designed to handle multiple message authentication codes (MACs) efficiently without requiring constant reinitialization, making it both practical and versatile.
pelican_init() with your key to prepare for MAC generation.pelican() function allows for generating multiple MACs from the same key without needing to reset the state, enhancing efficiency in cryptographic operations.-maes compiler flag to enable AES opcodes, ensuring your build is optimized for performance.pelican_KEYBYTES=32, allowing for enhanced security if needed.-Ofast -maes -march=native) promote the best speed and efficiency for applications using this MAC function.