Skip to content

Commit ee62137

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

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

tss/ecdsa/ot/fmul/fmulLocal.go tss/ecdsa/dkls/fmul/fmulLocal.go

+8
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
File renamed without changes.

tss/ecdsa/ot/fmul/fmul_test.go tss/ecdsa/dkls/fmul/fmul_test.go

-8
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)