Skip to content

BLAKE3#730

Open
karel-m wants to merge 6 commits intodevelopfrom
pr/blake3
Open

BLAKE3#730
karel-m wants to merge 6 commits intodevelopfrom
pr/blake3

Conversation

@karel-m
Copy link
Copy Markdown
Member

@karel-m karel-m commented Apr 16, 2026

Implemented BLAKE3 (hash function) support. Everything (code, headers, tests, docs) is implemented exactly like all other hash algorithms in libtomcrypt.

The code is adapted from a public domain implementation: https://github.com/michaelforney/blake3-tiny (I preferred simplicity over performance; volunteers with a more performant implementation are welcome).

Test vectors are taken from the official BLAKE3 repository: https://github.com/BLAKE3-team/BLAKE3/blob/master/test_vectors/test_vectors.json

The only issue is that BLAKE3 is not currently standardised, and I usually tend to reject similar PRs with non-standardised algorithms :)

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