mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-14 19:53:08 +00:00
Nick's comments
This commit is contained in:
parent
a25aea8e2e
commit
cfa0186517
@ -115,7 +115,7 @@ update_round_vars:
|
||||
// stack: rnd, rnd, STATE, F , K , 16, rounds, sides, virt, retdest
|
||||
SWAP7
|
||||
POP
|
||||
%push_F
|
||||
%push_f
|
||||
SWAP7
|
||||
// stack: rnd, rnd, STATE, F', K , 16, rounds, sides, virt, retdest
|
||||
SWAP8
|
||||
|
||||
@ -23,7 +23,7 @@ global rol:
|
||||
SWAP1
|
||||
JUMP
|
||||
|
||||
// def push_F(rnd):
|
||||
// def push_f(rnd):
|
||||
// Fs = [F0, F1, F2, F3, F4, F4, F3, F2, F1, F0]
|
||||
// acc = 0
|
||||
// for i, F in enumerate(Fs):
|
||||
@ -33,7 +33,7 @@ global rol:
|
||||
// the macro %this_F(i,F) enacts
|
||||
// acc += (i==rnd)*F
|
||||
|
||||
%macro push_F
|
||||
%macro push_f
|
||||
// stack: rnd
|
||||
PUSH 0
|
||||
%this_F(0,F0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user