encryptogroup / ABY

ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation
GNU Lesser General Public License v3.0
460 stars 132 forks source link

psi_scs crashes when element number is bigger than 2 #161

Closed JosefinaYang closed 3 years ago

Mobiacikaka commented 3 years ago

same here

Mobiacikaka commented 3 years ago

I figure it out. The element number must be the power of 2.

zhou-pz commented 1 year ago

Why the psi-scs still crashes when I try 2, 8 or 32 elements. Error message is following:

psi_scs_test: ABY/src/examples/psi_scs/common/sort_compare_shuffle.cpp:150: int32_t test_psi_scs_circuit(e_role, const string&, uint16_t, seclvl, uint32_t, uint32_t, uint32_t, e_mt_gen_alg, uint32_t, bool): Assertion `circ_inter_ctr == ver_inter_ctr' failed. Aborted (core dumped)