public class OTFullSimSenderPreprocessUtil extends java.lang.Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Runs the preprocess phase of the OT protocol, where the sender input is not yet necessary.
public static OTFullSimPreprocessPhaseValues preProcess(Channel channel, DlogGroup dlog, ZKPOKVerifier zkVerifier) throws java.lang.ClassNotFoundException, java.io.IOException, CheatAttemptException, CommitValueException
"WAIT for message from R
DENOTE the values received by (g1,h0,h1)
Run the verifier in ZKPOK_FROM_SIGMA with Sigma protocol SIGMA_DH. Use common input (g0,g1,h0,h1/g1).
If output is REJ, REPORT ERROR (cheat attempt) and HALT."
channel- used to communicate between the parties.
zkVerifier- used to verify the ZKPOK_FROM_SIGMA
java.lang.ClassNotFoundException- if there was a problem during the serialization mechanism in the preprocess phase.
CheatAttemptException- if the sender suspects that the receiver is trying to cheat in the preprocess phase.
java.io.IOException- if there was a problem during the communication in the preprocess phase.
CommitValueException- can occur in case of ElGamal commitment scheme.