Skip to content

Commit ee62137

Browse files
author
zhdllwyc
committed
update folder name
1 parent f1c4562 commit ee62137

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ import (
1010
"golang.org/x/sync/errgroup"
1111
)
1212

13+
// Input: myGroup, the group we operate in
14+
// Input: securityParameter
15+
// Output: The number of SimOT needed
16+
func DecideNumOT(myGroup group.Group, sp int) int {
17+
numSimOT := int(myGroup.Params().ScalarLength*8) + sp
18+
return numSimOT
19+
}
20+
1321
// ---- Sender Initialization ----
1422

1523
// Input: myGroup, the group we operate in
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ import (
1515

1616
const testFmulCount = 50
1717

18-
// Input: myGroup, the group we operate in
19-
// Input: securityParameter
20-
// Output: The number of SimOT needed
21-
func DecideNumOT(myGroup group.Group, sp int) int {
22-
numSimOT := int(myGroup.Params().ScalarLength*8) + sp
23-
return numSimOT
24-
}
25-
2618
// Input: aInput, bInput, the private input from both sender and receiver
2719
// Input: myGroup, the group we operate in
2820
// Input: n, the total number of SimOT

0 commit comments

Comments
 (0)