computation

package
v0.0.0-...-6e57485 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InputPrepare

func InputPrepare(nodeId int, shares, privateIn []*big.Int, sm string) error

InputPrepare is a helping function that loads the data shares provided to the node for the MPC computation.

func LoadResultPrivate

func LoadResultPrivate(nodeId int, sm string) ([]*big.Int, error)

LoadResultPrivate is a helping function that loads private result obtained by MPC computation.

func LoadResultShares

func LoadResultShares(nodeId int, sm string) ([]*big.Int, error)

LoadResultShares is a helping function that loads the result obtained by MPC computation.

func PrepareMambaProgram

func PrepareMambaProgram(nodeId int, funcName string, paramsMap map[string]string, sm string) error

func RunScale

func RunScale(nodeId int, funcName string, paramsMap map[string]string, mpcPorts string, sm string) error

func SetUpScale

func SetUpScale(nodeId int, nodeNames, nodesAddrs []string, sm string, scaleCerts [][]byte, certPrivate, certLoc string) error

SetUpScale defines all the settings needed to start SCALE

Types

This section is empty.

Jump to

Keyboard shortcuts

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