Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct { Il *[]byte // we dont return bytes of tt because we gonna be streaming the file // directly into the HTTP response to save memory TtFile *os.File Dt *[]byte }
Blob is what is returned when gc is read from disk
type GarbledPool ¶
type GarbledPool struct { // Circuits contains metainfo for each circuit. Circuit count starts from 1 Circuits []*meta.Circuit sync.Mutex // contains filtered or unexported fields }
func (*GarbledPool) GetBlobs ¶
func (g *GarbledPool) GetBlobs(c6Count int) [][]Blob
returns 1 garbling of each circuit and c5Count garblings for circuit 5
func (*GarbledPool) Init ¶
func (g *GarbledPool) Init(noSandbox bool)
Click to show internal directories.
Click to hide internal directories.