Pure Rust MAC implementations for the OxiCrypto stack.
Provides [Mac] and [StreamingMac] trait wrappers for:
- HMAC-SHA-256 / SHA-384 / SHA-512 (one-shot + streaming + truncated)
- HMAC-SHA3-256 / SHA3-512
- Poly1305 (one-time MAC)
- CMAC-AES-128 / CMAC-AES-256
- KMAC128 / KMAC256 (SP 800-185, via
tiny-keccak)
All MAC verifications use constant-time comparison via the subtle crate.