osu-crypto / libPSI

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

asymmetric data PSI #19

Closed reclock closed 3 years ago

reclock commented 3 years ago

Does the kkrt protocol support asymmetric data PSI?

reclock commented 3 years ago

this my run command ./frontend.exe -r 0 -n 1000 -t 1 -v 1 -kkrt -b 256 ./frontend.exe -r 1 -n 10000 -t 1 -v 1 -kkrt -b 256

ladnir commented 3 years ago

It does.

https://github.com/osu-crypto/libPSI/blob/4712d8ffaf6a7759bfb10025290c59ecee60bbad/libPSI/PSI/Kkrt/KkrtPsiSender.h#L33

The command line thing just doesn't support it.

reclock commented 3 years ago

Which routine in the current project can perform the test。

void init(u64 senderSize, u64 recverSize, u64 statSecParam, span chls, NcoOtExtSender& otSender, block seed);

libPSI/frontend/fileBasedPSI.cpp this can support it? thanks

reclock commented 3 years ago

I have tested successfully, thank you