aicis / fresco

A FRamework for Efficient Secure COmputation
Other
133 stars 59 forks source link

PreprocessedExpPipeFactory with BGW Protocol #118

Closed p1tach10 closed 7 years ago

p1tach10 commented 7 years ago

I try to run code CompareTest with BGW protocol but there was an error

Error while doing MPC: dk.alexandra.fresco.suite.bgw.BgwFactory cannot be cast to dk.alexandra.fresco.lib.math.integer.exp.PreprocessedExpPipeFactory
java.lang.ClassCastException: dk.alexandra.fresco.suite.bgw.BgwFactory cannot be cast to dk.alexandra.fresco.lib.math.integer.exp.PreprocessedExpPipeFactory
        at org.customcode.compare.CompareDemo.prepareApplication(CompareDemo.java:75)
        at dk.alexandra.fresco.framework.sce.SCEImpl.evalApplication(SCEImpl.java:250)
        at dk.alexandra.fresco.framework.sce.SCEImpl.runApplication(SCEImpl.java:242)
        at org.customcode.compare.CompareDemo.compareDemoMain(CompareDemo.java:164)
        at org.customcode.compare.App.main(App.java:9)
GuutBoy commented 7 years ago

This essentially means that the BGW implementation does not support the comparison implementation. The BGW implementation has not been very well maintained for a while. Recently, we have been doing a lot of work to restructure the architecture and clean up the framework. As part of this work we have chosen to remove the BGW implementation completely for this exact reason.