You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: operator/halo2ipa/halo2ipa.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ import "C"
10
10
import"unsafe"
11
11
12
12
funcVerifyHalo2IpaProof(
13
-
proofBuffer []byte,proofLenuint32,
14
-
paramsBuffer []byte,paramsLenuint32,
15
-
publicInputBuffer []byte,publicInputLenuint32,
13
+
proofBuffer []byte,
14
+
paramsBuffer []byte,
15
+
publicInputBuffer []byte,
16
16
) bool {
17
17
/*
18
18
For Halo2 the `paramsBuffer` contains the serialized cs, vk, and params with there respective sizes serialized as u32 values (4 bytes) => 3 * 4 bytes = 12 followed by the concatenated variable length buffers:
Copy file name to clipboardExpand all lines: operator/halo2kzg/halo2kzg.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ import "C"
9
9
import"unsafe"
10
10
11
11
funcVerifyHalo2KzgProof(
12
-
proofBuffer []byte,proofLenuint32,
13
-
paramsBuffer []byte,paramsLenuint32,
14
-
publicInputBuffer []byte,publicInputLenuint32,
12
+
proofBuffer []byte,
13
+
paramsBuffer []byte,
14
+
publicInputBuffer []byte,
15
15
) bool {
16
16
/*
17
17
For Halo2 the `paramsBuffer` contains the serialized cs, vk, and params with there respective sizes serialized as u32 values (4 bytes) => 3 * 4 bytes = 12 followed by the concatenated variable length buffers:
0 commit comments