public abstract class OTExtensionRInput extends java.lang.Object implements OTBatchRInput
All the concrete classes are the same and differ only in the name. The reason a class is created for each version is due to the fact that a respective class is created for the sender and we wish to be consistent. The name of the class determines the version of the OT extension we wish to run. In all OT extension scenarios the receiver gets i bits. Each byte holds a bit for each OT in the OT extension protocol.
|Constructor and Description|
Constructor that sets the sigma array and the number of OT elements.
public OTExtensionRInput(byte sigmaArr, int elementSize)
sigmaArr- An array of sigma for each OT.
elementSize- The size of each element in the OT extension, in bits.