aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2020-11-03 02:01:48 +0100
committerFrank Denis <github@pureftpd.org>2020-11-03 02:01:48 +0100
commitd764636d21f9aafa1e9a33f625156a829cc5d747 (patch)
treeeb3957e35a041dcd5f299a1d4df703fa318612d2 /src/stage1/codegen.cpp
parentb30a765b95cf666409c1e5324718a7c8c60af4af (diff)
downloadzig-d764636d21f9aafa1e9a33f625156a829cc5d747.tar.gz
zig-d764636d21f9aafa1e9a33f625156a829cc5d747.zip
Another big-endian fix for Gimli
We read and write bytes directly from the state, but in the init function, we potentially endian-swap them. Initialize bytes in native format since we will be reading them in native format as well later. Also use the public interface in the "permute" test rather than an internal interface. The state itself is not meant to be accessed directly, even in tests.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions