You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In which scenario do these two function work? One party or every party generates a seed?
The parameters used in SendAsync and Recv are both NextRank(). Why? I doubt if Recv should use PrevRank.
The text was updated successfully, but these errors were encountered:
Hi, those two functions are used to generated a synchronized, and public random seed, which is used in our two-party protocols. Since most of the protocol implementations in yacl focuses on the two-party scenario, so there is not much difference between NextRank() and PrevRank().
And if you are planing to synchronize a seed over multiple parties, the sender should broadcast the seed, and the API should be designed different as it is now.
Anyway, you're right that our implementation only works in two-party scenarios, and there's still some work to be done to make it a proper seed-sync function. Feel free to open a PR for this. :)
In yacl/crypto/tools/common.h,
In which scenario do these two function work? One party or every party generates a seed?
The parameters used in
SendAsync
andRecv
are bothNextRank()
. Why? I doubt ifRecv
should usePrevRank
.The text was updated successfully, but these errors were encountered: