Documentation ¶
Index ¶
- func AliceCommunicationCostResults(sizeMin, sizeMax, sizeRatio, countMin, countMax, countStep int64) (results []int64, sizes []int64, counts []int64)
- func Comparison(sizeMin, sizeMax, sizeRatio, countMin, countMax, countStep int64) (ourWork, otPaper, yaoGang []float64, sizes []int64, counts []int64)
- func ComparisonAlice(size, count, roundMin, roundMax, roundStep int64) (ourWork, otPaper []float64, rounds []int64)
- type CSFigure1Result
- type CSFigure2Result
- type ExecResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Comparison ¶
func ComparisonAlice ¶
Types ¶
type CSFigure1Result ¶
type CSFigure1Result struct { ExecSetupMsTimes []float64 `json:"exec_setup_ms_times"` ExecHashMsTimes []float64 `json:"exec_hash_ms_times"` ExecMerkleMsTimes []float64 `json:"exec_merkle_ms_times"` ExecUpdateMsTimes []float64 `json:"exec_update_ms_times"` FileSizes []int64 `json:"file_sizes"` BlockCounts []int64 `json:"block_counts"` BlockSizes []int64 `json:"block_sizes"` }
Cloud Storage Figure1 includes: Setup (key generation), Chameleon Hash, Merkle Tree, Update Block
type CSFigure2Result ¶
type CSFigure2Result struct { ExecUpdateMsTimes [][]float64 `json:"exec_update_ms_times"` TransCostKiB [][]float64 `json:"trans_cost_kib"` UpdateCount int64 `json:"update_count"` BlockSizes []int64 `json:"block_sizes"` }
Cloud Storage Figure2 includes: Update Block, Transmission Cost
type ExecResult ¶
type ExecResult struct {
// contains filtered or unexported fields
}
func ExecutionResults ¶
func ExecutionResults() []ExecResult
func ShareMessageResults ¶
func ShareMessageResults(sizeMin, sizeMax, sizeRatio, countMin, countMax, countStep int64) ( results []ExecResult, sizes []int64, counts []int64)
func (ExecResult) MsPerOp ¶
func (r ExecResult) MsPerOp() float64
func (ExecResult) NsPerOp ¶
func (r ExecResult) NsPerOp() int64
func (ExecResult) String ¶
func (r ExecResult) String() string
Click to show internal directories.
Click to hide internal directories.