mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-04 06:43:07 +00:00
Merge pull request #794 from mir-protocol/fix_keccak256_word
Fix `keccak256_word` ASM function
This commit is contained in:
commit
eb19225253
@ -8,7 +8,7 @@
|
|||||||
%stack (word) -> (0, @SEGMENT_KERNEL_GENERAL, 0, word, $num_bytes, %%after_mstore)
|
%stack (word) -> (0, @SEGMENT_KERNEL_GENERAL, 0, word, $num_bytes, %%after_mstore)
|
||||||
%jump(mstore_unpacking)
|
%jump(mstore_unpacking)
|
||||||
%%after_mstore:
|
%%after_mstore:
|
||||||
// stack: (empty)
|
// stack: offset
|
||||||
%stack () -> (0, @SEGMENT_KERNEL_GENERAL, 0, $num_bytes) // context, segment, offset, len
|
%stack (offset) -> (0, @SEGMENT_KERNEL_GENERAL, 0, $num_bytes) // context, segment, offset, len
|
||||||
KECCAK_GENERAL
|
KECCAK_GENERAL
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user