Multi Party Computation

ADD

Suppose that value of X,Y are shared (using random value) by Alice and Bob.
Alice and Bob compute “secure ADD” independently, and get the shares of the Z.
The value of Z=X+Y is shared after the “secure ADD” protocol.

 Alice  Bob  Constraint/ResultInput XA,YAXB,YBXA+XB=X,YA+YB=Ysecure ADDZA=XA+YAZB=XB+YBZA+ZB=A+B

MULT

Suppose that value of X,Y are shared (using random value) by Alice and Bob.

Preprocessing

 Alice  Bob  ConstraintcreateΔXΔY=ΔZ(ΔX,ΔYrandom)store ΔAXΔBXΔAX+ΔBX=ΔXstore ΔAYΔBYΔAY+ΔBY=ΔYstore ΔAZΔBZΔAZ+ΔBZ=ΔZ

Secure MULT

Input XA,YAXB,YBXA+XB=X,YA+YB=YExchangeXAΔAXXBΔBXExchangeYAΔAYYBΔBYReconstructXΔXXΔXXΔX=(XAΔAX)+(XBΔBX)ReconstructYΔYYΔYYΔY=(YAΔAY)+(YBΔBY)Output ZAZBZA+ZB=Z


\]
The “secure MULT” calculation is:
ZA=(xΔX)(YΔY)+(XΔX)ΔAY+(YΔY)ΔAX+ΔAZZB=(XΔX)ΔBY+(YΔY)ΔBX+ΔBZ