Documentation ¶
Overview ¶
Package ottest contains some utilities to test ot functions. The main goal is to reduce the code duplication in various other packages that need to run an OT in their test setup stage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSimplestOT ¶
func RunSimplestOT(curve *curves.Curve, batchSize int, uniqueSessionId [simplest.DigestSize]byte) (*simplest.SenderOutput, *simplest.ReceiverOutput, error)
RunSimplestOT is a utility function used _only_ during various tests. essentially, it encapsulates the entire process of running a base OT, so that other tests can use it / bootstrap themselves. it handles the creation of the base OT sender and receiver, as well as orchestrates the rounds on them; it returns their outsputs, so that others can use them.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.