Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBaseCountMissMatch = errors.New("provided slices is not the same length as the number of base OT") ErrEmptyMessage = errors.New("attempt to perform OT on empty messages") )
Functions ¶
This section is empty.
Types ¶
type OT ¶
type OT interface {
Send(messages []OTMessage, rw io.ReadWriter) error
Receive(choices []uint8, messages [][]byte, rw io.ReadWriter) error
}
OT implements a BaseOT
func NewNaorPinkas ¶
Click to show internal directories.
Click to hide internal directories.