securenn-public icon indicating copy to clipboard operation
securenn-public copied to clipboard

Wrong output when trying to run debugComputeMSB, debugReluPrime, debugMax

Open 0xlimE opened this issue 5 years ago • 3 comments
trafficstars

I want to try and find the MSB of some inputs. The debugComputeMSB simply gives wrong outputs, (ive added some code to show the bit representation of the numbers (-4 - 5)

image

Basically I cannot get the right output for any debug functions.

Is there some setup I am missing?

0xlimE avatar Feb 20 '20 11:02 0xlimE

Do you have a keyD in you files/ ? If not, please generate one by yourself and add it to /files. However, this can only solve a small part of the problems.

zhang-shubai avatar Feb 20 '20 13:02 zhang-shubai

Yes I do :)

0xlimE avatar Feb 21 '20 11:02 0xlimE

The 4PC code might have more bugs than the 3PC. Try if the 3PC works. If it does, maybe you can use that as a reference to fix the bugs in the 4PC.

snwagh avatar Feb 24 '20 14:02 snwagh