Nick's comments

This commit is contained in:
Dmitry Vagner 2022-09-21 20:06:41 -07:00
parent a25aea8e2e
commit cfa0186517
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)