This commit is contained in:
Dmitry Vagner 2022-09-29 06:46:23 -07:00
parent 4c9e80f298
commit e1cdd8248a
2 changed files with 1 additions and 8 deletions

View File

@ -155,7 +155,6 @@ store_input:
// stack: a | (b << 8) | (c << 16) | (d << 24)
%endmacro
// set offset i to offset j in SEGMENT_RIPEMD
%macro mupdate_ripemd
// stack: j, i

View File

@ -30,7 +30,7 @@ global rol:
// acc += (i==rnd)*F
// return acc, rnd
//
// the macro %this_F(i,F) enacts
// %this_F(i,F) enacts
// acc += (i==rnd)*F
%macro push_f
@ -49,7 +49,6 @@ global rol:
// stack: F, rnd
%endmacro
%macro this_F(i, F)
// stack: acc, rnd
DUP2
@ -62,7 +61,6 @@ global rol:
// stack: (rnd==j)*F + acc, rnd
%endmacro
/// def F0(x, y, z):
/// return x ^ y ^ z
@ -75,7 +73,6 @@ global F0:
SWAP1
JUMP
/// def F1(x, y, z):
/// return (x & y) | (u32(~x) & z)
@ -100,7 +97,6 @@ global F1:
SWAP1
JUMP
/// def F2(x, y, z):
/// return (x | u32(~y)) ^ z
@ -117,7 +113,6 @@ global F2:
SWAP1
JUMP
/// def F3(x, y, z):
/// return (x & z) | (u32(~z) & y)
@ -138,7 +133,6 @@ global F3:
SWAP1
JUMP
/// def F4(x, y, z):
/// return x ^ (y | u32(~z))