Skip to content

Conversation

@jedisct1
Copy link
Contributor

@jedisct1 jedisct1 commented Nov 4, 2025

It was not obvious that the KT128/KT256 customization string can be used to set a key, or what it was designed to be used for at all.

Also properly use key_length and not digest_length for the BLAKE3 key length (no practical changes as they are both 32, but that was confusing).

Remove unneeded simd_degree copies by the way, and that doesn't need to be in the public interface.

It was not obvious that the KT128/KT256 customization string can be
used to set a key, or what it was designed to be used for at all.

Also properly use key_length and not digest_length for the BLAKE3
key length (no practical changes as they are both 32, but that was
confusing).

Remove unneeded simd_degree copies by the way, and that doesn't need
to be in the public interface.
@jedisct1 jedisct1 merged commit 4b593a6 into ziglang:master Nov 7, 2025
9 checks passed
@jedisct1 jedisct1 deleted the b2k12nits branch November 7, 2025 07:20
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