still change if *1
This commit is contained in:
@@ -42,7 +42,7 @@ public class IMul extends Instruction
|
|||||||
|
|
||||||
// 'one' is encrypted and we want to decrypt it by dividing by one.encryption
|
// 'one' is encrypted and we want to decrypt it by dividing by one.encryption
|
||||||
|
|
||||||
if (other != 1 && other != 0)
|
//if (other != 1 && other != 0)
|
||||||
{
|
{
|
||||||
int o = other * DMath.modInverse(one.encryption);
|
int o = other * DMath.modInverse(one.encryption);
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ public class IMul extends Instruction
|
|||||||
PushConstantInstruction pci = (PushConstantInstruction) one.getPushed().getInstruction();
|
PushConstantInstruction pci = (PushConstantInstruction) one.getPushed().getInstruction();
|
||||||
int other = (int) pci.getConstant().getObject();
|
int other = (int) pci.getConstant().getObject();
|
||||||
|
|
||||||
if (other != 1 && other != 0)
|
//if (other != 1 && other != 0)
|
||||||
{
|
{
|
||||||
int o = other * DMath.modInverse(two.encryption);
|
int o = other * DMath.modInverse(two.encryption);
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ public class PutStatic extends Instruction implements SetFieldInstruction
|
|||||||
if (encryption.hasChange(pci))
|
if (encryption.hasChange(pci))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (value != 0 && value != 1)
|
//if (value != 0 && value != 1)
|
||||||
{
|
{
|
||||||
value = value * pair.getter;
|
value = value * pair.getter;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user