Skip to content

KMAC as defined in NIST SP 800-185#759

Open
karel-m wants to merge 2 commits intodevelopfrom
pr/KMAC128-256
Open

KMAC as defined in NIST SP 800-185#759
karel-m wants to merge 2 commits intodevelopfrom
pr/KMAC128-256

Conversation

@karel-m
Copy link
Copy Markdown
Member

@karel-m karel-m commented May 6, 2026

Implemented support for the keyed Keccak-based MAC family standardised by NIST in SP 800-185:

  • KMAC128, KMAC256 (fixed-length)
  • KMACXOF128, KMACXOF256 (XOF variants)

The implementation reuses the existing SHA3/Keccak code, so only a very small amount of new code was needed (mainly in src/mac/kmac/kmac.c).

Checklist

  • documentation is added or updated
  • tests are added or updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant