mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-09 01:03:08 +00:00
fix
This commit is contained in:
parent
14f92f7bfa
commit
3a77c5a05d
@ -27,7 +27,7 @@ global precompile_rip160:
|
||||
//
|
||||
// %stack (ctx, size) ->
|
||||
// (
|
||||
// 0, @SEGMENT_KERNEL_GENERAL, 200, // DST
|
||||
// ctx, @SEGMENT_KERNEL_GENERAL, 200, // DST
|
||||
// ctx, @SEGMENT_CALLDATA, 0, // SRC
|
||||
// size, ripemd, // count, retdest
|
||||
// 200, size, rip160_contd // ripemd input: virt, num_bytes, retdest
|
||||
@ -42,7 +42,7 @@ global precompile_rip160:
|
||||
SWAP6
|
||||
PUSH 200
|
||||
PUSH @SEGMENT_KERNEL_GENERAL
|
||||
PUSH 0
|
||||
DUP3
|
||||
|
||||
%jump(memcpy)
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ global precompile_sha256:
|
||||
//
|
||||
// %stack (ctx, size) ->
|
||||
// (
|
||||
// 0, @SEGMENT_KERNEL_GENERAL, 1, // DST
|
||||
// ctx, @SEGMENT_KERNEL_GENERAL, 1, // DST
|
||||
// ctx, @SEGMENT_CALLDATA, 0, // SRC
|
||||
// size, sha2, // count, retdest
|
||||
// 0, size, sha256_contd // sha2 input: virt, num_bytes, retdest
|
||||
@ -47,7 +47,7 @@ global precompile_sha256:
|
||||
SWAP6
|
||||
PUSH 1
|
||||
PUSH @SEGMENT_KERNEL_GENERAL
|
||||
PUSH 0
|
||||
DUP3
|
||||
|
||||
%jump(memcpy)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user