osu-crypto / libPSI

A repository for private set intersection.
Other
168 stars 47 forks source link

the test case DktPsi_FullSet_Test_Impl failed #17

Closed 4aimar closed 2 years ago

4aimar commented 3 years ago

Hi guys, I enabled the protocol DKT of libPSI then commented all the test cases except the following case in the file UnitTests.cpp t.add("DktPsi_FullSet_Test_Impl ", DktMPsi_FullSet_Test_Impl);

After building the whole project, and run the command in the directory libPSI/bin frontend.exe -u

got the following errors:

[dev@localhost bin]$ ./frontend.exe -u 0 - DktPsi_FullSet_Test_Impl Bad sigma Proof 795B6FE39BA1EE290EAE99806AE99A8C90356CE3D9B40DDF7CA6CC24DE3A080D s sigmaPhis 795B6FE39BA1EE290EAE99806AE99A8C90356CE3D9B40DDF7CA6CC24DE3A080D s expected (6C17616E4F2BFB525BB81048BD735E2CE82E8A764E7E97CD9A892F07315AF366, C7F8268F77D4182A4DE3138F9C7B2B3F3B08BF62F8B6AB69EA61874C9A710F95, 1 ) s actual (99CFE7A1A10514A068FAE3DA42F9C22B470CB787518A9D4B05E60EBF8B2D6159, D5E0B597A5C449DD18256DE76E4822B6AE0BDCA5ECD56AAD102C8BBABAB5F8A2, 1 ) terminate called without an active exception

I found this error was reported by this file DktMPsiSender.cpp, so was it something wrong with the sender or receiver ? Hope for a reply. Thank you!