diff options
| author | Frank Denis <124872+jedisct1@users.noreply.github.com> | 2022-12-30 23:15:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-30 22:15:25 +0000 |
| commit | d86685ac9612c08e33f1d94f7f617d9c0da1b7bd (patch) | |
| tree | ebfd508ec57baa6df1f9ead511bf0c277728bcc8 /test/behavior/array.zig | |
| parent | e2d7b2bf339dac811b9ae77638f1d29b2ab32a23 (diff) | |
| download | zig-d86685ac9612c08e33f1d94f7f617d9c0da1b7bd.tar.gz zig-d86685ac9612c08e33f1d94f7f617d9c0da1b7bd.zip | |
sha3: define block_length as the rate, not as the state size (#14132)
In sponge-based constructions, the block size is not the same as
the state size. For practical purposes, it's the same as the rate.
Size this is a constant for a given type, we don't need to keep
a copy of that value in the state itself. Just use the constant
directly. This saves some bytes and may even be slightly faster.
More importantly:
Fixes #14128
Diffstat (limited to 'test/behavior/array.zig')
0 files changed, 0 insertions, 0 deletions
