Skip to content

Commit

Permalink
update folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
zhdllwyc committed Aug 30, 2022
1 parent f1c4562 commit ee62137
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Expand Up @@ -10,6 +10,14 @@ import (
"golang.org/x/sync/errgroup"
)

// Input: myGroup, the group we operate in
// Input: securityParameter
// Output: The number of SimOT needed
func DecideNumOT(myGroup group.Group, sp int) int {
numSimOT := int(myGroup.Params().ScalarLength*8) + sp
return numSimOT
}

// ---- Sender Initialization ----

// Input: myGroup, the group we operate in
Expand Down
File renamed without changes.
Expand Up @@ -15,14 +15,6 @@ import (

const testFmulCount = 50

// Input: myGroup, the group we operate in
// Input: securityParameter
// Output: The number of SimOT needed
func DecideNumOT(myGroup group.Group, sp int) int {
numSimOT := int(myGroup.Params().ScalarLength*8) + sp
return numSimOT
}

// Input: aInput, bInput, the private input from both sender and receiver
// Input: myGroup, the group we operate in
// Input: n, the total number of SimOT
Expand Down

0 comments on commit ee62137

Please sign in to comment.