-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSI协议测试报错:Exception in thread "Thread-0" java.lang.IllegalArgumentException: ecc_mul failed, invalid point. #16
Comments
Can you paste the full error information (including the line "Java HotSpot(TM) 64-Bit Server warning: You have loaded library ..."? It seems the error comes from wrongly invoking or linking C/C++ library. Can you tell us how you generate the native library and how you run it? |
Previously I did not ever meet this problem. I do some searches, and find that the problem occurs because you use a .so library compiled on another system. In general case, you cannot compile .so libararies on one system, but running test cases on the other system by simply copying the obtained .so libraries onto that system. Instead, you may need to compile and obtain .so libraries on the exact system that you run test cases. |
警告信息: libmpc4j-native-tool.so这个库是我在Ubuntu23.04上编译,idea也是在Ubuntu23.04上运行 |
后面我在试试重新编译mpc4j-native-tool、mpc4j-native-fhe、mpc4j-native-fourq |
This is very strange. You can try first recompiling and installing mpc4j-native-fourq, and then mpc4j-native-tool, and finally mpc4j-native-fhe. As far as I understand, the problem relates to mpc4j-native-fourq. If you cannot success, you can email me about your contact information so that we can try to debug in person. |
Please try using other elliptic curve types instead of FourQ to see if it passes the test. If not, please give feedback in time, and I will continue to analyze this problem. |
这个问题看起来应该是微软FourQ本身的实现问题。我们只是修改了FourQ的makefile,但是并没有调整FourQ的源代码。 mpc4j可以在不使用FourQ的条件下运行协议,但需要对代码做一些修改。具体为:
这样就可以不执行FourQ椭圆曲线。 至于FourQ为什么出错,不知是否可以提供Ubuntu系统的CPU型号?我们可以去询问FourQ的github。 |
我在FourQlib上找到了可能一样的问题,microsoft/FourQlib#9 FourQlib本身可能并不支持某些特定的CPU。考虑这一原因,我们计划在1.0.9版本里将默认的曲线修改会ED25519,并在readme里面说明。感谢反馈的问题。 |
报的错误完全一样,还是invalid point吗?如果是,可能的原因是修改没有生效。尝试点击IntelliJ IDEA菜单栏的build -> Build Project,然后重新点击测试用例的左侧箭头。如果还是不行,请通过回帖或者邮件方式提供我任何一个在线会议软件的会议号,我远程了解一下问题。 |
PSI和PIR目前的发展速度太快,路线很多,我建议不如阅读完论文后再阅读我们的实现。目前我们也在准备一些文档,不过需要花费较长的一段时间。 |
您好,运行psi的测试方法报错,这个要怎么处理才行呢?
目前有关于psi\pir的相关资料么或者交流群呢?
The text was updated successfully, but these errors were encountered: