Overview of libaegis features
mainlibaegis provides portable C implementations of the AEGIS family of high-performance authenticated ciphers. It supports runtime CPU detection to utilize hardware acceleration where available.
Supported AEGIS Variants:
- AEGIS-128L: 16 and 32 bytes tags (software, AES-NI, ARM Crypto, Altivec).
- AEGIS-128X2: 16 and 32 bytes tags (software, VAES + AVX2, AES-NI, ARM Crypto, Altivec).
- AEGIS-128X4: 16 and 32 bytes tags (software, AVX512, VAES + AVX2, AES-NI, ARM Crypto, Altivec).
- AEGIS-256: 16 and 32 bytes tags (software, AES-NI, ARM Crypto, Altivec).
- AEGIS-256X2: 16 and 32 bytes tags (software, VAES + AVX2, AES-NI, ARM Crypto, Altivec).
- AEGIS-256X4: 16 and 32 bytes tags (software, AVX512, VAES + AVX2, AES-NI, ARM Crypto, Altivec).
Key Capabilities:
- AEGIS-MAC with incremental updates.
- Encryption/decryption with attached or detached tags.
- Incremental encryption and decryption.
- Random-Access File (RAF) API for encrypted filesystems and databases.
- Unauthenticated encryption/decryption (stream cipher mode).
- Deterministic pseudorandom stream generation.