Documentation ¶ Overview ¶ Package tcp_ec implements an execution environment to compute s*G using a TCP server. Index ¶ type Service func NewExecution() *Service func (hs *Service) Execute(snap store.Snapshot, step execution.Step) (execution.Result, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { } Service ... func NewExecution ¶ func NewExecution() *Service NewExecution ... func (*Service) Execute ¶ func (hs *Service) Execute(snap store.Snapshot, step execution.Step) (execution.Result, error) Execute uses a unikernel to perform s*G. A random scalar is hex encoded and save in the relevant file that the unikernel use. A TCP command is then sent to call the unikernel. The result is a point returned by the unikernel. Source Files ¶ View all Source files mod.go Click to show internal directories. Click to hide internal directories.