Skip to content

BLAKE3 - #730

Merged
sjaeckel merged 3 commits into
developfrom
pr/blake3
Aug 4, 2026
Merged

BLAKE3#730
sjaeckel merged 3 commits into
developfrom
pr/blake3

Conversation

@karel-m

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

Copy link
Copy Markdown
Member

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

@sjaeckel sjaeckel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Kind of true, but then it's also widely used and specified at the C2SP https://c2sp.org/BLAKE3@v1.0.0

@sjaeckel
sjaeckel merged commit 223ecd2 into develop Aug 4, 2026
24 of 202 checks passed
@sjaeckel
sjaeckel deleted the pr/blake3 branch August 4, 2026 09:29
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.

2 participants