File tree Expand file tree Collapse file tree 2 files changed +22
-27
lines changed
src/lib/crypto/kimchi_bindings/js Expand file tree Collapse file tree 2 files changed +22
-27
lines changed Original file line number Diff line number Diff line change 1- /* global plonk_wasm, tsRustConversion
2- */
3-
4-
5-
6- // Provides: caml_pasta_fp_plonk_proof_deep_copy
7- // Requires: plonk_wasm, tsRustConversion
8- var caml_pasta_fp_plonk_proof_deep_copy = function ( proof ) {
9- return tsRustConversion . fp . proofFromRust (
10- plonk_wasm . caml_pasta_fp_plonk_proof_deep_copy (
11- tsRustConversion . fp . proofToRust ( proof )
12- )
13- ) ;
14- } ;
15-
16-
17- // Provides: caml_pasta_fq_plonk_proof_deep_copy
18- // Requires: plonk_wasm, tsRustConversion
19- var caml_pasta_fq_plonk_proof_deep_copy = function ( proof ) {
20- return tsRustConversion . fq . proofFromRust (
21- plonk_wasm . caml_pasta_fq_plonk_proof_deep_copy (
22- tsRustConversion . fq . proofToRust ( proof )
23- )
24- ) ;
25- } ;
26-
Original file line number Diff line number Diff line change @@ -60,6 +60,16 @@ var caml_pasta_fp_plonk_proof_dummy = function () {
6060 ) ;
6161} ;
6262
63+ // Provides: caml_pasta_fp_plonk_proof_deep_copy
64+ // Requires: plonk_wasm, tsRustConversionNative
65+ var caml_pasta_fp_plonk_proof_deep_copy = function ( proof ) {
66+ return tsRustConversionNative . fp . proofFromRust (
67+ plonk_wasm . caml_pasta_fp_plonk_proof_deep_copy (
68+ tsRustConversionNative . fp . proofToRust ( proof )
69+ )
70+ ) ;
71+ } ;
72+
6373// Provides: caml_pasta_fq_plonk_proof_create
6474// Requires: plonk_wasm, tsRustConversionNative
6575var caml_pasta_fq_plonk_proof_create = function (
@@ -116,4 +126,15 @@ var caml_pasta_fq_plonk_proof_dummy = function () {
116126 return tsRustConversionNative . fq . proofFromRust (
117127 plonk_wasm . caml_pasta_fq_plonk_proof_dummy ( )
118128 ) ;
119- } ;
129+ } ;
130+
131+ // Provides: caml_pasta_fq_plonk_proof_deep_copy
132+ // Requires: plonk_wasm, tsRustConversionNative
133+ var caml_pasta_fq_plonk_proof_deep_copy = function ( proof ) {
134+ return tsRustConversionNative . fq . proofFromRust (
135+ plonk_wasm . caml_pasta_fq_plonk_proof_deep_copy (
136+ tsRustConversionNative . fq . proofToRust ( proof )
137+ )
138+ ) ;
139+ } ;
140+
You can’t perform that action at this time.
0 commit comments