mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-02-25 08:13:07 +00:00
fixes
This commit is contained in:
parent
dd2cbf604b
commit
7045772ca4
@ -68,8 +68,8 @@ global sha2_append1:
|
|||||||
%count_bits
|
%count_bits
|
||||||
// stack: num_bits, x[num_u256s-1]
|
// stack: num_bits, x[num_u256s-1]
|
||||||
%eq(256)
|
%eq(256)
|
||||||
%jumpi(pad_if256)
|
%jumpi(append_if256)
|
||||||
%jump(pad_else)
|
%jump(append_else)
|
||||||
append_if256:
|
append_if256:
|
||||||
JUMPDEST
|
JUMPDEST
|
||||||
// stack: num_bits, x[num_u256s-1]
|
// stack: num_bits, x[num_u256s-1]
|
||||||
@ -89,7 +89,7 @@ append_if256:
|
|||||||
swap1
|
swap1
|
||||||
// stack: num_u256s+1, 1
|
// stack: num_u256s+1, 1
|
||||||
mstore
|
mstore
|
||||||
%jump(pad_end)
|
%jump(append_end)
|
||||||
append_else:
|
append_else:
|
||||||
JUMPDEST
|
JUMPDEST
|
||||||
// stack: num_bits, x[num_u256s-1]
|
// stack: num_bits, x[num_u256s-1]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user