ottest

package
v0.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL