cpu

package
v0.0.0-...-d25efd1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InitTapes

func InitTapes(program [3][]FheType)

func LoadCloudKeyFromFile

func LoadCloudKeyFromFile(path string)

func LoadInstructionsFromFile

func LoadInstructionsFromFile(instructionCount int, path string) [3][]FheType

func NewCiphertext

func NewCiphertext() *C.LweSample

func ParseHdl

func ParseHdl(hdl string) (hdlChip, error)

func SaveCiphertext

func SaveCiphertext(path string, data FheType)

Types

type FheType

type FheType struct {
	IsNil bool
	Value *C.LweSample
}

func NewConstant

func NewConstant(value int) FheType

Jump to

Keyboard shortcuts

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