diff --git a/compiled/node_bindings/plonk_wasm.cjs b/compiled/node_bindings/plonk_wasm.cjs index 9ff8257f..f75cf837 100755 --- a/compiled/node_bindings/plonk_wasm.cjs +++ b/compiled/node_bindings/plonk_wasm.cjs @@ -231,49 +231,49 @@ function passArray32ToWasm0(arg, malloc) { } /** * @param {Uint32Array} lgr_comm -* @param {WasmFqPlonkVerifierIndex} index -* @param {WasmFqProverProof} proof -* @returns {WasmFqOracles} +* @param {WasmFpPlonkVerifierIndex} index +* @param {WasmFpProverProof} proof +* @returns {WasmFpOracles} */ -module.exports.fq_oracles_create = function(lgr_comm, index, proof) { +module.exports.fp_oracles_create = function(lgr_comm, index, proof) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray32ToWasm0(lgr_comm, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - _assertClass(index, WasmFqPlonkVerifierIndex); + _assertClass(index, WasmFpPlonkVerifierIndex); var ptr1 = index.__destroy_into_raw(); - _assertClass(proof, WasmFqProverProof); + _assertClass(proof, WasmFpProverProof); var ptr2 = proof.__destroy_into_raw(); - wasm.fq_oracles_create(retptr, ptr0, len0, ptr1, ptr2); + wasm.fp_oracles_create(retptr, ptr0, len0, ptr1, ptr2); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return WasmFqOracles.__wrap(r0); + return WasmFpOracles.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } }; /** -* @returns {WasmFqOracles} +* @returns {WasmFpOracles} */ -module.exports.fq_oracles_dummy = function() { - const ret = wasm.fq_oracles_dummy(); - return WasmFqOracles.__wrap(ret); +module.exports.fp_oracles_dummy = function() { + const ret = wasm.fp_oracles_dummy(); + return WasmFpOracles.__wrap(ret); }; /** -* @param {WasmFqProverProof} x -* @returns {WasmFqProverProof} +* @param {WasmFpProverProof} x +* @returns {WasmFpProverProof} */ -module.exports.fq_oracles_deep_copy = function(x) { - _assertClass(x, WasmFqProverProof); +module.exports.fp_oracles_deep_copy = function(x) { + _assertClass(x, WasmFpProverProof); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.fq_oracles_deep_copy(ptr0); - return WasmFqProverProof.__wrap(ret); + const ret = wasm.fp_oracles_deep_copy(ptr0); + return WasmFpProverProof.__wrap(ret); }; function getArrayU32FromWasm0(ptr, len) { @@ -281,18 +281,18 @@ function getArrayU32FromWasm0(ptr, len) { return getUint32Memory0().subarray(ptr / 4, ptr / 4 + len); } /** -* @param {WasmPastaFpPlonkIndex} index -* @param {WasmVecVecFp} witness +* @param {WasmPastaFqPlonkIndex} index +* @param {WasmVecVecFq} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -module.exports.caml_pasta_fp_plonk_proof_create = function(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { +module.exports.caml_pasta_fq_plonk_proof_create = function(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - _assertClass(index, WasmPastaFpPlonkIndex); - _assertClass(witness, WasmVecVecFp); + _assertClass(index, WasmPastaFqPlonkIndex); + _assertClass(witness, WasmVecVecFq); var ptr0 = witness.__destroy_into_raw(); const ptr1 = passArray32ToWasm0(wasm_runtime_tables, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; @@ -300,30 +300,30 @@ module.exports.caml_pasta_fp_plonk_proof_create = function(index, witness, wasm_ const len2 = WASM_VECTOR_LEN; const ptr3 = passArray32ToWasm0(prev_sgs, wasm.__wbindgen_malloc); const len3 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); + wasm.caml_pasta_fq_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return WasmFpProverProof.__wrap(r0); + return WasmFqProverProof.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } }; /** -* @param {WasmFpPlonkVerifierIndex} index -* @param {WasmFpProverProof} proof +* @param {WasmFqPlonkVerifierIndex} index +* @param {WasmFqProverProof} proof * @returns {boolean} */ -module.exports.caml_pasta_fp_plonk_proof_verify = function(index, proof) { - _assertClass(index, WasmFpPlonkVerifierIndex); +module.exports.caml_pasta_fq_plonk_proof_verify = function(index, proof) { + _assertClass(index, WasmFqPlonkVerifierIndex); var ptr0 = index.__destroy_into_raw(); - _assertClass(proof, WasmFpProverProof); + _assertClass(proof, WasmFqProverProof); var ptr1 = proof.__destroy_into_raw(); - const ret = wasm.caml_pasta_fp_plonk_proof_verify(ptr0, ptr1); + const ret = wasm.caml_pasta_fq_plonk_proof_verify(ptr0, ptr1); return ret !== 0; }; @@ -332,32 +332,32 @@ module.exports.caml_pasta_fp_plonk_proof_verify = function(index, proof) { * @param {Uint32Array} proofs * @returns {boolean} */ -module.exports.caml_pasta_fp_plonk_proof_batch_verify = function(indexes, proofs) { +module.exports.caml_pasta_fq_plonk_proof_batch_verify = function(indexes, proofs) { const ptr0 = passArray32ToWasm0(indexes, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray32ToWasm0(proofs, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fq_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); return ret !== 0; }; /** -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -module.exports.caml_pasta_fp_plonk_proof_dummy = function() { - const ret = wasm.caml_pasta_fp_plonk_proof_dummy(); - return WasmFpProverProof.__wrap(ret); +module.exports.caml_pasta_fq_plonk_proof_dummy = function() { + const ret = wasm.caml_pasta_fq_plonk_proof_dummy(); + return WasmFqProverProof.__wrap(ret); }; /** -* @param {WasmFpProverProof} x -* @returns {WasmFpProverProof} +* @param {WasmFqProverProof} x +* @returns {WasmFqProverProof} */ -module.exports.caml_pasta_fp_plonk_proof_deep_copy = function(x) { - _assertClass(x, WasmFpProverProof); +module.exports.caml_pasta_fq_plonk_proof_deep_copy = function(x) { + _assertClass(x, WasmFqProverProof); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pasta_fp_plonk_proof_deep_copy(ptr0); - return WasmFpProverProof.__wrap(ret); + const ret = wasm.caml_pasta_fq_plonk_proof_deep_copy(ptr0); + return WasmFqProverProof.__wrap(ret); }; /** @@ -2020,18 +2020,18 @@ module.exports.caml_pasta_fq_plonk_verifier_index_deep_copy = function(x) { }; /** -* @param {WasmPastaFqPlonkIndex} index -* @param {WasmVecVecFq} witness +* @param {WasmPastaFpPlonkIndex} index +* @param {WasmVecVecFp} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -module.exports.caml_pasta_fq_plonk_proof_create = function(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { +module.exports.caml_pasta_fp_plonk_proof_create = function(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - _assertClass(index, WasmPastaFqPlonkIndex); - _assertClass(witness, WasmVecVecFq); + _assertClass(index, WasmPastaFpPlonkIndex); + _assertClass(witness, WasmVecVecFp); var ptr0 = witness.__destroy_into_raw(); const ptr1 = passArray32ToWasm0(wasm_runtime_tables, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; @@ -2039,30 +2039,30 @@ module.exports.caml_pasta_fq_plonk_proof_create = function(index, witness, wasm_ const len2 = WASM_VECTOR_LEN; const ptr3 = passArray32ToWasm0(prev_sgs, wasm.__wbindgen_malloc); const len3 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); + wasm.caml_pasta_fp_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return WasmFqProverProof.__wrap(r0); + return WasmFpProverProof.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } }; /** -* @param {WasmFqPlonkVerifierIndex} index -* @param {WasmFqProverProof} proof +* @param {WasmFpPlonkVerifierIndex} index +* @param {WasmFpProverProof} proof * @returns {boolean} */ -module.exports.caml_pasta_fq_plonk_proof_verify = function(index, proof) { - _assertClass(index, WasmFqPlonkVerifierIndex); +module.exports.caml_pasta_fp_plonk_proof_verify = function(index, proof) { + _assertClass(index, WasmFpPlonkVerifierIndex); var ptr0 = index.__destroy_into_raw(); - _assertClass(proof, WasmFqProverProof); + _assertClass(proof, WasmFpProverProof); var ptr1 = proof.__destroy_into_raw(); - const ret = wasm.caml_pasta_fq_plonk_proof_verify(ptr0, ptr1); + const ret = wasm.caml_pasta_fp_plonk_proof_verify(ptr0, ptr1); return ret !== 0; }; @@ -2071,32 +2071,32 @@ module.exports.caml_pasta_fq_plonk_proof_verify = function(index, proof) { * @param {Uint32Array} proofs * @returns {boolean} */ -module.exports.caml_pasta_fq_plonk_proof_batch_verify = function(indexes, proofs) { +module.exports.caml_pasta_fp_plonk_proof_batch_verify = function(indexes, proofs) { const ptr0 = passArray32ToWasm0(indexes, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray32ToWasm0(proofs, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fp_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); return ret !== 0; }; /** -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -module.exports.caml_pasta_fq_plonk_proof_dummy = function() { - const ret = wasm.caml_pasta_fq_plonk_proof_dummy(); - return WasmFqProverProof.__wrap(ret); +module.exports.caml_pasta_fp_plonk_proof_dummy = function() { + const ret = wasm.caml_pasta_fp_plonk_proof_dummy(); + return WasmFpProverProof.__wrap(ret); }; /** -* @param {WasmFqProverProof} x -* @returns {WasmFqProverProof} +* @param {WasmFpProverProof} x +* @returns {WasmFpProverProof} */ -module.exports.caml_pasta_fq_plonk_proof_deep_copy = function(x) { - _assertClass(x, WasmFqProverProof); +module.exports.caml_pasta_fp_plonk_proof_deep_copy = function(x) { + _assertClass(x, WasmFpProverProof); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pasta_fq_plonk_proof_deep_copy(ptr0); - return WasmFqProverProof.__wrap(ret); + const ret = wasm.caml_pasta_fp_plonk_proof_deep_copy(ptr0); + return WasmFpProverProof.__wrap(ret); }; /** @@ -2182,66 +2182,66 @@ module.exports.wbg_rayon_start_worker = function(receiver) { /** * @param {Uint32Array} lgr_comm -* @param {WasmFpPlonkVerifierIndex} index -* @param {WasmFpProverProof} proof -* @returns {WasmFpOracles} +* @param {WasmFqPlonkVerifierIndex} index +* @param {WasmFqProverProof} proof +* @returns {WasmFqOracles} */ -module.exports.fp_oracles_create = function(lgr_comm, index, proof) { +module.exports.fq_oracles_create = function(lgr_comm, index, proof) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray32ToWasm0(lgr_comm, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - _assertClass(index, WasmFpPlonkVerifierIndex); + _assertClass(index, WasmFqPlonkVerifierIndex); var ptr1 = index.__destroy_into_raw(); - _assertClass(proof, WasmFpProverProof); + _assertClass(proof, WasmFqProverProof); var ptr2 = proof.__destroy_into_raw(); - wasm.fp_oracles_create(retptr, ptr0, len0, ptr1, ptr2); + wasm.fq_oracles_create(retptr, ptr0, len0, ptr1, ptr2); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return WasmFpOracles.__wrap(r0); + return WasmFqOracles.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } }; /** -* @returns {WasmFpOracles} +* @returns {WasmFqOracles} */ -module.exports.fp_oracles_dummy = function() { - const ret = wasm.fp_oracles_dummy(); - return WasmFpOracles.__wrap(ret); +module.exports.fq_oracles_dummy = function() { + const ret = wasm.fq_oracles_dummy(); + return WasmFqOracles.__wrap(ret); }; /** -* @param {WasmFpProverProof} x -* @returns {WasmFpProverProof} +* @param {WasmFqProverProof} x +* @returns {WasmFqProverProof} */ -module.exports.fp_oracles_deep_copy = function(x) { - _assertClass(x, WasmFpProverProof); +module.exports.fq_oracles_deep_copy = function(x) { + _assertClass(x, WasmFqProverProof); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.fp_oracles_deep_copy(ptr0); - return WasmFpProverProof.__wrap(ret); + const ret = wasm.fq_oracles_deep_copy(ptr0); + return WasmFqProverProof.__wrap(ret); }; /** * @returns {number} */ -module.exports.caml_pasta_fq_size_in_bits = function() { - const ret = wasm.caml_pasta_fq_size_in_bits(); +module.exports.caml_pasta_fp_size_in_bits = function() { + const ret = wasm.caml_pasta_fp_size_in_bits(); return ret; }; /** * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_size = function() { +module.exports.caml_pasta_fp_size = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_size(retptr); + wasm.caml_pasta_fp_size(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2257,14 +2257,14 @@ module.exports.caml_pasta_fq_size = function() { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_add = function(x, y) { +module.exports.caml_pasta_fp_add = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_add(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_add(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2280,14 +2280,14 @@ module.exports.caml_pasta_fq_add = function(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_sub = function(x, y) { +module.exports.caml_pasta_fp_sub = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_sub(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_sub(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2302,12 +2302,12 @@ module.exports.caml_pasta_fq_sub = function(x, y) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_negate = function(x) { +module.exports.caml_pasta_fp_negate = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_negate(retptr, ptr0, len0); + wasm.caml_pasta_fp_negate(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2323,14 +2323,14 @@ module.exports.caml_pasta_fq_negate = function(x) { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_mul = function(x, y) { +module.exports.caml_pasta_fp_mul = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_mul(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_mul(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2346,14 +2346,14 @@ module.exports.caml_pasta_fq_mul = function(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_div = function(x, y) { +module.exports.caml_pasta_fp_div = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_div(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_div(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2368,12 +2368,12 @@ module.exports.caml_pasta_fq_div = function(x, y) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -module.exports.caml_pasta_fq_inv = function(x) { +module.exports.caml_pasta_fp_inv = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_inv(retptr, ptr0, len0); + wasm.caml_pasta_fp_inv(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -2391,12 +2391,12 @@ module.exports.caml_pasta_fq_inv = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_square = function(x) { +module.exports.caml_pasta_fp_square = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_square(retptr, ptr0, len0); + wasm.caml_pasta_fp_square(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2411,10 +2411,10 @@ module.exports.caml_pasta_fq_square = function(x) { * @param {Uint8Array} x * @returns {boolean} */ -module.exports.caml_pasta_fq_is_square = function(x) { +module.exports.caml_pasta_fp_is_square = function(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_is_square(ptr0, len0); + const ret = wasm.caml_pasta_fp_is_square(ptr0, len0); return ret !== 0; }; @@ -2422,12 +2422,12 @@ module.exports.caml_pasta_fq_is_square = function(x) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -module.exports.caml_pasta_fq_sqrt = function(x) { +module.exports.caml_pasta_fp_sqrt = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_sqrt(retptr, ptr0, len0); + wasm.caml_pasta_fp_sqrt(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -2445,10 +2445,10 @@ module.exports.caml_pasta_fq_sqrt = function(x) { * @param {number} i * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_of_int = function(i) { +module.exports.caml_pasta_fp_of_int = function(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_of_int(retptr, i); + wasm.caml_pasta_fp_of_int(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2463,14 +2463,14 @@ module.exports.caml_pasta_fq_of_int = function(i) { * @param {Uint8Array} x * @returns {string} */ -module.exports.caml_pasta_fq_to_string = function(x) { +module.exports.caml_pasta_fp_to_string = function(x) { let deferred2_0; let deferred2_1; try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_to_string(retptr, ptr0, len0); + wasm.caml_pasta_fp_to_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; deferred2_0 = r0; @@ -2486,12 +2486,12 @@ module.exports.caml_pasta_fq_to_string = function(x) { * @param {string} s * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_of_string = function(s) { +module.exports.caml_pasta_fp_of_string = function(s) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_of_string(retptr, ptr0, len0); + wasm.caml_pasta_fp_of_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -2510,10 +2510,10 @@ module.exports.caml_pasta_fq_of_string = function(s) { /** * @param {Uint8Array} x */ -module.exports.caml_pasta_fq_print = function(x) { +module.exports.caml_pasta_fp_print = function(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_print(ptr0, len0); + wasm.caml_pasta_fp_print(ptr0, len0); }; /** @@ -2521,12 +2521,12 @@ module.exports.caml_pasta_fq_print = function(x) { * @param {Uint8Array} y * @returns {number} */ -module.exports.caml_pasta_fq_compare = function(x, y) { +module.exports.caml_pasta_fp_compare = function(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_compare(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fp_compare(ptr0, len0, ptr1, len1); return ret; }; @@ -2535,22 +2535,22 @@ module.exports.caml_pasta_fq_compare = function(x, y) { * @param {Uint8Array} y * @returns {boolean} */ -module.exports.caml_pasta_fq_equal = function(x, y) { +module.exports.caml_pasta_fp_equal = function(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_equal(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fp_equal(ptr0, len0, ptr1, len1); return ret !== 0; }; /** * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_random = function() { +module.exports.caml_pasta_fp_random = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_random(retptr); + wasm.caml_pasta_fp_random(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2565,10 +2565,10 @@ module.exports.caml_pasta_fq_random = function() { * @param {number} i * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_rng = function(i) { +module.exports.caml_pasta_fp_rng = function(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_rng(retptr, i); + wasm.caml_pasta_fp_rng(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2583,12 +2583,12 @@ module.exports.caml_pasta_fq_rng = function(i) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_to_bigint = function(x) { +module.exports.caml_pasta_fp_to_bigint = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_to_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fp_to_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2603,12 +2603,12 @@ module.exports.caml_pasta_fq_to_bigint = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_of_bigint = function(x) { +module.exports.caml_pasta_fp_of_bigint = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_of_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fp_of_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -2627,10 +2627,10 @@ module.exports.caml_pasta_fq_of_bigint = function(x) { /** * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_two_adic_root_of_unity = function() { +module.exports.caml_pasta_fp_two_adic_root_of_unity = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_two_adic_root_of_unity(retptr); + wasm.caml_pasta_fp_two_adic_root_of_unity(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2645,10 +2645,10 @@ module.exports.caml_pasta_fq_two_adic_root_of_unity = function() { * @param {number} log2_size * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_domain_generator = function(log2_size) { +module.exports.caml_pasta_fp_domain_generator = function(log2_size) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_domain_generator(retptr, log2_size); + wasm.caml_pasta_fp_domain_generator(retptr, log2_size); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2663,12 +2663,12 @@ module.exports.caml_pasta_fq_domain_generator = function(log2_size) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_to_bytes = function(x) { +module.exports.caml_pasta_fp_to_bytes = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_to_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fp_to_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2683,12 +2683,12 @@ module.exports.caml_pasta_fq_to_bytes = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_of_bytes = function(x) { +module.exports.caml_pasta_fp_of_bytes = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_of_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fp_of_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2703,12 +2703,12 @@ module.exports.caml_pasta_fq_of_bytes = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fq_deep_copy = function(x) { +module.exports.caml_pasta_fp_deep_copy = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_deep_copy(retptr, ptr0, len0); + wasm.caml_pasta_fp_deep_copy(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2720,94 +2720,94 @@ module.exports.caml_pasta_fq_deep_copy = function(x) { }; /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_one = function() { - const ret = wasm.caml_pallas_one(); - return WasmPallasGProjective.__wrap(ret); +module.exports.caml_vesta_one = function() { + const ret = wasm.caml_vesta_one(); + return WasmVestaGProjective.__wrap(ret); }; /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_add = function(x, y) { - _assertClass(x, WasmPallasGProjective); - _assertClass(y, WasmPallasGProjective); - const ret = wasm.caml_pallas_add(x.__wbg_ptr, y.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +module.exports.caml_vesta_add = function(x, y) { + _assertClass(x, WasmVestaGProjective); + _assertClass(y, WasmVestaGProjective); + const ret = wasm.caml_vesta_add(x.__wbg_ptr, y.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); }; /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_sub = function(x, y) { - _assertClass(x, WasmPallasGProjective); - _assertClass(y, WasmPallasGProjective); - const ret = wasm.caml_pallas_sub(x.__wbg_ptr, y.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +module.exports.caml_vesta_sub = function(x, y) { + _assertClass(x, WasmVestaGProjective); + _assertClass(y, WasmVestaGProjective); + const ret = wasm.caml_vesta_sub(x.__wbg_ptr, y.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); }; /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_negate = function(x) { - _assertClass(x, WasmPallasGProjective); - const ret = wasm.caml_pallas_negate(x.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +module.exports.caml_vesta_negate = function(x) { + _assertClass(x, WasmVestaGProjective); + const ret = wasm.caml_vesta_negate(x.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); }; /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_double = function(x) { - _assertClass(x, WasmPallasGProjective); - const ret = wasm.caml_pallas_double(x.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +module.exports.caml_vesta_double = function(x) { + _assertClass(x, WasmVestaGProjective); + const ret = wasm.caml_vesta_double(x.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); }; /** -* @param {WasmPallasGProjective} x +* @param {WasmVestaGProjective} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_scale = function(x, y) { - _assertClass(x, WasmPallasGProjective); +module.exports.caml_vesta_scale = function(x, y) { + _assertClass(x, WasmVestaGProjective); const ptr0 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_pallas_scale(x.__wbg_ptr, ptr0, len0); - return WasmPallasGProjective.__wrap(ret); + const ret = wasm.caml_vesta_scale(x.__wbg_ptr, ptr0, len0); + return WasmVestaGProjective.__wrap(ret); }; /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_random = function() { - const ret = wasm.caml_pallas_random(); - return WasmPallasGProjective.__wrap(ret); +module.exports.caml_vesta_random = function() { + const ret = wasm.caml_vesta_random(); + return WasmVestaGProjective.__wrap(ret); }; /** * @param {number} i -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_rng = function(i) { - const ret = wasm.caml_pallas_rng(i); - return WasmPallasGProjective.__wrap(ret); +module.exports.caml_vesta_rng = function(i) { + const ret = wasm.caml_vesta_rng(i); + return WasmVestaGProjective.__wrap(ret); }; /** * @returns {Uint8Array} */ -module.exports.caml_pallas_endo_base = function() { +module.exports.caml_vesta_endo_base = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pallas_endo_base(retptr); + wasm.caml_vesta_endo_base(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2821,10 +2821,10 @@ module.exports.caml_pallas_endo_base = function() { /** * @returns {Uint8Array} */ -module.exports.caml_pallas_endo_scalar = function() { +module.exports.caml_vesta_endo_scalar = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pallas_endo_scalar(retptr); + wasm.caml_vesta_endo_scalar(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2836,66 +2836,66 @@ module.exports.caml_pallas_endo_scalar = function() { }; /** -* @param {WasmPallasGProjective} x -* @returns {WasmGPallas} +* @param {WasmVestaGProjective} x +* @returns {WasmGVesta} */ -module.exports.caml_pallas_to_affine = function(x) { - _assertClass(x, WasmPallasGProjective); - const ret = wasm.caml_pallas_to_affine(x.__wbg_ptr); - return WasmGPallas.__wrap(ret); +module.exports.caml_vesta_to_affine = function(x) { + _assertClass(x, WasmVestaGProjective); + const ret = wasm.caml_vesta_to_affine(x.__wbg_ptr); + return WasmGVesta.__wrap(ret); }; /** -* @param {WasmGPallas} x -* @returns {WasmPallasGProjective} +* @param {WasmGVesta} x +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_of_affine = function(x) { - _assertClass(x, WasmGPallas); +module.exports.caml_vesta_of_affine = function(x) { + _assertClass(x, WasmGVesta); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pallas_of_affine(ptr0); - return WasmPallasGProjective.__wrap(ret); + const ret = wasm.caml_vesta_of_affine(ptr0); + return WasmVestaGProjective.__wrap(ret); }; /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -module.exports.caml_pallas_of_affine_coordinates = function(x, y) { +module.exports.caml_vesta_of_affine_coordinates = function(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pallas_of_affine_coordinates(ptr0, len0, ptr1, len1); - return WasmPallasGProjective.__wrap(ret); + const ret = wasm.caml_vesta_of_affine_coordinates(ptr0, len0, ptr1, len1); + return WasmVestaGProjective.__wrap(ret); }; /** -* @param {WasmGPallas} x -* @returns {WasmGPallas} +* @param {WasmGVesta} x +* @returns {WasmGVesta} */ -module.exports.caml_pallas_affine_deep_copy = function(x) { - _assertClass(x, WasmGPallas); +module.exports.caml_vesta_affine_deep_copy = function(x) { + _assertClass(x, WasmGVesta); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pallas_affine_deep_copy(ptr0); - return WasmGPallas.__wrap(ret); + const ret = wasm.caml_vesta_affine_deep_copy(ptr0); + return WasmGVesta.__wrap(ret); }; /** * @returns {number} */ -module.exports.caml_pasta_fp_size_in_bits = function() { - const ret = wasm.caml_pasta_fp_size_in_bits(); +module.exports.caml_pasta_fq_size_in_bits = function() { + const ret = wasm.caml_pasta_fq_size_in_bits(); return ret; }; /** * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_size = function() { +module.exports.caml_pasta_fq_size = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_size(retptr); + wasm.caml_pasta_fq_size(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2911,14 +2911,14 @@ module.exports.caml_pasta_fp_size = function() { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_add = function(x, y) { +module.exports.caml_pasta_fq_add = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_add(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_add(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2934,14 +2934,14 @@ module.exports.caml_pasta_fp_add = function(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_sub = function(x, y) { +module.exports.caml_pasta_fq_sub = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_sub(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_sub(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2956,12 +2956,12 @@ module.exports.caml_pasta_fp_sub = function(x, y) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_negate = function(x) { +module.exports.caml_pasta_fq_negate = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_negate(retptr, ptr0, len0); + wasm.caml_pasta_fq_negate(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2977,14 +2977,14 @@ module.exports.caml_pasta_fp_negate = function(x) { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_mul = function(x, y) { +module.exports.caml_pasta_fq_mul = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_mul(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_mul(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3000,14 +3000,14 @@ module.exports.caml_pasta_fp_mul = function(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_div = function(x, y) { +module.exports.caml_pasta_fq_div = function(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_div(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_div(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3022,12 +3022,12 @@ module.exports.caml_pasta_fp_div = function(x, y) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -module.exports.caml_pasta_fp_inv = function(x) { +module.exports.caml_pasta_fq_inv = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_inv(retptr, ptr0, len0); + wasm.caml_pasta_fq_inv(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -3045,12 +3045,12 @@ module.exports.caml_pasta_fp_inv = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_square = function(x) { +module.exports.caml_pasta_fq_square = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_square(retptr, ptr0, len0); + wasm.caml_pasta_fq_square(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3065,10 +3065,10 @@ module.exports.caml_pasta_fp_square = function(x) { * @param {Uint8Array} x * @returns {boolean} */ -module.exports.caml_pasta_fp_is_square = function(x) { +module.exports.caml_pasta_fq_is_square = function(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_is_square(ptr0, len0); + const ret = wasm.caml_pasta_fq_is_square(ptr0, len0); return ret !== 0; }; @@ -3076,12 +3076,12 @@ module.exports.caml_pasta_fp_is_square = function(x) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -module.exports.caml_pasta_fp_sqrt = function(x) { +module.exports.caml_pasta_fq_sqrt = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_sqrt(retptr, ptr0, len0); + wasm.caml_pasta_fq_sqrt(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -3099,10 +3099,10 @@ module.exports.caml_pasta_fp_sqrt = function(x) { * @param {number} i * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_of_int = function(i) { +module.exports.caml_pasta_fq_of_int = function(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_of_int(retptr, i); + wasm.caml_pasta_fq_of_int(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3117,14 +3117,14 @@ module.exports.caml_pasta_fp_of_int = function(i) { * @param {Uint8Array} x * @returns {string} */ -module.exports.caml_pasta_fp_to_string = function(x) { +module.exports.caml_pasta_fq_to_string = function(x) { let deferred2_0; let deferred2_1; try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_to_string(retptr, ptr0, len0); + wasm.caml_pasta_fq_to_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; deferred2_0 = r0; @@ -3140,12 +3140,12 @@ module.exports.caml_pasta_fp_to_string = function(x) { * @param {string} s * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_of_string = function(s) { +module.exports.caml_pasta_fq_of_string = function(s) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_of_string(retptr, ptr0, len0); + wasm.caml_pasta_fq_of_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -3164,10 +3164,10 @@ module.exports.caml_pasta_fp_of_string = function(s) { /** * @param {Uint8Array} x */ -module.exports.caml_pasta_fp_print = function(x) { +module.exports.caml_pasta_fq_print = function(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_print(ptr0, len0); + wasm.caml_pasta_fq_print(ptr0, len0); }; /** @@ -3175,12 +3175,12 @@ module.exports.caml_pasta_fp_print = function(x) { * @param {Uint8Array} y * @returns {number} */ -module.exports.caml_pasta_fp_compare = function(x, y) { +module.exports.caml_pasta_fq_compare = function(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_compare(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fq_compare(ptr0, len0, ptr1, len1); return ret; }; @@ -3189,22 +3189,22 @@ module.exports.caml_pasta_fp_compare = function(x, y) { * @param {Uint8Array} y * @returns {boolean} */ -module.exports.caml_pasta_fp_equal = function(x, y) { +module.exports.caml_pasta_fq_equal = function(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_equal(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fq_equal(ptr0, len0, ptr1, len1); return ret !== 0; }; /** * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_random = function() { +module.exports.caml_pasta_fq_random = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_random(retptr); + wasm.caml_pasta_fq_random(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3219,10 +3219,10 @@ module.exports.caml_pasta_fp_random = function() { * @param {number} i * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_rng = function(i) { +module.exports.caml_pasta_fq_rng = function(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_rng(retptr, i); + wasm.caml_pasta_fq_rng(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3237,12 +3237,12 @@ module.exports.caml_pasta_fp_rng = function(i) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_to_bigint = function(x) { +module.exports.caml_pasta_fq_to_bigint = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_to_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fq_to_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3257,12 +3257,12 @@ module.exports.caml_pasta_fp_to_bigint = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_of_bigint = function(x) { +module.exports.caml_pasta_fq_of_bigint = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_of_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fq_of_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -3281,10 +3281,10 @@ module.exports.caml_pasta_fp_of_bigint = function(x) { /** * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_two_adic_root_of_unity = function() { +module.exports.caml_pasta_fq_two_adic_root_of_unity = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_two_adic_root_of_unity(retptr); + wasm.caml_pasta_fq_two_adic_root_of_unity(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3299,10 +3299,10 @@ module.exports.caml_pasta_fp_two_adic_root_of_unity = function() { * @param {number} log2_size * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_domain_generator = function(log2_size) { +module.exports.caml_pasta_fq_domain_generator = function(log2_size) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_domain_generator(retptr, log2_size); + wasm.caml_pasta_fq_domain_generator(retptr, log2_size); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3317,12 +3317,12 @@ module.exports.caml_pasta_fp_domain_generator = function(log2_size) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_to_bytes = function(x) { +module.exports.caml_pasta_fq_to_bytes = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_to_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fq_to_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3337,12 +3337,12 @@ module.exports.caml_pasta_fp_to_bytes = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_of_bytes = function(x) { +module.exports.caml_pasta_fq_of_bytes = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_of_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fq_of_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3357,12 +3357,12 @@ module.exports.caml_pasta_fp_of_bytes = function(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -module.exports.caml_pasta_fp_deep_copy = function(x) { +module.exports.caml_pasta_fq_deep_copy = function(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_deep_copy(retptr, ptr0, len0); + wasm.caml_pasta_fq_deep_copy(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3374,94 +3374,94 @@ module.exports.caml_pasta_fp_deep_copy = function(x) { }; /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_one = function() { - const ret = wasm.caml_vesta_one(); - return WasmVestaGProjective.__wrap(ret); +module.exports.caml_pallas_one = function() { + const ret = wasm.caml_pallas_one(); + return WasmPallasGProjective.__wrap(ret); }; /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_add = function(x, y) { - _assertClass(x, WasmVestaGProjective); - _assertClass(y, WasmVestaGProjective); - const ret = wasm.caml_vesta_add(x.__wbg_ptr, y.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +module.exports.caml_pallas_add = function(x, y) { + _assertClass(x, WasmPallasGProjective); + _assertClass(y, WasmPallasGProjective); + const ret = wasm.caml_pallas_add(x.__wbg_ptr, y.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); }; /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_sub = function(x, y) { - _assertClass(x, WasmVestaGProjective); - _assertClass(y, WasmVestaGProjective); - const ret = wasm.caml_vesta_sub(x.__wbg_ptr, y.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +module.exports.caml_pallas_sub = function(x, y) { + _assertClass(x, WasmPallasGProjective); + _assertClass(y, WasmPallasGProjective); + const ret = wasm.caml_pallas_sub(x.__wbg_ptr, y.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); }; /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_negate = function(x) { - _assertClass(x, WasmVestaGProjective); - const ret = wasm.caml_vesta_negate(x.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +module.exports.caml_pallas_negate = function(x) { + _assertClass(x, WasmPallasGProjective); + const ret = wasm.caml_pallas_negate(x.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); }; /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_double = function(x) { - _assertClass(x, WasmVestaGProjective); - const ret = wasm.caml_vesta_double(x.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +module.exports.caml_pallas_double = function(x) { + _assertClass(x, WasmPallasGProjective); + const ret = wasm.caml_pallas_double(x.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); }; /** -* @param {WasmVestaGProjective} x +* @param {WasmPallasGProjective} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_scale = function(x, y) { - _assertClass(x, WasmVestaGProjective); +module.exports.caml_pallas_scale = function(x, y) { + _assertClass(x, WasmPallasGProjective); const ptr0 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_vesta_scale(x.__wbg_ptr, ptr0, len0); - return WasmVestaGProjective.__wrap(ret); + const ret = wasm.caml_pallas_scale(x.__wbg_ptr, ptr0, len0); + return WasmPallasGProjective.__wrap(ret); }; /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_random = function() { - const ret = wasm.caml_vesta_random(); - return WasmVestaGProjective.__wrap(ret); +module.exports.caml_pallas_random = function() { + const ret = wasm.caml_pallas_random(); + return WasmPallasGProjective.__wrap(ret); }; /** * @param {number} i -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_rng = function(i) { - const ret = wasm.caml_vesta_rng(i); - return WasmVestaGProjective.__wrap(ret); +module.exports.caml_pallas_rng = function(i) { + const ret = wasm.caml_pallas_rng(i); + return WasmPallasGProjective.__wrap(ret); }; /** * @returns {Uint8Array} */ -module.exports.caml_vesta_endo_base = function() { +module.exports.caml_pallas_endo_base = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_vesta_endo_base(retptr); + wasm.caml_pallas_endo_base(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3475,10 +3475,10 @@ module.exports.caml_vesta_endo_base = function() { /** * @returns {Uint8Array} */ -module.exports.caml_vesta_endo_scalar = function() { +module.exports.caml_pallas_endo_scalar = function() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_vesta_endo_scalar(retptr); + wasm.caml_pallas_endo_scalar(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3490,49 +3490,49 @@ module.exports.caml_vesta_endo_scalar = function() { }; /** -* @param {WasmVestaGProjective} x -* @returns {WasmGVesta} +* @param {WasmPallasGProjective} x +* @returns {WasmGPallas} */ -module.exports.caml_vesta_to_affine = function(x) { - _assertClass(x, WasmVestaGProjective); - const ret = wasm.caml_vesta_to_affine(x.__wbg_ptr); - return WasmGVesta.__wrap(ret); +module.exports.caml_pallas_to_affine = function(x) { + _assertClass(x, WasmPallasGProjective); + const ret = wasm.caml_pallas_to_affine(x.__wbg_ptr); + return WasmGPallas.__wrap(ret); }; /** -* @param {WasmGVesta} x -* @returns {WasmVestaGProjective} +* @param {WasmGPallas} x +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_of_affine = function(x) { - _assertClass(x, WasmGVesta); +module.exports.caml_pallas_of_affine = function(x) { + _assertClass(x, WasmGPallas); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_vesta_of_affine(ptr0); - return WasmVestaGProjective.__wrap(ret); + const ret = wasm.caml_pallas_of_affine(ptr0); + return WasmPallasGProjective.__wrap(ret); }; /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -module.exports.caml_vesta_of_affine_coordinates = function(x, y) { +module.exports.caml_pallas_of_affine_coordinates = function(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_vesta_of_affine_coordinates(ptr0, len0, ptr1, len1); - return WasmVestaGProjective.__wrap(ret); + const ret = wasm.caml_pallas_of_affine_coordinates(ptr0, len0, ptr1, len1); + return WasmPallasGProjective.__wrap(ret); }; /** -* @param {WasmGVesta} x -* @returns {WasmGVesta} +* @param {WasmGPallas} x +* @returns {WasmGPallas} */ -module.exports.caml_vesta_affine_deep_copy = function(x) { - _assertClass(x, WasmGVesta); +module.exports.caml_pallas_affine_deep_copy = function(x) { + _assertClass(x, WasmGPallas); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_vesta_affine_deep_copy(ptr0); - return WasmGVesta.__wrap(ret); + const ret = wasm.caml_pallas_affine_deep_copy(ptr0); + return WasmGPallas.__wrap(ret); }; function handleError(f, args) { @@ -4335,7 +4335,7 @@ class WasmFpLookupSelectors { * @returns {WasmFpPolyComm | undefined} */ get xor() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFpPolyComm.__wrap(ret); } /** @@ -4347,7 +4347,7 @@ class WasmFpLookupSelectors { _assertClass(x, WasmFpPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFpPolyComm | undefined} @@ -4589,7 +4589,7 @@ class WasmFpOpeningProof { get z1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfpopeningproof_z1(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfpdomain_group_gen(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -4605,7 +4605,7 @@ class WasmFpOpeningProof { set z1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfpopeningproof_z1(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfpdomain_group_gen(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -5117,7 +5117,7 @@ class WasmFpPlonkVerificationEvals { * @returns {WasmFpPolyComm | undefined} */ get xor_comm() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFpPolyComm.__wrap(ret); } /** @@ -5129,7 +5129,7 @@ class WasmFpPlonkVerificationEvals { _assertClass(x, WasmFpPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFpPolyComm | undefined} @@ -6250,7 +6250,7 @@ class WasmFpShifts { get s1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfpshifts_s1(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfpopeningproof_z2(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -6266,7 +6266,7 @@ class WasmFpShifts { set s1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfpshifts_s1(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfpopeningproof_z2(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -6673,7 +6673,7 @@ class WasmFqLookupCommitments { * @returns {WasmFqPolyComm | undefined} */ get runtime() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfqlookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFqPolyComm.__wrap(ret); } /** @@ -6701,7 +6701,7 @@ class WasmFqLookupCommitments { _assertClass(r, WasmFqPolyComm); ptr0 = r.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfqlookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } } module.exports.WasmFqLookupCommitments = WasmFqLookupCommitments; @@ -6762,7 +6762,7 @@ class WasmFqLookupSelectors { * @returns {WasmFqPolyComm | undefined} */ get xor() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFqPolyComm.__wrap(ret); } /** @@ -6774,7 +6774,7 @@ class WasmFqLookupSelectors { _assertClass(x, WasmFqPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFqPolyComm | undefined} @@ -7016,7 +7016,7 @@ class WasmFqOpeningProof { get z1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfqdomain_group_gen(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfqopeningproof_z1(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -7032,7 +7032,7 @@ class WasmFqOpeningProof { set z1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfqdomain_group_gen(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfqopeningproof_z1(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -7544,7 +7544,7 @@ class WasmFqPlonkVerificationEvals { * @returns {WasmFqPolyComm | undefined} */ get xor_comm() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFqPolyComm.__wrap(ret); } /** @@ -7556,7 +7556,7 @@ class WasmFqPlonkVerificationEvals { _assertClass(x, WasmFqPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFqPolyComm | undefined} @@ -8677,7 +8677,7 @@ class WasmFqShifts { get s1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfqopeningproof_z2(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfqshifts_s1(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -8693,7 +8693,7 @@ class WasmFqShifts { set s1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfqopeningproof_z2(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfqshifts_s1(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -9314,7 +9314,7 @@ class WasmPastaFpRuntimeTableCfg { constructor(id, first_column) { const ptr0 = passArray8ToWasm0(first_column, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.wasmpastafpruntimetablecfg_new(id, ptr0, len0); + const ret = wasm.wasmfpruntimetable_new(id, ptr0, len0); return WasmPastaFpRuntimeTableCfg.__wrap(ret); } } @@ -9410,7 +9410,7 @@ class WasmPastaFqRuntimeTableCfg { constructor(id, first_column) { const ptr0 = passArray8ToWasm0(first_column, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.wasmfqruntimetable_new(id, ptr0, len0); + const ret = wasm.wasmpastafqruntimetablecfg_new(id, ptr0, len0); return WasmPastaFqRuntimeTableCfg.__wrap(ret); } } @@ -9508,7 +9508,7 @@ class WasmVecVecFpPolyComm { * @param {number} n */ constructor(n) { - const ret = wasm.wasmvecvecfp_create(n); + const ret = wasm.wasmvecvecfppolycomm_create(n); return WasmVecVecFpPolyComm.__wrap(ret); } /** @@ -9614,7 +9614,7 @@ class WasmVecVecFqPolyComm { * @param {number} n */ constructor(n) { - const ret = wasm.wasmvecvecfqpolycomm_create(n); + const ret = wasm.wasmvecvecfq_create(n); return WasmVecVecFqPolyComm.__wrap(ret); } /** diff --git a/compiled/node_bindings/plonk_wasm.d.cts b/compiled/node_bindings/plonk_wasm.d.cts index 3fea6201..51f91613 100755 --- a/compiled/node_bindings/plonk_wasm.d.cts +++ b/compiled/node_bindings/plonk_wasm.d.cts @@ -2,50 +2,50 @@ /* eslint-disable */ /** * @param {Uint32Array} lgr_comm -* @param {WasmFqPlonkVerifierIndex} index -* @param {WasmFqProverProof} proof -* @returns {WasmFqOracles} +* @param {WasmFpPlonkVerifierIndex} index +* @param {WasmFpProverProof} proof +* @returns {WasmFpOracles} */ -export function fq_oracles_create(lgr_comm: Uint32Array, index: WasmFqPlonkVerifierIndex, proof: WasmFqProverProof): WasmFqOracles; +export function fp_oracles_create(lgr_comm: Uint32Array, index: WasmFpPlonkVerifierIndex, proof: WasmFpProverProof): WasmFpOracles; /** -* @returns {WasmFqOracles} +* @returns {WasmFpOracles} */ -export function fq_oracles_dummy(): WasmFqOracles; +export function fp_oracles_dummy(): WasmFpOracles; /** -* @param {WasmFqProverProof} x -* @returns {WasmFqProverProof} +* @param {WasmFpProverProof} x +* @returns {WasmFpProverProof} */ -export function fq_oracles_deep_copy(x: WasmFqProverProof): WasmFqProverProof; +export function fp_oracles_deep_copy(x: WasmFpProverProof): WasmFpProverProof; /** -* @param {WasmPastaFpPlonkIndex} index -* @param {WasmVecVecFp} witness +* @param {WasmPastaFqPlonkIndex} index +* @param {WasmVecVecFq} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_create(index: WasmPastaFpPlonkIndex, witness: WasmVecVecFp, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFpProverProof; +export function caml_pasta_fq_plonk_proof_create(index: WasmPastaFqPlonkIndex, witness: WasmVecVecFq, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFqProverProof; /** -* @param {WasmFpPlonkVerifierIndex} index -* @param {WasmFpProverProof} proof +* @param {WasmFqPlonkVerifierIndex} index +* @param {WasmFqProverProof} proof * @returns {boolean} */ -export function caml_pasta_fp_plonk_proof_verify(index: WasmFpPlonkVerifierIndex, proof: WasmFpProverProof): boolean; +export function caml_pasta_fq_plonk_proof_verify(index: WasmFqPlonkVerifierIndex, proof: WasmFqProverProof): boolean; /** * @param {Uint32Array} indexes * @param {Uint32Array} proofs * @returns {boolean} */ -export function caml_pasta_fp_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; +export function caml_pasta_fq_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; /** -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_dummy(): WasmFpProverProof; +export function caml_pasta_fq_plonk_proof_dummy(): WasmFqProverProof; /** -* @param {WasmFpProverProof} x -* @returns {WasmFpProverProof} +* @param {WasmFqProverProof} x +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_deep_copy(x: WasmFpProverProof): WasmFpProverProof; +export function caml_pasta_fq_plonk_proof_deep_copy(x: WasmFqProverProof): WasmFqProverProof; /** * @param {string} name */ @@ -620,35 +620,35 @@ export function caml_pasta_fq_plonk_verifier_index_dummy(): WasmFqPlonkVerifierI */ export function caml_pasta_fq_plonk_verifier_index_deep_copy(x: WasmFqPlonkVerifierIndex): WasmFqPlonkVerifierIndex; /** -* @param {WasmPastaFqPlonkIndex} index -* @param {WasmVecVecFq} witness +* @param {WasmPastaFpPlonkIndex} index +* @param {WasmVecVecFp} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_create(index: WasmPastaFqPlonkIndex, witness: WasmVecVecFq, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFqProverProof; +export function caml_pasta_fp_plonk_proof_create(index: WasmPastaFpPlonkIndex, witness: WasmVecVecFp, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFpProverProof; /** -* @param {WasmFqPlonkVerifierIndex} index -* @param {WasmFqProverProof} proof +* @param {WasmFpPlonkVerifierIndex} index +* @param {WasmFpProverProof} proof * @returns {boolean} */ -export function caml_pasta_fq_plonk_proof_verify(index: WasmFqPlonkVerifierIndex, proof: WasmFqProverProof): boolean; +export function caml_pasta_fp_plonk_proof_verify(index: WasmFpPlonkVerifierIndex, proof: WasmFpProverProof): boolean; /** * @param {Uint32Array} indexes * @param {Uint32Array} proofs * @returns {boolean} */ -export function caml_pasta_fq_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; +export function caml_pasta_fp_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; /** -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_dummy(): WasmFqProverProof; +export function caml_pasta_fp_plonk_proof_dummy(): WasmFpProverProof; /** -* @param {WasmFqProverProof} x -* @returns {WasmFqProverProof} +* @param {WasmFpProverProof} x +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_deep_copy(x: WasmFqProverProof): WasmFqProverProof; +export function caml_pasta_fp_plonk_proof_deep_copy(x: WasmFpProverProof): WasmFpProverProof; /** * @returns {WasmGPallas} */ @@ -683,422 +683,422 @@ export function exitThreadPool(): Promise; export function wbg_rayon_start_worker(receiver: number): void; /** * @param {Uint32Array} lgr_comm -* @param {WasmFpPlonkVerifierIndex} index -* @param {WasmFpProverProof} proof -* @returns {WasmFpOracles} +* @param {WasmFqPlonkVerifierIndex} index +* @param {WasmFqProverProof} proof +* @returns {WasmFqOracles} */ -export function fp_oracles_create(lgr_comm: Uint32Array, index: WasmFpPlonkVerifierIndex, proof: WasmFpProverProof): WasmFpOracles; +export function fq_oracles_create(lgr_comm: Uint32Array, index: WasmFqPlonkVerifierIndex, proof: WasmFqProverProof): WasmFqOracles; /** -* @returns {WasmFpOracles} +* @returns {WasmFqOracles} */ -export function fp_oracles_dummy(): WasmFpOracles; +export function fq_oracles_dummy(): WasmFqOracles; /** -* @param {WasmFpProverProof} x -* @returns {WasmFpProverProof} +* @param {WasmFqProverProof} x +* @returns {WasmFqProverProof} */ -export function fp_oracles_deep_copy(x: WasmFpProverProof): WasmFpProverProof; +export function fq_oracles_deep_copy(x: WasmFqProverProof): WasmFqProverProof; /** * @returns {number} */ -export function caml_pasta_fq_size_in_bits(): number; +export function caml_pasta_fp_size_in_bits(): number; /** * @returns {Uint8Array} */ -export function caml_pasta_fq_size(): Uint8Array; +export function caml_pasta_fp_size(): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_add(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_add(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_sub(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_sub(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_negate(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_negate(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_mul(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_mul(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_div(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_div(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fq_inv(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fp_inv(x: Uint8Array): Uint8Array | undefined; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_square(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_square(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {boolean} */ -export function caml_pasta_fq_is_square(x: Uint8Array): boolean; +export function caml_pasta_fp_is_square(x: Uint8Array): boolean; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fq_sqrt(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fp_sqrt(x: Uint8Array): Uint8Array | undefined; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fq_of_int(i: number): Uint8Array; +export function caml_pasta_fp_of_int(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {string} */ -export function caml_pasta_fq_to_string(x: Uint8Array): string; +export function caml_pasta_fp_to_string(x: Uint8Array): string; /** * @param {string} s * @returns {Uint8Array} */ -export function caml_pasta_fq_of_string(s: string): Uint8Array; +export function caml_pasta_fp_of_string(s: string): Uint8Array; /** * @param {Uint8Array} x */ -export function caml_pasta_fq_print(x: Uint8Array): void; +export function caml_pasta_fp_print(x: Uint8Array): void; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {number} */ -export function caml_pasta_fq_compare(x: Uint8Array, y: Uint8Array): number; +export function caml_pasta_fp_compare(x: Uint8Array, y: Uint8Array): number; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {boolean} */ -export function caml_pasta_fq_equal(x: Uint8Array, y: Uint8Array): boolean; +export function caml_pasta_fp_equal(x: Uint8Array, y: Uint8Array): boolean; /** * @returns {Uint8Array} */ -export function caml_pasta_fq_random(): Uint8Array; +export function caml_pasta_fp_random(): Uint8Array; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fq_rng(i: number): Uint8Array; +export function caml_pasta_fp_rng(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_to_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_to_bigint(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_of_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_of_bigint(x: Uint8Array): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_pasta_fq_two_adic_root_of_unity(): Uint8Array; +export function caml_pasta_fp_two_adic_root_of_unity(): Uint8Array; /** * @param {number} log2_size * @returns {Uint8Array} */ -export function caml_pasta_fq_domain_generator(log2_size: number): Uint8Array; +export function caml_pasta_fp_domain_generator(log2_size: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_to_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_to_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_of_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_of_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_deep_copy(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_deep_copy(x: Uint8Array): Uint8Array; /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_one(): WasmPallasGProjective; +export function caml_vesta_one(): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -export function caml_pallas_add(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_add(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -export function caml_pallas_sub(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_sub(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_negate(x: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_negate(x: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_double(x: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_double(x: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x +* @param {WasmVestaGProjective} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_scale(x: WasmPallasGProjective, y: Uint8Array): WasmPallasGProjective; +export function caml_vesta_scale(x: WasmVestaGProjective, y: Uint8Array): WasmVestaGProjective; /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_random(): WasmPallasGProjective; +export function caml_vesta_random(): WasmVestaGProjective; /** * @param {number} i -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_rng(i: number): WasmPallasGProjective; +export function caml_vesta_rng(i: number): WasmVestaGProjective; /** * @returns {Uint8Array} */ -export function caml_pallas_endo_base(): Uint8Array; +export function caml_vesta_endo_base(): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_pallas_endo_scalar(): Uint8Array; +export function caml_vesta_endo_scalar(): Uint8Array; /** -* @param {WasmPallasGProjective} x -* @returns {WasmGPallas} +* @param {WasmVestaGProjective} x +* @returns {WasmGVesta} */ -export function caml_pallas_to_affine(x: WasmPallasGProjective): WasmGPallas; +export function caml_vesta_to_affine(x: WasmVestaGProjective): WasmGVesta; /** -* @param {WasmGPallas} x -* @returns {WasmPallasGProjective} +* @param {WasmGVesta} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_of_affine(x: WasmGPallas): WasmPallasGProjective; +export function caml_vesta_of_affine(x: WasmGVesta): WasmVestaGProjective; /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmPallasGProjective; +export function caml_vesta_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmVestaGProjective; /** -* @param {WasmGPallas} x -* @returns {WasmGPallas} +* @param {WasmGVesta} x +* @returns {WasmGVesta} */ -export function caml_pallas_affine_deep_copy(x: WasmGPallas): WasmGPallas; +export function caml_vesta_affine_deep_copy(x: WasmGVesta): WasmGVesta; /** * @returns {number} */ -export function caml_pasta_fp_size_in_bits(): number; +export function caml_pasta_fq_size_in_bits(): number; /** * @returns {Uint8Array} */ -export function caml_pasta_fp_size(): Uint8Array; +export function caml_pasta_fq_size(): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_add(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_add(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_sub(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_sub(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_negate(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_negate(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_mul(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_mul(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_div(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_div(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fp_inv(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fq_inv(x: Uint8Array): Uint8Array | undefined; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_square(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_square(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {boolean} */ -export function caml_pasta_fp_is_square(x: Uint8Array): boolean; +export function caml_pasta_fq_is_square(x: Uint8Array): boolean; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fp_sqrt(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fq_sqrt(x: Uint8Array): Uint8Array | undefined; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fp_of_int(i: number): Uint8Array; +export function caml_pasta_fq_of_int(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {string} */ -export function caml_pasta_fp_to_string(x: Uint8Array): string; +export function caml_pasta_fq_to_string(x: Uint8Array): string; /** * @param {string} s * @returns {Uint8Array} */ -export function caml_pasta_fp_of_string(s: string): Uint8Array; +export function caml_pasta_fq_of_string(s: string): Uint8Array; /** * @param {Uint8Array} x */ -export function caml_pasta_fp_print(x: Uint8Array): void; +export function caml_pasta_fq_print(x: Uint8Array): void; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {number} */ -export function caml_pasta_fp_compare(x: Uint8Array, y: Uint8Array): number; +export function caml_pasta_fq_compare(x: Uint8Array, y: Uint8Array): number; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {boolean} */ -export function caml_pasta_fp_equal(x: Uint8Array, y: Uint8Array): boolean; +export function caml_pasta_fq_equal(x: Uint8Array, y: Uint8Array): boolean; /** * @returns {Uint8Array} */ -export function caml_pasta_fp_random(): Uint8Array; +export function caml_pasta_fq_random(): Uint8Array; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fp_rng(i: number): Uint8Array; +export function caml_pasta_fq_rng(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_to_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_to_bigint(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_of_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_of_bigint(x: Uint8Array): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_pasta_fp_two_adic_root_of_unity(): Uint8Array; +export function caml_pasta_fq_two_adic_root_of_unity(): Uint8Array; /** * @param {number} log2_size * @returns {Uint8Array} */ -export function caml_pasta_fp_domain_generator(log2_size: number): Uint8Array; +export function caml_pasta_fq_domain_generator(log2_size: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_to_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_to_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_of_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_of_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_deep_copy(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_deep_copy(x: Uint8Array): Uint8Array; /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_one(): WasmVestaGProjective; +export function caml_pallas_one(): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -export function caml_vesta_add(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_add(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -export function caml_vesta_sub(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_sub(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_negate(x: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_negate(x: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_double(x: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_double(x: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x +* @param {WasmPallasGProjective} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_scale(x: WasmVestaGProjective, y: Uint8Array): WasmVestaGProjective; +export function caml_pallas_scale(x: WasmPallasGProjective, y: Uint8Array): WasmPallasGProjective; /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_random(): WasmVestaGProjective; +export function caml_pallas_random(): WasmPallasGProjective; /** * @param {number} i -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_rng(i: number): WasmVestaGProjective; +export function caml_pallas_rng(i: number): WasmPallasGProjective; /** * @returns {Uint8Array} */ -export function caml_vesta_endo_base(): Uint8Array; +export function caml_pallas_endo_base(): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_vesta_endo_scalar(): Uint8Array; +export function caml_pallas_endo_scalar(): Uint8Array; /** -* @param {WasmVestaGProjective} x -* @returns {WasmGVesta} +* @param {WasmPallasGProjective} x +* @returns {WasmGPallas} */ -export function caml_vesta_to_affine(x: WasmVestaGProjective): WasmGVesta; +export function caml_pallas_to_affine(x: WasmPallasGProjective): WasmGPallas; /** -* @param {WasmGVesta} x -* @returns {WasmVestaGProjective} +* @param {WasmGPallas} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_of_affine(x: WasmGVesta): WasmVestaGProjective; +export function caml_pallas_of_affine(x: WasmGPallas): WasmPallasGProjective; /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmVestaGProjective; +export function caml_pallas_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmPallasGProjective; /** -* @param {WasmGVesta} x -* @returns {WasmGVesta} +* @param {WasmGPallas} x +* @returns {WasmGPallas} */ -export function caml_vesta_affine_deep_copy(x: WasmGVesta): WasmGVesta; +export function caml_pallas_affine_deep_copy(x: WasmGPallas): WasmGPallas; /** * A row accessible from a given row, corresponds to the fact that we open all polynomials * at `zeta` **and** `omega * zeta`. diff --git a/compiled/node_bindings/plonk_wasm_bg.wasm b/compiled/node_bindings/plonk_wasm_bg.wasm index fcd41f64..218b7708 100755 Binary files a/compiled/node_bindings/plonk_wasm_bg.wasm and b/compiled/node_bindings/plonk_wasm_bg.wasm differ diff --git a/compiled/node_bindings/plonk_wasm_bg.wasm.d.ts b/compiled/node_bindings/plonk_wasm_bg.wasm.d.ts index ed045ed6..2fad30a9 100755 --- a/compiled/node_bindings/plonk_wasm_bg.wasm.d.ts +++ b/compiled/node_bindings/plonk_wasm_bg.wasm.d.ts @@ -1,53 +1,53 @@ /* tslint:disable */ /* eslint-disable */ export function __wbg_wasmpallasgprojective_free(a: number): void; -export function __wbg_wasmfqrandomoracles_free(a: number): void; -export function __wbg_get_wasmfqrandomoracles_joint_combiner_chal(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_joint_combiner_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_joint_combiner(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_joint_combiner(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_beta(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_beta(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_gamma(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_gamma(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_alpha_chal(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_alpha_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_alpha(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_alpha(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_zeta(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_zeta(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_v(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_v(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_u(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_u(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_zeta_chal(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_zeta_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_v_chal(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_v_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqrandomoracles_u_chal(a: number, b: number): void; -export function __wbg_set_wasmfqrandomoracles_u_chal(a: number, b: number, c: number): void; -export function wasmfqrandomoracles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number): number; -export function __wbg_wasmfqoracles_free(a: number): void; -export function __wbg_get_wasmfqoracles_o(a: number): number; -export function __wbg_set_wasmfqoracles_o(a: number, b: number): void; -export function __wbg_get_wasmfqoracles_p_eval0(a: number, b: number): void; -export function __wbg_set_wasmfqoracles_p_eval0(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqoracles_p_eval1(a: number, b: number): void; -export function __wbg_set_wasmfqoracles_p_eval1(a: number, b: number, c: number): void; -export function __wbg_get_wasmfqoracles_digest_before_evaluations(a: number, b: number): void; -export function __wbg_set_wasmfqoracles_digest_before_evaluations(a: number, b: number, c: number): void; -export function wasmfqoracles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): number; -export function wasmfqoracles_opening_prechallenges(a: number, b: number): void; -export function wasmfqoracles_set_opening_prechallenges(a: number, b: number, c: number): void; -export function fq_oracles_create(a: number, b: number, c: number, d: number, e: number): void; -export function fq_oracles_dummy(): number; -export function fq_oracles_deep_copy(a: number): number; +export function __wbg_wasmfprandomoracles_free(a: number): void; +export function __wbg_get_wasmfprandomoracles_joint_combiner_chal(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_joint_combiner_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_joint_combiner(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_joint_combiner(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_beta(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_beta(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_gamma(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_gamma(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_alpha_chal(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_alpha_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_alpha(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_alpha(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_zeta(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_zeta(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_v(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_v(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_u(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_u(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_zeta_chal(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_zeta_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_v_chal(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_v_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfprandomoracles_u_chal(a: number, b: number): void; +export function __wbg_set_wasmfprandomoracles_u_chal(a: number, b: number, c: number): void; +export function wasmfprandomoracles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number): number; +export function __wbg_wasmfporacles_free(a: number): void; +export function __wbg_get_wasmfporacles_o(a: number): number; +export function __wbg_set_wasmfporacles_o(a: number, b: number): void; +export function __wbg_get_wasmfporacles_p_eval0(a: number, b: number): void; +export function __wbg_set_wasmfporacles_p_eval0(a: number, b: number, c: number): void; +export function __wbg_get_wasmfporacles_p_eval1(a: number, b: number): void; +export function __wbg_set_wasmfporacles_p_eval1(a: number, b: number, c: number): void; +export function __wbg_get_wasmfporacles_digest_before_evaluations(a: number, b: number): void; +export function __wbg_set_wasmfporacles_digest_before_evaluations(a: number, b: number, c: number): void; +export function wasmfporacles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): number; +export function wasmfporacles_opening_prechallenges(a: number, b: number): void; +export function wasmfporacles_set_opening_prechallenges(a: number, b: number, c: number): void; +export function fp_oracles_create(a: number, b: number, c: number, d: number, e: number): void; +export function fp_oracles_dummy(): number; +export function fp_oracles_deep_copy(a: number): number; export function __wbg_wasmvestagprojective_free(a: number): void; -export function __wbg_wasmvecvecfp_free(a: number): void; -export function wasmvecvecfp_create(a: number): number; -export function wasmvecvecfp_push(a: number, b: number, c: number): void; -export function wasmvecvecfp_get(a: number, b: number, c: number): void; -export function wasmvecvecfp_set(a: number, b: number, c: number, d: number): void; +export function __wbg_wasmvecvecfq_free(a: number): void; +export function wasmvecvecfq_create(a: number): number; +export function wasmvecvecfq_push(a: number, b: number, c: number): void; +export function wasmvecvecfq_get(a: number, b: number, c: number): void; +export function wasmvecvecfq_set(a: number, b: number, c: number, d: number): void; export function __wbg_wasmgatewires_free(a: number): void; export function __wbg_get_wasmgatewires_0(a: number): number; export function __wbg_set_wasmgatewires_0(a: number, b: number): void; @@ -64,65 +64,65 @@ export function __wbg_set_wasmgatewires_5(a: number, b: number): void; export function __wbg_get_wasmgatewires_6(a: number): number; export function __wbg_set_wasmgatewires_6(a: number, b: number): void; export function wasmgatewires_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; -export function __wbg_wasmfplookupcommitments_free(a: number): void; -export function wasmfplookupcommitments_new(a: number, b: number, c: number, d: number): number; -export function wasmfplookupcommitments_sorted(a: number, b: number): void; -export function wasmfplookupcommitments_aggreg(a: number): number; -export function wasmfplookupcommitments_runtime(a: number): number; -export function wasmfplookupcommitments_set_sorted(a: number, b: number, c: number): void; -export function wasmfplookupcommitments_set_aggreg(a: number, b: number): void; -export function wasmfplookupcommitments_set_runtime(a: number, b: number): void; -export function __wbg_wasmfpprovercommitments_free(a: number): void; -export function wasmfpprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; -export function wasmfpprovercommitments_w_comm(a: number, b: number): void; -export function wasmfpprovercommitments_z_comm(a: number): number; -export function wasmfpprovercommitments_t_comm(a: number): number; -export function wasmfpprovercommitments_lookup(a: number): number; -export function wasmfpprovercommitments_set_w_comm(a: number, b: number, c: number): void; -export function wasmfpprovercommitments_set_z_comm(a: number, b: number): void; -export function wasmfpprovercommitments_set_t_comm(a: number, b: number): void; -export function wasmfpprovercommitments_set_lookup(a: number, b: number): void; -export function __wbg_wasmfpopeningproof_free(a: number): void; -export function __wbg_get_wasmfpopeningproof_z1(a: number, b: number): void; -export function __wbg_set_wasmfpopeningproof_z1(a: number, b: number, c: number): void; -export function __wbg_get_wasmfpopeningproof_z2(a: number, b: number): void; -export function __wbg_set_wasmfpopeningproof_z2(a: number, b: number, c: number): void; -export function wasmfpopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfpopeningproof_lr_0(a: number, b: number): void; -export function wasmfpopeningproof_lr_1(a: number, b: number): void; -export function wasmfpopeningproof_delta(a: number): number; -export function wasmfpopeningproof_sg(a: number): number; -export function wasmfpopeningproof_set_lr_0(a: number, b: number, c: number): void; -export function wasmfpopeningproof_set_lr_1(a: number, b: number, c: number): void; -export function wasmfpopeningproof_set_delta(a: number, b: number): void; -export function wasmfpopeningproof_set_sg(a: number, b: number): void; -export function __wbg_wasmfpproverproof_free(a: number): void; -export function __wbg_get_wasmfpproverproof_ft_eval1(a: number, b: number): void; -export function __wbg_set_wasmfpproverproof_ft_eval1(a: number, b: number, c: number): void; -export function wasmfpproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfpproverproof_commitments(a: number): number; -export function wasmfpproverproof_proof(a: number): number; -export function wasmfpproverproof_evals(a: number): number; -export function wasmfpproverproof_public_(a: number, b: number): void; -export function wasmfpproverproof_prev_challenges_scalars(a: number): number; -export function wasmfpproverproof_prev_challenges_comms(a: number, b: number): void; -export function wasmfpproverproof_set_commitments(a: number, b: number): void; -export function wasmfpproverproof_set_proof(a: number, b: number): void; -export function wasmfpproverproof_set_evals(a: number, b: number): void; -export function wasmfpproverproof_set_public_(a: number, b: number, c: number): void; -export function wasmfpproverproof_set_prev_challenges_scalars(a: number, b: number): void; -export function wasmfpproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; -export function wasmfpproverproof_serialize(a: number, b: number): void; -export function __wbg_wasmfpruntimetable_free(a: number): void; -export function wasmfpruntimetable_new(a: number, b: number, c: number): number; -export function caml_pasta_fp_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; -export function caml_pasta_fp_plonk_proof_verify(a: number, b: number): number; -export function __wbg_wasmvecvecfppolycomm_free(a: number): void; -export function wasmvecvecfppolycomm_push(a: number, b: number, c: number): void; -export function caml_pasta_fp_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fp_plonk_proof_dummy(): number; -export function caml_pasta_fp_plonk_proof_deep_copy(a: number): number; -export function wasmvecvecfppolycomm_create(a: number): number; +export function __wbg_wasmfqlookupcommitments_free(a: number): void; +export function wasmfqlookupcommitments_new(a: number, b: number, c: number, d: number): number; +export function wasmfqlookupcommitments_sorted(a: number, b: number): void; +export function wasmfqlookupcommitments_aggreg(a: number): number; +export function wasmfqlookupcommitments_runtime(a: number): number; +export function wasmfqlookupcommitments_set_sorted(a: number, b: number, c: number): void; +export function wasmfqlookupcommitments_set_aggreg(a: number, b: number): void; +export function wasmfqlookupcommitments_set_runtime(a: number, b: number): void; +export function __wbg_wasmfqprovercommitments_free(a: number): void; +export function wasmfqprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; +export function wasmfqprovercommitments_w_comm(a: number, b: number): void; +export function wasmfqprovercommitments_z_comm(a: number): number; +export function wasmfqprovercommitments_t_comm(a: number): number; +export function wasmfqprovercommitments_lookup(a: number): number; +export function wasmfqprovercommitments_set_w_comm(a: number, b: number, c: number): void; +export function wasmfqprovercommitments_set_z_comm(a: number, b: number): void; +export function wasmfqprovercommitments_set_t_comm(a: number, b: number): void; +export function wasmfqprovercommitments_set_lookup(a: number, b: number): void; +export function __wbg_wasmfqopeningproof_free(a: number): void; +export function __wbg_get_wasmfqopeningproof_z1(a: number, b: number): void; +export function __wbg_set_wasmfqopeningproof_z1(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqopeningproof_z2(a: number, b: number): void; +export function __wbg_set_wasmfqopeningproof_z2(a: number, b: number, c: number): void; +export function wasmfqopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfqopeningproof_lr_0(a: number, b: number): void; +export function wasmfqopeningproof_lr_1(a: number, b: number): void; +export function wasmfqopeningproof_delta(a: number): number; +export function wasmfqopeningproof_sg(a: number): number; +export function wasmfqopeningproof_set_lr_0(a: number, b: number, c: number): void; +export function wasmfqopeningproof_set_lr_1(a: number, b: number, c: number): void; +export function wasmfqopeningproof_set_delta(a: number, b: number): void; +export function wasmfqopeningproof_set_sg(a: number, b: number): void; +export function __wbg_wasmfqproverproof_free(a: number): void; +export function __wbg_get_wasmfqproverproof_ft_eval1(a: number, b: number): void; +export function __wbg_set_wasmfqproverproof_ft_eval1(a: number, b: number, c: number): void; +export function wasmfqproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfqproverproof_commitments(a: number): number; +export function wasmfqproverproof_proof(a: number): number; +export function wasmfqproverproof_evals(a: number): number; +export function wasmfqproverproof_public_(a: number, b: number): void; +export function wasmfqproverproof_prev_challenges_scalars(a: number): number; +export function wasmfqproverproof_prev_challenges_comms(a: number, b: number): void; +export function wasmfqproverproof_set_commitments(a: number, b: number): void; +export function wasmfqproverproof_set_proof(a: number, b: number): void; +export function wasmfqproverproof_set_evals(a: number, b: number): void; +export function wasmfqproverproof_set_public_(a: number, b: number, c: number): void; +export function wasmfqproverproof_set_prev_challenges_scalars(a: number, b: number): void; +export function wasmfqproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; +export function wasmfqproverproof_serialize(a: number, b: number): void; +export function __wbg_wasmfqruntimetable_free(a: number): void; +export function wasmfqruntimetable_new(a: number, b: number, c: number): number; +export function caml_pasta_fq_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; +export function caml_pasta_fq_plonk_proof_verify(a: number, b: number): number; +export function __wbg_wasmvecvecfqpolycomm_free(a: number): void; +export function wasmvecvecfqpolycomm_push(a: number, b: number, c: number): void; +export function caml_pasta_fq_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fq_plonk_proof_dummy(): number; +export function caml_pasta_fq_plonk_proof_deep_copy(a: number): number; +export function wasmvecvecfqpolycomm_create(a: number): number; export function greet(a: number, b: number): void; export function console_log(a: number, b: number): void; export function create_zero_u32_ptr(): number; @@ -204,7 +204,6 @@ export function caml_fq_srs_get_lagrange_basis(a: number, b: number, c: number): export function __wbg_wasmpastafpplonkindex_free(a: number): void; export function __wbg_wasmpastafplookuptable_free(a: number): void; export function wasmpastafplookuptable_new(a: number, b: number): number; -export function wasmpastafpruntimetablecfg_new(a: number, b: number, c: number): number; export function caml_pasta_fp_plonk_index_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; export function caml_pasta_fp_plonk_index_max_degree(a: number): number; export function caml_pasta_fp_plonk_index_public_inputs(a: number): number; @@ -217,6 +216,7 @@ export function caml_pasta_fp_plonk_index_read(a: number, b: number, c: number, export function caml_pasta_fp_plonk_index_write(a: number, b: number, c: number, d: number, e: number): void; export function caml_pasta_fp_plonk_index_serialize(a: number, b: number): void; export function __wbg_wasmpastafqplonkindex_free(a: number): void; +export function wasmpastafqruntimetablecfg_new(a: number, b: number, c: number): number; export function caml_pasta_fq_plonk_index_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; export function caml_pasta_fq_plonk_index_decode(a: number, b: number, c: number, d: number): void; export function caml_pasta_fq_plonk_index_encode(a: number, b: number): void; @@ -248,8 +248,6 @@ export function wasmfpplonkverificationevals_set_emul_comm(a: number, b: number) export function wasmfpplonkverificationevals_endomul_scalar_comm(a: number): number; export function wasmfpplonkverificationevals_set_endomul_scalar_comm(a: number, b: number): void; export function __wbg_wasmfpshifts_free(a: number): void; -export function __wbg_get_wasmfpshifts_s1(a: number, b: number): void; -export function __wbg_set_wasmfpshifts_s1(a: number, b: number, c: number): void; export function __wbg_get_wasmfpshifts_s2(a: number, b: number): void; export function __wbg_set_wasmfpshifts_s2(a: number, b: number, c: number): void; export function __wbg_get_wasmfpshifts_s3(a: number, b: number): void; @@ -263,8 +261,6 @@ export function __wbg_set_wasmfpshifts_s6(a: number, b: number, c: number): void export function wasmfpshifts_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number): number; export function __wbg_wasmfplookupselectors_free(a: number): void; export function wasmfplookupselectors_new(a: number, b: number, c: number, d: number): number; -export function wasmfplookupselectors_xor(a: number): number; -export function wasmfplookupselectors_set_xor(a: number, b: number): void; export function wasmfplookupselectors_lookup(a: number): number; export function wasmfplookupselectors_set_lookup(a: number, b: number): void; export function wasmfplookupselectors_ffmul(a: number): number; @@ -321,6 +317,8 @@ export function wasmfqplonkverificationevals_sigma_comm(a: number, b: number): v export function wasmfqplonkverificationevals_set_sigma_comm(a: number, b: number, c: number): void; export function wasmfqplonkverificationevals_coefficients_comm(a: number, b: number): void; export function wasmfqplonkverificationevals_set_coefficients_comm(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqshifts_s1(a: number, b: number): void; +export function __wbg_set_wasmfqshifts_s1(a: number, b: number, c: number): void; export function __wbg_get_wasmfqshifts_s2(a: number, b: number): void; export function __wbg_set_wasmfqshifts_s2(a: number, b: number, c: number): void; export function __wbg_get_wasmfqshifts_s3(a: number, b: number): void; @@ -348,61 +346,63 @@ export function caml_pasta_fq_plonk_verifier_index_create(a: number): number; export function caml_pasta_fq_plonk_verifier_index_shifts(a: number): number; export function caml_pasta_fq_plonk_verifier_index_dummy(): number; export function caml_pasta_fq_plonk_verifier_index_deep_copy(a: number): number; -export function __wbg_wasmfqlookupcommitments_free(a: number): void; -export function wasmfqlookupcommitments_new(a: number, b: number, c: number, d: number): number; -export function wasmfqlookupcommitments_sorted(a: number, b: number): void; -export function wasmfqlookupcommitments_aggreg(a: number): number; -export function wasmfqlookupcommitments_set_sorted(a: number, b: number, c: number): void; -export function wasmfqlookupcommitments_set_aggreg(a: number, b: number): void; -export function __wbg_wasmfqprovercommitments_free(a: number): void; -export function wasmfqprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; -export function wasmfqprovercommitments_w_comm(a: number, b: number): void; -export function wasmfqprovercommitments_z_comm(a: number): number; -export function wasmfqprovercommitments_t_comm(a: number): number; -export function wasmfqprovercommitments_lookup(a: number): number; -export function wasmfqprovercommitments_set_w_comm(a: number, b: number, c: number): void; -export function wasmfqprovercommitments_set_z_comm(a: number, b: number): void; -export function wasmfqprovercommitments_set_t_comm(a: number, b: number): void; -export function wasmfqprovercommitments_set_lookup(a: number, b: number): void; -export function __wbg_wasmfqopeningproof_free(a: number): void; -export function __wbg_get_wasmfqopeningproof_z2(a: number, b: number): void; -export function __wbg_set_wasmfqopeningproof_z2(a: number, b: number, c: number): void; -export function wasmfqopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfqopeningproof_lr_0(a: number, b: number): void; -export function wasmfqopeningproof_lr_1(a: number, b: number): void; -export function wasmfqopeningproof_delta(a: number): number; -export function wasmfqopeningproof_sg(a: number): number; -export function wasmfqopeningproof_set_lr_0(a: number, b: number, c: number): void; -export function wasmfqopeningproof_set_lr_1(a: number, b: number, c: number): void; -export function wasmfqopeningproof_set_delta(a: number, b: number): void; -export function wasmfqopeningproof_set_sg(a: number, b: number): void; -export function __wbg_wasmfqproverproof_free(a: number): void; -export function __wbg_get_wasmfqproverproof_ft_eval1(a: number, b: number): void; -export function __wbg_set_wasmfqproverproof_ft_eval1(a: number, b: number, c: number): void; -export function wasmfqproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfqproverproof_commitments(a: number): number; -export function wasmfqproverproof_proof(a: number): number; -export function wasmfqproverproof_evals(a: number): number; -export function wasmfqproverproof_public_(a: number, b: number): void; -export function wasmfqproverproof_prev_challenges_scalars(a: number): number; -export function wasmfqproverproof_prev_challenges_comms(a: number, b: number): void; -export function wasmfqproverproof_set_commitments(a: number, b: number): void; -export function wasmfqproverproof_set_proof(a: number, b: number): void; -export function wasmfqproverproof_set_evals(a: number, b: number): void; -export function wasmfqproverproof_set_public_(a: number, b: number, c: number): void; -export function wasmfqproverproof_set_prev_challenges_scalars(a: number, b: number): void; -export function wasmfqproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; -export function wasmfqproverproof_serialize(a: number, b: number): void; -export function __wbg_wasmfqruntimetable_free(a: number): void; -export function wasmfqruntimetable_new(a: number, b: number, c: number): number; -export function caml_pasta_fq_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; -export function caml_pasta_fq_plonk_proof_verify(a: number, b: number): number; -export function __wbg_wasmvecvecfqpolycomm_free(a: number): void; -export function wasmvecvecfqpolycomm_create(a: number): number; -export function wasmvecvecfqpolycomm_push(a: number, b: number, c: number): void; -export function caml_pasta_fq_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fq_plonk_proof_dummy(): number; -export function caml_pasta_fq_plonk_proof_deep_copy(a: number): number; +export function __wbg_wasmfplookupcommitments_free(a: number): void; +export function wasmfplookupcommitments_new(a: number, b: number, c: number, d: number): number; +export function wasmfplookupcommitments_sorted(a: number, b: number): void; +export function wasmfplookupcommitments_aggreg(a: number): number; +export function wasmfplookupcommitments_runtime(a: number): number; +export function wasmfplookupcommitments_set_sorted(a: number, b: number, c: number): void; +export function wasmfplookupcommitments_set_aggreg(a: number, b: number): void; +export function wasmfplookupcommitments_set_runtime(a: number, b: number): void; +export function __wbg_wasmfpprovercommitments_free(a: number): void; +export function wasmfpprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; +export function wasmfpprovercommitments_w_comm(a: number, b: number): void; +export function wasmfpprovercommitments_z_comm(a: number): number; +export function wasmfpprovercommitments_t_comm(a: number): number; +export function wasmfpprovercommitments_lookup(a: number): number; +export function wasmfpprovercommitments_set_w_comm(a: number, b: number, c: number): void; +export function wasmfpprovercommitments_set_z_comm(a: number, b: number): void; +export function wasmfpprovercommitments_set_t_comm(a: number, b: number): void; +export function wasmfpprovercommitments_set_lookup(a: number, b: number): void; +export function __wbg_wasmfpopeningproof_free(a: number): void; +export function __wbg_get_wasmfpopeningproof_z2(a: number, b: number): void; +export function __wbg_set_wasmfpopeningproof_z2(a: number, b: number, c: number): void; +export function wasmfpopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfpopeningproof_lr_0(a: number, b: number): void; +export function wasmfpopeningproof_lr_1(a: number, b: number): void; +export function wasmfpopeningproof_delta(a: number): number; +export function wasmfpopeningproof_sg(a: number): number; +export function wasmfpopeningproof_set_lr_0(a: number, b: number, c: number): void; +export function wasmfpopeningproof_set_lr_1(a: number, b: number, c: number): void; +export function wasmfpopeningproof_set_delta(a: number, b: number): void; +export function wasmfpopeningproof_set_sg(a: number, b: number): void; +export function __wbg_wasmfpproverproof_free(a: number): void; +export function __wbg_get_wasmfpproverproof_ft_eval1(a: number, b: number): void; +export function __wbg_set_wasmfpproverproof_ft_eval1(a: number, b: number, c: number): void; +export function wasmfpproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfpproverproof_commitments(a: number): number; +export function wasmfpproverproof_proof(a: number): number; +export function wasmfpproverproof_evals(a: number): number; +export function wasmfpproverproof_public_(a: number, b: number): void; +export function wasmfpproverproof_prev_challenges_scalars(a: number): number; +export function wasmfpproverproof_prev_challenges_comms(a: number, b: number): void; +export function wasmfpproverproof_set_commitments(a: number, b: number): void; +export function wasmfpproverproof_set_proof(a: number, b: number): void; +export function wasmfpproverproof_set_evals(a: number, b: number): void; +export function wasmfpproverproof_set_public_(a: number, b: number, c: number): void; +export function wasmfpproverproof_set_prev_challenges_scalars(a: number, b: number): void; +export function wasmfpproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; +export function wasmfpproverproof_serialize(a: number, b: number): void; +export function __wbg_wasmfpruntimetable_free(a: number): void; +export function wasmfpruntimetable_new(a: number, b: number, c: number): number; +export function caml_pasta_fp_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; +export function caml_pasta_fp_plonk_proof_verify(a: number, b: number): number; +export function __wbg_wasmvecvecfppolycomm_free(a: number): void; +export function wasmvecvecfppolycomm_create(a: number): number; +export function wasmvecvecfppolycomm_push(a: number, b: number, c: number): void; +export function caml_pasta_fp_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fp_plonk_proof_dummy(): number; +export function caml_pasta_fp_plonk_proof_deep_copy(a: number): number; export function wasmfppolycomm_new(a: number, b: number, c: number): number; export function wasmfppolycomm_unshifted(a: number, b: number): void; export function wasmfppolycomm_set_unshifted(a: number, b: number, c: number): void; @@ -449,7 +449,7 @@ export function wasmfqlookupverifierindex_set_lookup_info(a: number, b: number): export function wasmfpplonkverificationevals_set_xor_comm(a: number, b: number): void; export function wasmfqplonkverificationevals_set_xor_comm(a: number, b: number): void; export function wasmfqlookupselectors_set_xor(a: number, b: number): void; -export function wasmfqlookupcommitments_set_runtime(a: number, b: number): void; +export function wasmfplookupselectors_set_xor(a: number, b: number): void; export function wasmfqplonkverificationevals_generic_comm(a: number): number; export function wasmfqplonkverificationevals_psm_comm(a: number): number; export function wasmfqplonkverificationevals_complete_add_comm(a: number): number; @@ -490,17 +490,17 @@ export function wasmfqplonkverifierindex_set_evals(a: number, b: number): void; export function wasmfqlookupverifierindex_set_lookup_selectors(a: number, b: number): void; export function __wbg_get_wasmfpshifts_s0(a: number, b: number): void; export function __wbg_get_wasmfqshifts_s0(a: number, b: number): void; -export function __wbg_get_wasmfqopeningproof_z1(a: number, b: number): void; -export function __wbg_get_wasmfqshifts_s1(a: number, b: number): void; +export function __wbg_get_wasmfpopeningproof_z1(a: number, b: number): void; +export function __wbg_get_wasmfpshifts_s1(a: number, b: number): void; export function __wbg_set_wasmfpshifts_s0(a: number, b: number, c: number): void; export function __wbg_set_wasmfqshifts_s0(a: number, b: number, c: number): void; -export function __wbg_set_wasmfqopeningproof_z1(a: number, b: number, c: number): void; -export function __wbg_set_wasmfqshifts_s1(a: number, b: number, c: number): void; +export function __wbg_set_wasmfpopeningproof_z1(a: number, b: number, c: number): void; +export function __wbg_set_wasmfpshifts_s1(a: number, b: number, c: number): void; export function __wbg_set_wasmfqpolycomm_shifted(a: number, b: number): void; export function wasmfqlookupverifierindex_lookup_selectors(a: number): number; export function wasmfqlookupverifierindex_lookup_info(a: number): number; export function caml_fq_srs_read(a: number, b: number, c: number, d: number, e: number): void; -export function wasmpastafqruntimetablecfg_new(a: number, b: number, c: number): number; +export function wasmpastafpruntimetablecfg_new(a: number, b: number, c: number): number; export function caml_pasta_fq_plonk_index_max_degree(a: number): number; export function __wbg_wasmfqplonkverificationevals_free(a: number): void; export function caml_fq_srs_h(a: number): number; @@ -511,7 +511,7 @@ export function wasmpastafqlookuptable_new(a: number, b: number): number; export function wasmfpplonkverificationevals_xor_comm(a: number): number; export function wasmfqplonkverificationevals_xor_comm(a: number): number; export function wasmfqlookupselectors_xor(a: number): number; -export function wasmfqlookupcommitments_runtime(a: number): number; +export function wasmfplookupselectors_xor(a: number): number; export function caml_pasta_fq_plonk_index_public_inputs(a: number): number; export function __wbg_get_wasmfqplonkverifierindex_domain(a: number): number; export function __wbg_get_wasmfqplonkverifierindex_shifts(a: number): number; @@ -533,11 +533,11 @@ export function caml_pasta_fq_poseidon_block_cipher(a: number, b: number, c: num export function __wbg_wasmgvesta_free(a: number): void; export function __wbg_set_wasmgvesta_infinity(a: number, b: number): void; export function __wbg_get_wasmgvesta_infinity(a: number): number; -export function __wbg_wasmvecvecfq_free(a: number): void; -export function wasmvecvecfq_create(a: number): number; -export function wasmvecvecfq_push(a: number, b: number, c: number): void; -export function wasmvecvecfq_get(a: number, b: number, c: number): void; -export function wasmvecvecfq_set(a: number, b: number, c: number, d: number): void; +export function __wbg_wasmvecvecfp_free(a: number): void; +export function wasmvecvecfp_create(a: number): number; +export function wasmvecvecfp_push(a: number, b: number, c: number): void; +export function wasmvecvecfp_get(a: number, b: number, c: number): void; +export function wasmvecvecfp_set(a: number, b: number, c: number, d: number): void; export function __wbg_poolbuilder_free(a: number): void; export function poolbuilder_numThreads(a: number): number; export function poolbuilder_receiver(a: number): number; @@ -545,87 +545,47 @@ export function poolbuilder_build(a: number): void; export function initThreadPool(a: number, b: number): number; export function exitThreadPool(): number; export function wbg_rayon_start_worker(a: number): void; -export function __wbg_wasmfprandomoracles_free(a: number): void; -export function __wbg_get_wasmfprandomoracles_joint_combiner_chal(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_joint_combiner_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_joint_combiner(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_joint_combiner(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_beta(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_beta(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_gamma(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_gamma(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_alpha_chal(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_alpha_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_alpha(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_alpha(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_zeta(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_zeta(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_v(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_v(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_u(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_u(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_zeta_chal(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_zeta_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_v_chal(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_v_chal(a: number, b: number, c: number): void; -export function __wbg_get_wasmfprandomoracles_u_chal(a: number, b: number): void; -export function __wbg_set_wasmfprandomoracles_u_chal(a: number, b: number, c: number): void; -export function wasmfprandomoracles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number): number; -export function __wbg_wasmfporacles_free(a: number): void; -export function __wbg_get_wasmfporacles_o(a: number): number; -export function __wbg_set_wasmfporacles_o(a: number, b: number): void; -export function __wbg_get_wasmfporacles_p_eval0(a: number, b: number): void; -export function __wbg_set_wasmfporacles_p_eval0(a: number, b: number, c: number): void; -export function __wbg_get_wasmfporacles_p_eval1(a: number, b: number): void; -export function __wbg_set_wasmfporacles_p_eval1(a: number, b: number, c: number): void; -export function __wbg_get_wasmfporacles_digest_before_evaluations(a: number, b: number): void; -export function __wbg_set_wasmfporacles_digest_before_evaluations(a: number, b: number, c: number): void; -export function wasmfporacles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): number; -export function wasmfporacles_opening_prechallenges(a: number, b: number): void; -export function wasmfporacles_set_opening_prechallenges(a: number, b: number, c: number): void; -export function fp_oracles_create(a: number, b: number, c: number, d: number, e: number): void; -export function fp_oracles_dummy(): number; -export function fp_oracles_deep_copy(a: number): number; -export function caml_pasta_fq_size_in_bits(): number; -export function caml_pasta_fq_size(a: number): void; -export function caml_pasta_fq_add(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_sub(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_negate(a: number, b: number, c: number): void; -export function caml_pasta_fq_mul(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_div(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_inv(a: number, b: number, c: number): void; -export function caml_pasta_fq_square(a: number, b: number, c: number): void; -export function caml_pasta_fq_is_square(a: number, b: number): number; -export function caml_pasta_fq_sqrt(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_int(a: number, b: number): void; -export function caml_pasta_fq_to_string(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_string(a: number, b: number, c: number): void; -export function caml_pasta_fq_print(a: number, b: number): void; -export function caml_pasta_fq_compare(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fq_equal(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fq_random(a: number): void; -export function caml_pasta_fq_rng(a: number, b: number): void; -export function caml_pasta_fq_to_bigint(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_bigint(a: number, b: number, c: number): void; -export function caml_pasta_fq_two_adic_root_of_unity(a: number): void; -export function caml_pasta_fq_domain_generator(a: number, b: number): void; -export function caml_pasta_fq_to_bytes(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_bytes(a: number, b: number, c: number): void; -export function caml_pasta_fq_deep_copy(a: number, b: number, c: number): void; -export function caml_pallas_one(): number; -export function caml_pallas_add(a: number, b: number): number; -export function caml_pallas_sub(a: number, b: number): number; -export function caml_pallas_negate(a: number): number; -export function caml_pallas_double(a: number): number; -export function caml_pallas_scale(a: number, b: number, c: number): number; -export function caml_pallas_random(): number; -export function caml_pallas_rng(a: number): number; -export function caml_pallas_endo_base(a: number): void; -export function caml_pallas_endo_scalar(a: number): void; -export function caml_pallas_to_affine(a: number): number; -export function caml_pallas_of_affine(a: number): number; -export function caml_pallas_of_affine_coordinates(a: number, b: number, c: number, d: number): number; -export function caml_pallas_affine_deep_copy(a: number): number; +export function __wbg_wasmfqrandomoracles_free(a: number): void; +export function __wbg_get_wasmfqrandomoracles_joint_combiner_chal(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_joint_combiner_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_joint_combiner(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_joint_combiner(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_beta(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_beta(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_gamma(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_gamma(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_alpha_chal(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_alpha_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_alpha(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_alpha(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_zeta(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_zeta(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_v(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_v(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_u(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_u(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_zeta_chal(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_zeta_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_v_chal(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_v_chal(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqrandomoracles_u_chal(a: number, b: number): void; +export function __wbg_set_wasmfqrandomoracles_u_chal(a: number, b: number, c: number): void; +export function wasmfqrandomoracles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number): number; +export function __wbg_wasmfqoracles_free(a: number): void; +export function __wbg_get_wasmfqoracles_o(a: number): number; +export function __wbg_set_wasmfqoracles_o(a: number, b: number): void; +export function __wbg_get_wasmfqoracles_p_eval0(a: number, b: number): void; +export function __wbg_set_wasmfqoracles_p_eval0(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqoracles_p_eval1(a: number, b: number): void; +export function __wbg_set_wasmfqoracles_p_eval1(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqoracles_digest_before_evaluations(a: number, b: number): void; +export function __wbg_set_wasmfqoracles_digest_before_evaluations(a: number, b: number, c: number): void; +export function wasmfqoracles_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): number; +export function wasmfqoracles_opening_prechallenges(a: number, b: number): void; +export function wasmfqoracles_set_opening_prechallenges(a: number, b: number, c: number): void; +export function fq_oracles_create(a: number, b: number, c: number, d: number, e: number): void; +export function fq_oracles_dummy(): number; +export function fq_oracles_deep_copy(a: number): number; export function caml_pasta_fp_size_in_bits(): number; export function caml_pasta_fp_size(a: number): void; export function caml_pasta_fp_add(a: number, b: number, c: number, d: number, e: number): void; @@ -666,6 +626,46 @@ export function caml_vesta_to_affine(a: number): number; export function caml_vesta_of_affine(a: number): number; export function caml_vesta_of_affine_coordinates(a: number, b: number, c: number, d: number): number; export function caml_vesta_affine_deep_copy(a: number): number; +export function caml_pasta_fq_size_in_bits(): number; +export function caml_pasta_fq_size(a: number): void; +export function caml_pasta_fq_add(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_sub(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_negate(a: number, b: number, c: number): void; +export function caml_pasta_fq_mul(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_div(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_inv(a: number, b: number, c: number): void; +export function caml_pasta_fq_square(a: number, b: number, c: number): void; +export function caml_pasta_fq_is_square(a: number, b: number): number; +export function caml_pasta_fq_sqrt(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_int(a: number, b: number): void; +export function caml_pasta_fq_to_string(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_string(a: number, b: number, c: number): void; +export function caml_pasta_fq_print(a: number, b: number): void; +export function caml_pasta_fq_compare(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fq_equal(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fq_random(a: number): void; +export function caml_pasta_fq_rng(a: number, b: number): void; +export function caml_pasta_fq_to_bigint(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_bigint(a: number, b: number, c: number): void; +export function caml_pasta_fq_two_adic_root_of_unity(a: number): void; +export function caml_pasta_fq_domain_generator(a: number, b: number): void; +export function caml_pasta_fq_to_bytes(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_bytes(a: number, b: number, c: number): void; +export function caml_pasta_fq_deep_copy(a: number, b: number, c: number): void; +export function caml_pallas_one(): number; +export function caml_pallas_add(a: number, b: number): number; +export function caml_pallas_sub(a: number, b: number): number; +export function caml_pallas_negate(a: number): number; +export function caml_pallas_double(a: number): number; +export function caml_pallas_scale(a: number, b: number, c: number): number; +export function caml_pallas_random(): number; +export function caml_pallas_rng(a: number): number; +export function caml_pallas_endo_base(a: number): void; +export function caml_pallas_endo_scalar(a: number): void; +export function caml_pallas_to_affine(a: number): number; +export function caml_pallas_of_affine(a: number): number; +export function caml_pallas_of_affine_coordinates(a: number, b: number, c: number, d: number): number; +export function caml_pallas_affine_deep_copy(a: number): number; export function __wbg_lookuppatterns_free(a: number): void; export function __wbg_get_lookuppatterns_xor(a: number): number; export function __wbg_set_lookuppatterns_xor(a: number, b: number): void; diff --git a/compiled/web_bindings/plonk_wasm.d.ts b/compiled/web_bindings/plonk_wasm.d.ts index 74ceec3d..455f1f1e 100644 --- a/compiled/web_bindings/plonk_wasm.d.ts +++ b/compiled/web_bindings/plonk_wasm.d.ts @@ -17,35 +17,35 @@ export function fq_oracles_dummy(): WasmFqOracles; */ export function fq_oracles_deep_copy(x: WasmFqProverProof): WasmFqProverProof; /** -* @param {WasmPastaFpPlonkIndex} index -* @param {WasmVecVecFp} witness +* @param {WasmPastaFqPlonkIndex} index +* @param {WasmVecVecFq} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_create(index: WasmPastaFpPlonkIndex, witness: WasmVecVecFp, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFpProverProof; +export function caml_pasta_fq_plonk_proof_create(index: WasmPastaFqPlonkIndex, witness: WasmVecVecFq, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFqProverProof; /** -* @param {WasmFpPlonkVerifierIndex} index -* @param {WasmFpProverProof} proof +* @param {WasmFqPlonkVerifierIndex} index +* @param {WasmFqProverProof} proof * @returns {boolean} */ -export function caml_pasta_fp_plonk_proof_verify(index: WasmFpPlonkVerifierIndex, proof: WasmFpProverProof): boolean; +export function caml_pasta_fq_plonk_proof_verify(index: WasmFqPlonkVerifierIndex, proof: WasmFqProverProof): boolean; /** * @param {Uint32Array} indexes * @param {Uint32Array} proofs * @returns {boolean} */ -export function caml_pasta_fp_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; +export function caml_pasta_fq_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; /** -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_dummy(): WasmFpProverProof; +export function caml_pasta_fq_plonk_proof_dummy(): WasmFqProverProof; /** -* @param {WasmFpProverProof} x -* @returns {WasmFpProverProof} +* @param {WasmFqProverProof} x +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_deep_copy(x: WasmFpProverProof): WasmFpProverProof; +export function caml_pasta_fq_plonk_proof_deep_copy(x: WasmFqProverProof): WasmFqProverProof; /** * @param {string} name */ @@ -620,35 +620,35 @@ export function caml_pasta_fq_plonk_verifier_index_dummy(): WasmFqPlonkVerifierI */ export function caml_pasta_fq_plonk_verifier_index_deep_copy(x: WasmFqPlonkVerifierIndex): WasmFqPlonkVerifierIndex; /** -* @param {WasmPastaFqPlonkIndex} index -* @param {WasmVecVecFq} witness +* @param {WasmPastaFpPlonkIndex} index +* @param {WasmVecVecFp} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_create(index: WasmPastaFqPlonkIndex, witness: WasmVecVecFq, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFqProverProof; +export function caml_pasta_fp_plonk_proof_create(index: WasmPastaFpPlonkIndex, witness: WasmVecVecFp, wasm_runtime_tables: Uint32Array, prev_challenges: Uint8Array, prev_sgs: Uint32Array): WasmFpProverProof; /** -* @param {WasmFqPlonkVerifierIndex} index -* @param {WasmFqProverProof} proof +* @param {WasmFpPlonkVerifierIndex} index +* @param {WasmFpProverProof} proof * @returns {boolean} */ -export function caml_pasta_fq_plonk_proof_verify(index: WasmFqPlonkVerifierIndex, proof: WasmFqProverProof): boolean; +export function caml_pasta_fp_plonk_proof_verify(index: WasmFpPlonkVerifierIndex, proof: WasmFpProverProof): boolean; /** * @param {Uint32Array} indexes * @param {Uint32Array} proofs * @returns {boolean} */ -export function caml_pasta_fq_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; +export function caml_pasta_fp_plonk_proof_batch_verify(indexes: Uint32Array, proofs: Uint32Array): boolean; /** -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_dummy(): WasmFqProverProof; +export function caml_pasta_fp_plonk_proof_dummy(): WasmFpProverProof; /** -* @param {WasmFqProverProof} x -* @returns {WasmFqProverProof} +* @param {WasmFpProverProof} x +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_deep_copy(x: WasmFqProverProof): WasmFqProverProof; +export function caml_pasta_fp_plonk_proof_deep_copy(x: WasmFpProverProof): WasmFpProverProof; /** * @returns {WasmGPallas} */ @@ -699,405 +699,405 @@ export function fp_oracles_deep_copy(x: WasmFpProverProof): WasmFpProverProof; /** * @returns {number} */ -export function caml_pasta_fq_size_in_bits(): number; +export function caml_pasta_fp_size_in_bits(): number; /** * @returns {Uint8Array} */ -export function caml_pasta_fq_size(): Uint8Array; +export function caml_pasta_fp_size(): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_add(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_add(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_sub(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_sub(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_negate(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_negate(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_mul(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_mul(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_div(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fp_div(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fq_inv(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fp_inv(x: Uint8Array): Uint8Array | undefined; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_square(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_square(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {boolean} */ -export function caml_pasta_fq_is_square(x: Uint8Array): boolean; +export function caml_pasta_fp_is_square(x: Uint8Array): boolean; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fq_sqrt(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fp_sqrt(x: Uint8Array): Uint8Array | undefined; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fq_of_int(i: number): Uint8Array; +export function caml_pasta_fp_of_int(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {string} */ -export function caml_pasta_fq_to_string(x: Uint8Array): string; +export function caml_pasta_fp_to_string(x: Uint8Array): string; /** * @param {string} s * @returns {Uint8Array} */ -export function caml_pasta_fq_of_string(s: string): Uint8Array; +export function caml_pasta_fp_of_string(s: string): Uint8Array; /** * @param {Uint8Array} x */ -export function caml_pasta_fq_print(x: Uint8Array): void; +export function caml_pasta_fp_print(x: Uint8Array): void; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {number} */ -export function caml_pasta_fq_compare(x: Uint8Array, y: Uint8Array): number; +export function caml_pasta_fp_compare(x: Uint8Array, y: Uint8Array): number; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {boolean} */ -export function caml_pasta_fq_equal(x: Uint8Array, y: Uint8Array): boolean; +export function caml_pasta_fp_equal(x: Uint8Array, y: Uint8Array): boolean; /** * @returns {Uint8Array} */ -export function caml_pasta_fq_random(): Uint8Array; +export function caml_pasta_fp_random(): Uint8Array; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fq_rng(i: number): Uint8Array; +export function caml_pasta_fp_rng(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_to_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_to_bigint(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_of_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_of_bigint(x: Uint8Array): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_pasta_fq_two_adic_root_of_unity(): Uint8Array; +export function caml_pasta_fp_two_adic_root_of_unity(): Uint8Array; /** * @param {number} log2_size * @returns {Uint8Array} */ -export function caml_pasta_fq_domain_generator(log2_size: number): Uint8Array; +export function caml_pasta_fp_domain_generator(log2_size: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_to_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_to_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_of_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_of_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_deep_copy(x: Uint8Array): Uint8Array; +export function caml_pasta_fp_deep_copy(x: Uint8Array): Uint8Array; /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_one(): WasmPallasGProjective; +export function caml_vesta_one(): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -export function caml_pallas_add(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_add(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -export function caml_pallas_sub(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_sub(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_negate(x: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_negate(x: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_double(x: WasmPallasGProjective): WasmPallasGProjective; +export function caml_vesta_double(x: WasmVestaGProjective): WasmVestaGProjective; /** -* @param {WasmPallasGProjective} x +* @param {WasmVestaGProjective} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_scale(x: WasmPallasGProjective, y: Uint8Array): WasmPallasGProjective; +export function caml_vesta_scale(x: WasmVestaGProjective, y: Uint8Array): WasmVestaGProjective; /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_random(): WasmPallasGProjective; +export function caml_vesta_random(): WasmVestaGProjective; /** * @param {number} i -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_rng(i: number): WasmPallasGProjective; +export function caml_vesta_rng(i: number): WasmVestaGProjective; /** * @returns {Uint8Array} */ -export function caml_pallas_endo_base(): Uint8Array; +export function caml_vesta_endo_base(): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_pallas_endo_scalar(): Uint8Array; +export function caml_vesta_endo_scalar(): Uint8Array; /** -* @param {WasmPallasGProjective} x -* @returns {WasmGPallas} +* @param {WasmVestaGProjective} x +* @returns {WasmGVesta} */ -export function caml_pallas_to_affine(x: WasmPallasGProjective): WasmGPallas; +export function caml_vesta_to_affine(x: WasmVestaGProjective): WasmGVesta; /** -* @param {WasmGPallas} x -* @returns {WasmPallasGProjective} +* @param {WasmGVesta} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_of_affine(x: WasmGPallas): WasmPallasGProjective; +export function caml_vesta_of_affine(x: WasmGVesta): WasmVestaGProjective; /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmPallasGProjective; +export function caml_vesta_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmVestaGProjective; /** -* @param {WasmGPallas} x -* @returns {WasmGPallas} +* @param {WasmGVesta} x +* @returns {WasmGVesta} */ -export function caml_pallas_affine_deep_copy(x: WasmGPallas): WasmGPallas; +export function caml_vesta_affine_deep_copy(x: WasmGVesta): WasmGVesta; /** * @returns {number} */ -export function caml_pasta_fp_size_in_bits(): number; +export function caml_pasta_fq_size_in_bits(): number; /** * @returns {Uint8Array} */ -export function caml_pasta_fp_size(): Uint8Array; +export function caml_pasta_fq_size(): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_add(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_add(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_sub(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_sub(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_negate(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_negate(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_mul(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_mul(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_div(x: Uint8Array, y: Uint8Array): Uint8Array; +export function caml_pasta_fq_div(x: Uint8Array, y: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fp_inv(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fq_inv(x: Uint8Array): Uint8Array | undefined; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_square(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_square(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {boolean} */ -export function caml_pasta_fp_is_square(x: Uint8Array): boolean; +export function caml_pasta_fq_is_square(x: Uint8Array): boolean; /** * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fp_sqrt(x: Uint8Array): Uint8Array | undefined; +export function caml_pasta_fq_sqrt(x: Uint8Array): Uint8Array | undefined; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fp_of_int(i: number): Uint8Array; +export function caml_pasta_fq_of_int(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {string} */ -export function caml_pasta_fp_to_string(x: Uint8Array): string; +export function caml_pasta_fq_to_string(x: Uint8Array): string; /** * @param {string} s * @returns {Uint8Array} */ -export function caml_pasta_fp_of_string(s: string): Uint8Array; +export function caml_pasta_fq_of_string(s: string): Uint8Array; /** * @param {Uint8Array} x */ -export function caml_pasta_fp_print(x: Uint8Array): void; +export function caml_pasta_fq_print(x: Uint8Array): void; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {number} */ -export function caml_pasta_fp_compare(x: Uint8Array, y: Uint8Array): number; +export function caml_pasta_fq_compare(x: Uint8Array, y: Uint8Array): number; /** * @param {Uint8Array} x * @param {Uint8Array} y * @returns {boolean} */ -export function caml_pasta_fp_equal(x: Uint8Array, y: Uint8Array): boolean; +export function caml_pasta_fq_equal(x: Uint8Array, y: Uint8Array): boolean; /** * @returns {Uint8Array} */ -export function caml_pasta_fp_random(): Uint8Array; +export function caml_pasta_fq_random(): Uint8Array; /** * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fp_rng(i: number): Uint8Array; +export function caml_pasta_fq_rng(i: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_to_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_to_bigint(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_of_bigint(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_of_bigint(x: Uint8Array): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_pasta_fp_two_adic_root_of_unity(): Uint8Array; +export function caml_pasta_fq_two_adic_root_of_unity(): Uint8Array; /** * @param {number} log2_size * @returns {Uint8Array} */ -export function caml_pasta_fp_domain_generator(log2_size: number): Uint8Array; +export function caml_pasta_fq_domain_generator(log2_size: number): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_to_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_to_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_of_bytes(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_of_bytes(x: Uint8Array): Uint8Array; /** * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_deep_copy(x: Uint8Array): Uint8Array; +export function caml_pasta_fq_deep_copy(x: Uint8Array): Uint8Array; /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_one(): WasmVestaGProjective; +export function caml_pallas_one(): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -export function caml_vesta_add(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_add(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -export function caml_vesta_sub(x: WasmVestaGProjective, y: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_sub(x: WasmPallasGProjective, y: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_negate(x: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_negate(x: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_double(x: WasmVestaGProjective): WasmVestaGProjective; +export function caml_pallas_double(x: WasmPallasGProjective): WasmPallasGProjective; /** -* @param {WasmVestaGProjective} x +* @param {WasmPallasGProjective} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_scale(x: WasmVestaGProjective, y: Uint8Array): WasmVestaGProjective; +export function caml_pallas_scale(x: WasmPallasGProjective, y: Uint8Array): WasmPallasGProjective; /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_random(): WasmVestaGProjective; +export function caml_pallas_random(): WasmPallasGProjective; /** * @param {number} i -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_rng(i: number): WasmVestaGProjective; +export function caml_pallas_rng(i: number): WasmPallasGProjective; /** * @returns {Uint8Array} */ -export function caml_vesta_endo_base(): Uint8Array; +export function caml_pallas_endo_base(): Uint8Array; /** * @returns {Uint8Array} */ -export function caml_vesta_endo_scalar(): Uint8Array; +export function caml_pallas_endo_scalar(): Uint8Array; /** -* @param {WasmVestaGProjective} x -* @returns {WasmGVesta} +* @param {WasmPallasGProjective} x +* @returns {WasmGPallas} */ -export function caml_vesta_to_affine(x: WasmVestaGProjective): WasmGVesta; +export function caml_pallas_to_affine(x: WasmPallasGProjective): WasmGPallas; /** -* @param {WasmGVesta} x -* @returns {WasmVestaGProjective} +* @param {WasmGPallas} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_of_affine(x: WasmGVesta): WasmVestaGProjective; +export function caml_pallas_of_affine(x: WasmGPallas): WasmPallasGProjective; /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmVestaGProjective; +export function caml_pallas_of_affine_coordinates(x: Uint8Array, y: Uint8Array): WasmPallasGProjective; /** -* @param {WasmGVesta} x -* @returns {WasmGVesta} +* @param {WasmGPallas} x +* @returns {WasmGPallas} */ -export function caml_vesta_affine_deep_copy(x: WasmGVesta): WasmGVesta; +export function caml_pallas_affine_deep_copy(x: WasmGPallas): WasmGPallas; /** * A row accessible from a given row, corresponds to the fact that we open all polynomials * at `zeta` **and** `omega * zeta`. @@ -2485,11 +2485,11 @@ export interface InitOutput { readonly fq_oracles_dummy: () => number; readonly fq_oracles_deep_copy: (a: number) => number; readonly __wbg_wasmvestagprojective_free: (a: number) => void; - readonly __wbg_wasmvecvecfp_free: (a: number) => void; - readonly wasmvecvecfp_create: (a: number) => number; - readonly wasmvecvecfp_push: (a: number, b: number, c: number) => void; - readonly wasmvecvecfp_get: (a: number, b: number, c: number) => void; - readonly wasmvecvecfp_set: (a: number, b: number, c: number, d: number) => void; + readonly __wbg_wasmvecvecfq_free: (a: number) => void; + readonly wasmvecvecfq_create: (a: number) => number; + readonly wasmvecvecfq_push: (a: number, b: number, c: number) => void; + readonly wasmvecvecfq_get: (a: number, b: number, c: number) => void; + readonly wasmvecvecfq_set: (a: number, b: number, c: number, d: number) => void; readonly __wbg_wasmgatewires_free: (a: number) => void; readonly __wbg_get_wasmgatewires_0: (a: number) => number; readonly __wbg_set_wasmgatewires_0: (a: number, b: number) => void; @@ -2506,65 +2506,65 @@ export interface InitOutput { readonly __wbg_get_wasmgatewires_6: (a: number) => number; readonly __wbg_set_wasmgatewires_6: (a: number, b: number) => void; readonly wasmgatewires_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; - readonly __wbg_wasmfplookupcommitments_free: (a: number) => void; - readonly wasmfplookupcommitments_new: (a: number, b: number, c: number, d: number) => number; - readonly wasmfplookupcommitments_sorted: (a: number, b: number) => void; - readonly wasmfplookupcommitments_aggreg: (a: number) => number; - readonly wasmfplookupcommitments_runtime: (a: number) => number; - readonly wasmfplookupcommitments_set_sorted: (a: number, b: number, c: number) => void; - readonly wasmfplookupcommitments_set_aggreg: (a: number, b: number) => void; - readonly wasmfplookupcommitments_set_runtime: (a: number, b: number) => void; - readonly __wbg_wasmfpprovercommitments_free: (a: number) => void; - readonly wasmfpprovercommitments_new: (a: number, b: number, c: number, d: number, e: number) => number; - readonly wasmfpprovercommitments_w_comm: (a: number, b: number) => void; - readonly wasmfpprovercommitments_z_comm: (a: number) => number; - readonly wasmfpprovercommitments_t_comm: (a: number) => number; - readonly wasmfpprovercommitments_lookup: (a: number) => number; - readonly wasmfpprovercommitments_set_w_comm: (a: number, b: number, c: number) => void; - readonly wasmfpprovercommitments_set_z_comm: (a: number, b: number) => void; - readonly wasmfpprovercommitments_set_t_comm: (a: number, b: number) => void; - readonly wasmfpprovercommitments_set_lookup: (a: number, b: number) => void; - readonly __wbg_wasmfpopeningproof_free: (a: number) => void; - readonly __wbg_get_wasmfpopeningproof_z1: (a: number, b: number) => void; - readonly __wbg_set_wasmfpopeningproof_z1: (a: number, b: number, c: number) => void; - readonly __wbg_get_wasmfpopeningproof_z2: (a: number, b: number) => void; - readonly __wbg_set_wasmfpopeningproof_z2: (a: number, b: number, c: number) => void; - readonly wasmfpopeningproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; - readonly wasmfpopeningproof_lr_0: (a: number, b: number) => void; - readonly wasmfpopeningproof_lr_1: (a: number, b: number) => void; - readonly wasmfpopeningproof_delta: (a: number) => number; - readonly wasmfpopeningproof_sg: (a: number) => number; - readonly wasmfpopeningproof_set_lr_0: (a: number, b: number, c: number) => void; - readonly wasmfpopeningproof_set_lr_1: (a: number, b: number, c: number) => void; - readonly wasmfpopeningproof_set_delta: (a: number, b: number) => void; - readonly wasmfpopeningproof_set_sg: (a: number, b: number) => void; - readonly __wbg_wasmfpproverproof_free: (a: number) => void; - readonly __wbg_get_wasmfpproverproof_ft_eval1: (a: number, b: number) => void; - readonly __wbg_set_wasmfpproverproof_ft_eval1: (a: number, b: number, c: number) => void; - readonly wasmfpproverproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; - readonly wasmfpproverproof_commitments: (a: number) => number; - readonly wasmfpproverproof_proof: (a: number) => number; - readonly wasmfpproverproof_evals: (a: number) => number; - readonly wasmfpproverproof_public_: (a: number, b: number) => void; - readonly wasmfpproverproof_prev_challenges_scalars: (a: number) => number; - readonly wasmfpproverproof_prev_challenges_comms: (a: number, b: number) => void; - readonly wasmfpproverproof_set_commitments: (a: number, b: number) => void; - readonly wasmfpproverproof_set_proof: (a: number, b: number) => void; - readonly wasmfpproverproof_set_evals: (a: number, b: number) => void; - readonly wasmfpproverproof_set_public_: (a: number, b: number, c: number) => void; - readonly wasmfpproverproof_set_prev_challenges_scalars: (a: number, b: number) => void; - readonly wasmfpproverproof_set_prev_challenges_comms: (a: number, b: number, c: number) => void; - readonly wasmfpproverproof_serialize: (a: number, b: number) => void; - readonly __wbg_wasmfpruntimetable_free: (a: number) => void; - readonly wasmfpruntimetable_new: (a: number, b: number, c: number) => number; - readonly caml_pasta_fp_plonk_proof_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; - readonly caml_pasta_fp_plonk_proof_verify: (a: number, b: number) => number; - readonly __wbg_wasmvecvecfppolycomm_free: (a: number) => void; - readonly wasmvecvecfppolycomm_push: (a: number, b: number, c: number) => void; - readonly caml_pasta_fp_plonk_proof_batch_verify: (a: number, b: number, c: number, d: number) => number; - readonly caml_pasta_fp_plonk_proof_dummy: () => number; - readonly caml_pasta_fp_plonk_proof_deep_copy: (a: number) => number; - readonly wasmvecvecfppolycomm_create: (a: number) => number; + readonly __wbg_wasmfqlookupcommitments_free: (a: number) => void; + readonly wasmfqlookupcommitments_new: (a: number, b: number, c: number, d: number) => number; + readonly wasmfqlookupcommitments_sorted: (a: number, b: number) => void; + readonly wasmfqlookupcommitments_aggreg: (a: number) => number; + readonly wasmfqlookupcommitments_runtime: (a: number) => number; + readonly wasmfqlookupcommitments_set_sorted: (a: number, b: number, c: number) => void; + readonly wasmfqlookupcommitments_set_aggreg: (a: number, b: number) => void; + readonly wasmfqlookupcommitments_set_runtime: (a: number, b: number) => void; + readonly __wbg_wasmfqprovercommitments_free: (a: number) => void; + readonly wasmfqprovercommitments_new: (a: number, b: number, c: number, d: number, e: number) => number; + readonly wasmfqprovercommitments_w_comm: (a: number, b: number) => void; + readonly wasmfqprovercommitments_z_comm: (a: number) => number; + readonly wasmfqprovercommitments_t_comm: (a: number) => number; + readonly wasmfqprovercommitments_lookup: (a: number) => number; + readonly wasmfqprovercommitments_set_w_comm: (a: number, b: number, c: number) => void; + readonly wasmfqprovercommitments_set_z_comm: (a: number, b: number) => void; + readonly wasmfqprovercommitments_set_t_comm: (a: number, b: number) => void; + readonly wasmfqprovercommitments_set_lookup: (a: number, b: number) => void; + readonly __wbg_wasmfqopeningproof_free: (a: number) => void; + readonly __wbg_get_wasmfqopeningproof_z1: (a: number, b: number) => void; + readonly __wbg_set_wasmfqopeningproof_z1: (a: number, b: number, c: number) => void; + readonly __wbg_get_wasmfqopeningproof_z2: (a: number, b: number) => void; + readonly __wbg_set_wasmfqopeningproof_z2: (a: number, b: number, c: number) => void; + readonly wasmfqopeningproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; + readonly wasmfqopeningproof_lr_0: (a: number, b: number) => void; + readonly wasmfqopeningproof_lr_1: (a: number, b: number) => void; + readonly wasmfqopeningproof_delta: (a: number) => number; + readonly wasmfqopeningproof_sg: (a: number) => number; + readonly wasmfqopeningproof_set_lr_0: (a: number, b: number, c: number) => void; + readonly wasmfqopeningproof_set_lr_1: (a: number, b: number, c: number) => void; + readonly wasmfqopeningproof_set_delta: (a: number, b: number) => void; + readonly wasmfqopeningproof_set_sg: (a: number, b: number) => void; + readonly __wbg_wasmfqproverproof_free: (a: number) => void; + readonly __wbg_get_wasmfqproverproof_ft_eval1: (a: number, b: number) => void; + readonly __wbg_set_wasmfqproverproof_ft_eval1: (a: number, b: number, c: number) => void; + readonly wasmfqproverproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; + readonly wasmfqproverproof_commitments: (a: number) => number; + readonly wasmfqproverproof_proof: (a: number) => number; + readonly wasmfqproverproof_evals: (a: number) => number; + readonly wasmfqproverproof_public_: (a: number, b: number) => void; + readonly wasmfqproverproof_prev_challenges_scalars: (a: number) => number; + readonly wasmfqproverproof_prev_challenges_comms: (a: number, b: number) => void; + readonly wasmfqproverproof_set_commitments: (a: number, b: number) => void; + readonly wasmfqproverproof_set_proof: (a: number, b: number) => void; + readonly wasmfqproverproof_set_evals: (a: number, b: number) => void; + readonly wasmfqproverproof_set_public_: (a: number, b: number, c: number) => void; + readonly wasmfqproverproof_set_prev_challenges_scalars: (a: number, b: number) => void; + readonly wasmfqproverproof_set_prev_challenges_comms: (a: number, b: number, c: number) => void; + readonly wasmfqproverproof_serialize: (a: number, b: number) => void; + readonly __wbg_wasmfqruntimetable_free: (a: number) => void; + readonly wasmfqruntimetable_new: (a: number, b: number, c: number) => number; + readonly caml_pasta_fq_plonk_proof_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; + readonly caml_pasta_fq_plonk_proof_verify: (a: number, b: number) => number; + readonly __wbg_wasmvecvecfqpolycomm_free: (a: number) => void; + readonly wasmvecvecfqpolycomm_push: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_plonk_proof_batch_verify: (a: number, b: number, c: number, d: number) => number; + readonly caml_pasta_fq_plonk_proof_dummy: () => number; + readonly caml_pasta_fq_plonk_proof_deep_copy: (a: number) => number; + readonly wasmvecvecfqpolycomm_create: (a: number) => number; readonly greet: (a: number, b: number) => void; readonly console_log: (a: number, b: number) => void; readonly create_zero_u32_ptr: () => number; @@ -2646,7 +2646,6 @@ export interface InitOutput { readonly __wbg_wasmpastafpplonkindex_free: (a: number) => void; readonly __wbg_wasmpastafplookuptable_free: (a: number) => void; readonly wasmpastafplookuptable_new: (a: number, b: number) => number; - readonly wasmpastafpruntimetablecfg_new: (a: number, b: number, c: number) => number; readonly caml_pasta_fp_plonk_index_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; readonly caml_pasta_fp_plonk_index_max_degree: (a: number) => number; readonly caml_pasta_fp_plonk_index_public_inputs: (a: number) => number; @@ -2659,6 +2658,7 @@ export interface InitOutput { readonly caml_pasta_fp_plonk_index_write: (a: number, b: number, c: number, d: number, e: number) => void; readonly caml_pasta_fp_plonk_index_serialize: (a: number, b: number) => void; readonly __wbg_wasmpastafqplonkindex_free: (a: number) => void; + readonly wasmpastafqruntimetablecfg_new: (a: number, b: number, c: number) => number; readonly caml_pasta_fq_plonk_index_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; readonly caml_pasta_fq_plonk_index_decode: (a: number, b: number, c: number, d: number) => void; readonly caml_pasta_fq_plonk_index_encode: (a: number, b: number) => void; @@ -2690,8 +2690,6 @@ export interface InitOutput { readonly wasmfpplonkverificationevals_endomul_scalar_comm: (a: number) => number; readonly wasmfpplonkverificationevals_set_endomul_scalar_comm: (a: number, b: number) => void; readonly __wbg_wasmfpshifts_free: (a: number) => void; - readonly __wbg_get_wasmfpshifts_s1: (a: number, b: number) => void; - readonly __wbg_set_wasmfpshifts_s1: (a: number, b: number, c: number) => void; readonly __wbg_get_wasmfpshifts_s2: (a: number, b: number) => void; readonly __wbg_set_wasmfpshifts_s2: (a: number, b: number, c: number) => void; readonly __wbg_get_wasmfpshifts_s3: (a: number, b: number) => void; @@ -2705,8 +2703,6 @@ export interface InitOutput { readonly wasmfpshifts_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number) => number; readonly __wbg_wasmfplookupselectors_free: (a: number) => void; readonly wasmfplookupselectors_new: (a: number, b: number, c: number, d: number) => number; - readonly wasmfplookupselectors_xor: (a: number) => number; - readonly wasmfplookupselectors_set_xor: (a: number, b: number) => void; readonly wasmfplookupselectors_lookup: (a: number) => number; readonly wasmfplookupselectors_set_lookup: (a: number, b: number) => void; readonly wasmfplookupselectors_ffmul: (a: number) => number; @@ -2763,6 +2759,8 @@ export interface InitOutput { readonly wasmfqplonkverificationevals_set_sigma_comm: (a: number, b: number, c: number) => void; readonly wasmfqplonkverificationevals_coefficients_comm: (a: number, b: number) => void; readonly wasmfqplonkverificationevals_set_coefficients_comm: (a: number, b: number, c: number) => void; + readonly __wbg_get_wasmfqshifts_s1: (a: number, b: number) => void; + readonly __wbg_set_wasmfqshifts_s1: (a: number, b: number, c: number) => void; readonly __wbg_get_wasmfqshifts_s2: (a: number, b: number) => void; readonly __wbg_set_wasmfqshifts_s2: (a: number, b: number, c: number) => void; readonly __wbg_get_wasmfqshifts_s3: (a: number, b: number) => void; @@ -2790,61 +2788,63 @@ export interface InitOutput { readonly caml_pasta_fq_plonk_verifier_index_shifts: (a: number) => number; readonly caml_pasta_fq_plonk_verifier_index_dummy: () => number; readonly caml_pasta_fq_plonk_verifier_index_deep_copy: (a: number) => number; - readonly __wbg_wasmfqlookupcommitments_free: (a: number) => void; - readonly wasmfqlookupcommitments_new: (a: number, b: number, c: number, d: number) => number; - readonly wasmfqlookupcommitments_sorted: (a: number, b: number) => void; - readonly wasmfqlookupcommitments_aggreg: (a: number) => number; - readonly wasmfqlookupcommitments_set_sorted: (a: number, b: number, c: number) => void; - readonly wasmfqlookupcommitments_set_aggreg: (a: number, b: number) => void; - readonly __wbg_wasmfqprovercommitments_free: (a: number) => void; - readonly wasmfqprovercommitments_new: (a: number, b: number, c: number, d: number, e: number) => number; - readonly wasmfqprovercommitments_w_comm: (a: number, b: number) => void; - readonly wasmfqprovercommitments_z_comm: (a: number) => number; - readonly wasmfqprovercommitments_t_comm: (a: number) => number; - readonly wasmfqprovercommitments_lookup: (a: number) => number; - readonly wasmfqprovercommitments_set_w_comm: (a: number, b: number, c: number) => void; - readonly wasmfqprovercommitments_set_z_comm: (a: number, b: number) => void; - readonly wasmfqprovercommitments_set_t_comm: (a: number, b: number) => void; - readonly wasmfqprovercommitments_set_lookup: (a: number, b: number) => void; - readonly __wbg_wasmfqopeningproof_free: (a: number) => void; - readonly __wbg_get_wasmfqopeningproof_z2: (a: number, b: number) => void; - readonly __wbg_set_wasmfqopeningproof_z2: (a: number, b: number, c: number) => void; - readonly wasmfqopeningproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; - readonly wasmfqopeningproof_lr_0: (a: number, b: number) => void; - readonly wasmfqopeningproof_lr_1: (a: number, b: number) => void; - readonly wasmfqopeningproof_delta: (a: number) => number; - readonly wasmfqopeningproof_sg: (a: number) => number; - readonly wasmfqopeningproof_set_lr_0: (a: number, b: number, c: number) => void; - readonly wasmfqopeningproof_set_lr_1: (a: number, b: number, c: number) => void; - readonly wasmfqopeningproof_set_delta: (a: number, b: number) => void; - readonly wasmfqopeningproof_set_sg: (a: number, b: number) => void; - readonly __wbg_wasmfqproverproof_free: (a: number) => void; - readonly __wbg_get_wasmfqproverproof_ft_eval1: (a: number, b: number) => void; - readonly __wbg_set_wasmfqproverproof_ft_eval1: (a: number, b: number, c: number) => void; - readonly wasmfqproverproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; - readonly wasmfqproverproof_commitments: (a: number) => number; - readonly wasmfqproverproof_proof: (a: number) => number; - readonly wasmfqproverproof_evals: (a: number) => number; - readonly wasmfqproverproof_public_: (a: number, b: number) => void; - readonly wasmfqproverproof_prev_challenges_scalars: (a: number) => number; - readonly wasmfqproverproof_prev_challenges_comms: (a: number, b: number) => void; - readonly wasmfqproverproof_set_commitments: (a: number, b: number) => void; - readonly wasmfqproverproof_set_proof: (a: number, b: number) => void; - readonly wasmfqproverproof_set_evals: (a: number, b: number) => void; - readonly wasmfqproverproof_set_public_: (a: number, b: number, c: number) => void; - readonly wasmfqproverproof_set_prev_challenges_scalars: (a: number, b: number) => void; - readonly wasmfqproverproof_set_prev_challenges_comms: (a: number, b: number, c: number) => void; - readonly wasmfqproverproof_serialize: (a: number, b: number) => void; - readonly __wbg_wasmfqruntimetable_free: (a: number) => void; - readonly wasmfqruntimetable_new: (a: number, b: number, c: number) => number; - readonly caml_pasta_fq_plonk_proof_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; - readonly caml_pasta_fq_plonk_proof_verify: (a: number, b: number) => number; - readonly __wbg_wasmvecvecfqpolycomm_free: (a: number) => void; - readonly wasmvecvecfqpolycomm_create: (a: number) => number; - readonly wasmvecvecfqpolycomm_push: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_plonk_proof_batch_verify: (a: number, b: number, c: number, d: number) => number; - readonly caml_pasta_fq_plonk_proof_dummy: () => number; - readonly caml_pasta_fq_plonk_proof_deep_copy: (a: number) => number; + readonly __wbg_wasmfplookupcommitments_free: (a: number) => void; + readonly wasmfplookupcommitments_new: (a: number, b: number, c: number, d: number) => number; + readonly wasmfplookupcommitments_sorted: (a: number, b: number) => void; + readonly wasmfplookupcommitments_aggreg: (a: number) => number; + readonly wasmfplookupcommitments_runtime: (a: number) => number; + readonly wasmfplookupcommitments_set_sorted: (a: number, b: number, c: number) => void; + readonly wasmfplookupcommitments_set_aggreg: (a: number, b: number) => void; + readonly wasmfplookupcommitments_set_runtime: (a: number, b: number) => void; + readonly __wbg_wasmfpprovercommitments_free: (a: number) => void; + readonly wasmfpprovercommitments_new: (a: number, b: number, c: number, d: number, e: number) => number; + readonly wasmfpprovercommitments_w_comm: (a: number, b: number) => void; + readonly wasmfpprovercommitments_z_comm: (a: number) => number; + readonly wasmfpprovercommitments_t_comm: (a: number) => number; + readonly wasmfpprovercommitments_lookup: (a: number) => number; + readonly wasmfpprovercommitments_set_w_comm: (a: number, b: number, c: number) => void; + readonly wasmfpprovercommitments_set_z_comm: (a: number, b: number) => void; + readonly wasmfpprovercommitments_set_t_comm: (a: number, b: number) => void; + readonly wasmfpprovercommitments_set_lookup: (a: number, b: number) => void; + readonly __wbg_wasmfpopeningproof_free: (a: number) => void; + readonly __wbg_get_wasmfpopeningproof_z2: (a: number, b: number) => void; + readonly __wbg_set_wasmfpopeningproof_z2: (a: number, b: number, c: number) => void; + readonly wasmfpopeningproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; + readonly wasmfpopeningproof_lr_0: (a: number, b: number) => void; + readonly wasmfpopeningproof_lr_1: (a: number, b: number) => void; + readonly wasmfpopeningproof_delta: (a: number) => number; + readonly wasmfpopeningproof_sg: (a: number) => number; + readonly wasmfpopeningproof_set_lr_0: (a: number, b: number, c: number) => void; + readonly wasmfpopeningproof_set_lr_1: (a: number, b: number, c: number) => void; + readonly wasmfpopeningproof_set_delta: (a: number, b: number) => void; + readonly wasmfpopeningproof_set_sg: (a: number, b: number) => void; + readonly __wbg_wasmfpproverproof_free: (a: number) => void; + readonly __wbg_get_wasmfpproverproof_ft_eval1: (a: number, b: number) => void; + readonly __wbg_set_wasmfpproverproof_ft_eval1: (a: number, b: number, c: number) => void; + readonly wasmfpproverproof_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; + readonly wasmfpproverproof_commitments: (a: number) => number; + readonly wasmfpproverproof_proof: (a: number) => number; + readonly wasmfpproverproof_evals: (a: number) => number; + readonly wasmfpproverproof_public_: (a: number, b: number) => void; + readonly wasmfpproverproof_prev_challenges_scalars: (a: number) => number; + readonly wasmfpproverproof_prev_challenges_comms: (a: number, b: number) => void; + readonly wasmfpproverproof_set_commitments: (a: number, b: number) => void; + readonly wasmfpproverproof_set_proof: (a: number, b: number) => void; + readonly wasmfpproverproof_set_evals: (a: number, b: number) => void; + readonly wasmfpproverproof_set_public_: (a: number, b: number, c: number) => void; + readonly wasmfpproverproof_set_prev_challenges_scalars: (a: number, b: number) => void; + readonly wasmfpproverproof_set_prev_challenges_comms: (a: number, b: number, c: number) => void; + readonly wasmfpproverproof_serialize: (a: number, b: number) => void; + readonly __wbg_wasmfpruntimetable_free: (a: number) => void; + readonly wasmfpruntimetable_new: (a: number, b: number, c: number) => number; + readonly caml_pasta_fp_plonk_proof_create: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; + readonly caml_pasta_fp_plonk_proof_verify: (a: number, b: number) => number; + readonly __wbg_wasmvecvecfppolycomm_free: (a: number) => void; + readonly wasmvecvecfppolycomm_create: (a: number) => number; + readonly wasmvecvecfppolycomm_push: (a: number, b: number, c: number) => void; + readonly caml_pasta_fp_plonk_proof_batch_verify: (a: number, b: number, c: number, d: number) => number; + readonly caml_pasta_fp_plonk_proof_dummy: () => number; + readonly caml_pasta_fp_plonk_proof_deep_copy: (a: number) => number; readonly wasmfppolycomm_new: (a: number, b: number, c: number) => number; readonly wasmfppolycomm_unshifted: (a: number, b: number) => void; readonly wasmfppolycomm_set_unshifted: (a: number, b: number, c: number) => void; @@ -2891,7 +2891,7 @@ export interface InitOutput { readonly wasmfpplonkverificationevals_set_xor_comm: (a: number, b: number) => void; readonly wasmfqplonkverificationevals_set_xor_comm: (a: number, b: number) => void; readonly wasmfqlookupselectors_set_xor: (a: number, b: number) => void; - readonly wasmfqlookupcommitments_set_runtime: (a: number, b: number) => void; + readonly wasmfplookupselectors_set_xor: (a: number, b: number) => void; readonly wasmfqplonkverificationevals_generic_comm: (a: number) => number; readonly wasmfqplonkverificationevals_psm_comm: (a: number) => number; readonly wasmfqplonkverificationevals_complete_add_comm: (a: number) => number; @@ -2932,17 +2932,17 @@ export interface InitOutput { readonly wasmfqlookupverifierindex_set_lookup_selectors: (a: number, b: number) => void; readonly __wbg_get_wasmfpshifts_s0: (a: number, b: number) => void; readonly __wbg_get_wasmfqshifts_s0: (a: number, b: number) => void; - readonly __wbg_get_wasmfqopeningproof_z1: (a: number, b: number) => void; - readonly __wbg_get_wasmfqshifts_s1: (a: number, b: number) => void; + readonly __wbg_get_wasmfpopeningproof_z1: (a: number, b: number) => void; + readonly __wbg_get_wasmfpshifts_s1: (a: number, b: number) => void; readonly __wbg_set_wasmfpshifts_s0: (a: number, b: number, c: number) => void; readonly __wbg_set_wasmfqshifts_s0: (a: number, b: number, c: number) => void; - readonly __wbg_set_wasmfqopeningproof_z1: (a: number, b: number, c: number) => void; - readonly __wbg_set_wasmfqshifts_s1: (a: number, b: number, c: number) => void; + readonly __wbg_set_wasmfpopeningproof_z1: (a: number, b: number, c: number) => void; + readonly __wbg_set_wasmfpshifts_s1: (a: number, b: number, c: number) => void; readonly __wbg_set_wasmfqpolycomm_shifted: (a: number, b: number) => void; readonly wasmfqlookupverifierindex_lookup_selectors: (a: number) => number; readonly wasmfqlookupverifierindex_lookup_info: (a: number) => number; readonly caml_fq_srs_read: (a: number, b: number, c: number, d: number, e: number) => void; - readonly wasmpastafqruntimetablecfg_new: (a: number, b: number, c: number) => number; + readonly wasmpastafpruntimetablecfg_new: (a: number, b: number, c: number) => number; readonly caml_pasta_fq_plonk_index_max_degree: (a: number) => number; readonly __wbg_wasmfqplonkverificationevals_free: (a: number) => void; readonly caml_fq_srs_h: (a: number) => number; @@ -2953,7 +2953,7 @@ export interface InitOutput { readonly wasmfpplonkverificationevals_xor_comm: (a: number) => number; readonly wasmfqplonkverificationevals_xor_comm: (a: number) => number; readonly wasmfqlookupselectors_xor: (a: number) => number; - readonly wasmfqlookupcommitments_runtime: (a: number) => number; + readonly wasmfplookupselectors_xor: (a: number) => number; readonly caml_pasta_fq_plonk_index_public_inputs: (a: number) => number; readonly __wbg_get_wasmfqplonkverifierindex_domain: (a: number) => number; readonly __wbg_get_wasmfqplonkverifierindex_shifts: (a: number) => number; @@ -2975,11 +2975,11 @@ export interface InitOutput { readonly __wbg_wasmgvesta_free: (a: number) => void; readonly __wbg_set_wasmgvesta_infinity: (a: number, b: number) => void; readonly __wbg_get_wasmgvesta_infinity: (a: number) => number; - readonly __wbg_wasmvecvecfq_free: (a: number) => void; - readonly wasmvecvecfq_create: (a: number) => number; - readonly wasmvecvecfq_push: (a: number, b: number, c: number) => void; - readonly wasmvecvecfq_get: (a: number, b: number, c: number) => void; - readonly wasmvecvecfq_set: (a: number, b: number, c: number, d: number) => void; + readonly __wbg_wasmvecvecfp_free: (a: number) => void; + readonly wasmvecvecfp_create: (a: number) => number; + readonly wasmvecvecfp_push: (a: number, b: number, c: number) => void; + readonly wasmvecvecfp_get: (a: number, b: number, c: number) => void; + readonly wasmvecvecfp_set: (a: number, b: number, c: number, d: number) => void; readonly __wbg_poolbuilder_free: (a: number) => void; readonly poolbuilder_numThreads: (a: number) => number; readonly poolbuilder_receiver: (a: number) => number; @@ -3028,46 +3028,6 @@ export interface InitOutput { readonly fp_oracles_create: (a: number, b: number, c: number, d: number, e: number) => void; readonly fp_oracles_dummy: () => number; readonly fp_oracles_deep_copy: (a: number) => number; - readonly caml_pasta_fq_size_in_bits: () => number; - readonly caml_pasta_fq_size: (a: number) => void; - readonly caml_pasta_fq_add: (a: number, b: number, c: number, d: number, e: number) => void; - readonly caml_pasta_fq_sub: (a: number, b: number, c: number, d: number, e: number) => void; - readonly caml_pasta_fq_negate: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_mul: (a: number, b: number, c: number, d: number, e: number) => void; - readonly caml_pasta_fq_div: (a: number, b: number, c: number, d: number, e: number) => void; - readonly caml_pasta_fq_inv: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_square: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_is_square: (a: number, b: number) => number; - readonly caml_pasta_fq_sqrt: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_of_int: (a: number, b: number) => void; - readonly caml_pasta_fq_to_string: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_of_string: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_print: (a: number, b: number) => void; - readonly caml_pasta_fq_compare: (a: number, b: number, c: number, d: number) => number; - readonly caml_pasta_fq_equal: (a: number, b: number, c: number, d: number) => number; - readonly caml_pasta_fq_random: (a: number) => void; - readonly caml_pasta_fq_rng: (a: number, b: number) => void; - readonly caml_pasta_fq_to_bigint: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_of_bigint: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_two_adic_root_of_unity: (a: number) => void; - readonly caml_pasta_fq_domain_generator: (a: number, b: number) => void; - readonly caml_pasta_fq_to_bytes: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_of_bytes: (a: number, b: number, c: number) => void; - readonly caml_pasta_fq_deep_copy: (a: number, b: number, c: number) => void; - readonly caml_pallas_one: () => number; - readonly caml_pallas_add: (a: number, b: number) => number; - readonly caml_pallas_sub: (a: number, b: number) => number; - readonly caml_pallas_negate: (a: number) => number; - readonly caml_pallas_double: (a: number) => number; - readonly caml_pallas_scale: (a: number, b: number, c: number) => number; - readonly caml_pallas_random: () => number; - readonly caml_pallas_rng: (a: number) => number; - readonly caml_pallas_endo_base: (a: number) => void; - readonly caml_pallas_endo_scalar: (a: number) => void; - readonly caml_pallas_to_affine: (a: number) => number; - readonly caml_pallas_of_affine: (a: number) => number; - readonly caml_pallas_of_affine_coordinates: (a: number, b: number, c: number, d: number) => number; - readonly caml_pallas_affine_deep_copy: (a: number) => number; readonly caml_pasta_fp_size_in_bits: () => number; readonly caml_pasta_fp_size: (a: number) => void; readonly caml_pasta_fp_add: (a: number, b: number, c: number, d: number, e: number) => void; @@ -3108,6 +3068,46 @@ export interface InitOutput { readonly caml_vesta_of_affine: (a: number) => number; readonly caml_vesta_of_affine_coordinates: (a: number, b: number, c: number, d: number) => number; readonly caml_vesta_affine_deep_copy: (a: number) => number; + readonly caml_pasta_fq_size_in_bits: () => number; + readonly caml_pasta_fq_size: (a: number) => void; + readonly caml_pasta_fq_add: (a: number, b: number, c: number, d: number, e: number) => void; + readonly caml_pasta_fq_sub: (a: number, b: number, c: number, d: number, e: number) => void; + readonly caml_pasta_fq_negate: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_mul: (a: number, b: number, c: number, d: number, e: number) => void; + readonly caml_pasta_fq_div: (a: number, b: number, c: number, d: number, e: number) => void; + readonly caml_pasta_fq_inv: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_square: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_is_square: (a: number, b: number) => number; + readonly caml_pasta_fq_sqrt: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_of_int: (a: number, b: number) => void; + readonly caml_pasta_fq_to_string: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_of_string: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_print: (a: number, b: number) => void; + readonly caml_pasta_fq_compare: (a: number, b: number, c: number, d: number) => number; + readonly caml_pasta_fq_equal: (a: number, b: number, c: number, d: number) => number; + readonly caml_pasta_fq_random: (a: number) => void; + readonly caml_pasta_fq_rng: (a: number, b: number) => void; + readonly caml_pasta_fq_to_bigint: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_of_bigint: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_two_adic_root_of_unity: (a: number) => void; + readonly caml_pasta_fq_domain_generator: (a: number, b: number) => void; + readonly caml_pasta_fq_to_bytes: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_of_bytes: (a: number, b: number, c: number) => void; + readonly caml_pasta_fq_deep_copy: (a: number, b: number, c: number) => void; + readonly caml_pallas_one: () => number; + readonly caml_pallas_add: (a: number, b: number) => number; + readonly caml_pallas_sub: (a: number, b: number) => number; + readonly caml_pallas_negate: (a: number) => number; + readonly caml_pallas_double: (a: number) => number; + readonly caml_pallas_scale: (a: number, b: number, c: number) => number; + readonly caml_pallas_random: () => number; + readonly caml_pallas_rng: (a: number) => number; + readonly caml_pallas_endo_base: (a: number) => void; + readonly caml_pallas_endo_scalar: (a: number) => void; + readonly caml_pallas_to_affine: (a: number) => number; + readonly caml_pallas_of_affine: (a: number) => number; + readonly caml_pallas_of_affine_coordinates: (a: number, b: number, c: number, d: number) => number; + readonly caml_pallas_affine_deep_copy: (a: number) => number; readonly __wbg_lookuppatterns_free: (a: number) => void; readonly __wbg_get_lookuppatterns_xor: (a: number) => number; readonly __wbg_set_lookuppatterns_xor: (a: number, b: number) => void; diff --git a/compiled/web_bindings/plonk_wasm.js b/compiled/web_bindings/plonk_wasm.js index 956b37df..2bdf3f61 100644 --- a/compiled/web_bindings/plonk_wasm.js +++ b/compiled/web_bindings/plonk_wasm.js @@ -262,18 +262,18 @@ function getArrayU32FromWasm0(ptr, len) { return getUint32Memory0().subarray(ptr / 4, ptr / 4 + len); } /** -* @param {WasmPastaFpPlonkIndex} index -* @param {WasmVecVecFp} witness +* @param {WasmPastaFqPlonkIndex} index +* @param {WasmVecVecFq} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_create(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { +export function caml_pasta_fq_plonk_proof_create(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - _assertClass(index, WasmPastaFpPlonkIndex); - _assertClass(witness, WasmVecVecFp); + _assertClass(index, WasmPastaFqPlonkIndex); + _assertClass(witness, WasmVecVecFq); var ptr0 = witness.__destroy_into_raw(); const ptr1 = passArray32ToWasm0(wasm_runtime_tables, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; @@ -281,30 +281,30 @@ export function caml_pasta_fp_plonk_proof_create(index, witness, wasm_runtime_ta const len2 = WASM_VECTOR_LEN; const ptr3 = passArray32ToWasm0(prev_sgs, wasm.__wbindgen_malloc); const len3 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); + wasm.caml_pasta_fq_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return WasmFpProverProof.__wrap(r0); + return WasmFqProverProof.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** -* @param {WasmFpPlonkVerifierIndex} index -* @param {WasmFpProverProof} proof +* @param {WasmFqPlonkVerifierIndex} index +* @param {WasmFqProverProof} proof * @returns {boolean} */ -export function caml_pasta_fp_plonk_proof_verify(index, proof) { - _assertClass(index, WasmFpPlonkVerifierIndex); +export function caml_pasta_fq_plonk_proof_verify(index, proof) { + _assertClass(index, WasmFqPlonkVerifierIndex); var ptr0 = index.__destroy_into_raw(); - _assertClass(proof, WasmFpProverProof); + _assertClass(proof, WasmFqProverProof); var ptr1 = proof.__destroy_into_raw(); - const ret = wasm.caml_pasta_fp_plonk_proof_verify(ptr0, ptr1); + const ret = wasm.caml_pasta_fq_plonk_proof_verify(ptr0, ptr1); return ret !== 0; } @@ -313,32 +313,32 @@ export function caml_pasta_fp_plonk_proof_verify(index, proof) { * @param {Uint32Array} proofs * @returns {boolean} */ -export function caml_pasta_fp_plonk_proof_batch_verify(indexes, proofs) { +export function caml_pasta_fq_plonk_proof_batch_verify(indexes, proofs) { const ptr0 = passArray32ToWasm0(indexes, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray32ToWasm0(proofs, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fq_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); return ret !== 0; } /** -* @returns {WasmFpProverProof} +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_dummy() { - const ret = wasm.caml_pasta_fp_plonk_proof_dummy(); - return WasmFpProverProof.__wrap(ret); +export function caml_pasta_fq_plonk_proof_dummy() { + const ret = wasm.caml_pasta_fq_plonk_proof_dummy(); + return WasmFqProverProof.__wrap(ret); } /** -* @param {WasmFpProverProof} x -* @returns {WasmFpProverProof} +* @param {WasmFqProverProof} x +* @returns {WasmFqProverProof} */ -export function caml_pasta_fp_plonk_proof_deep_copy(x) { - _assertClass(x, WasmFpProverProof); +export function caml_pasta_fq_plonk_proof_deep_copy(x) { + _assertClass(x, WasmFqProverProof); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pasta_fp_plonk_proof_deep_copy(ptr0); - return WasmFpProverProof.__wrap(ret); + const ret = wasm.caml_pasta_fq_plonk_proof_deep_copy(ptr0); + return WasmFqProverProof.__wrap(ret); } /** @@ -2001,18 +2001,18 @@ export function caml_pasta_fq_plonk_verifier_index_deep_copy(x) { } /** -* @param {WasmPastaFqPlonkIndex} index -* @param {WasmVecVecFq} witness +* @param {WasmPastaFpPlonkIndex} index +* @param {WasmVecVecFp} witness * @param {Uint32Array} wasm_runtime_tables * @param {Uint8Array} prev_challenges * @param {Uint32Array} prev_sgs -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_create(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { +export function caml_pasta_fp_plonk_proof_create(index, witness, wasm_runtime_tables, prev_challenges, prev_sgs) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - _assertClass(index, WasmPastaFqPlonkIndex); - _assertClass(witness, WasmVecVecFq); + _assertClass(index, WasmPastaFpPlonkIndex); + _assertClass(witness, WasmVecVecFp); var ptr0 = witness.__destroy_into_raw(); const ptr1 = passArray32ToWasm0(wasm_runtime_tables, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; @@ -2020,30 +2020,30 @@ export function caml_pasta_fq_plonk_proof_create(index, witness, wasm_runtime_ta const len2 = WASM_VECTOR_LEN; const ptr3 = passArray32ToWasm0(prev_sgs, wasm.__wbindgen_malloc); const len3 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); + wasm.caml_pasta_fp_plonk_proof_create(retptr, index.__wbg_ptr, ptr0, ptr1, len1, ptr2, len2, ptr3, len3); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return WasmFqProverProof.__wrap(r0); + return WasmFpProverProof.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** -* @param {WasmFqPlonkVerifierIndex} index -* @param {WasmFqProverProof} proof +* @param {WasmFpPlonkVerifierIndex} index +* @param {WasmFpProverProof} proof * @returns {boolean} */ -export function caml_pasta_fq_plonk_proof_verify(index, proof) { - _assertClass(index, WasmFqPlonkVerifierIndex); +export function caml_pasta_fp_plonk_proof_verify(index, proof) { + _assertClass(index, WasmFpPlonkVerifierIndex); var ptr0 = index.__destroy_into_raw(); - _assertClass(proof, WasmFqProverProof); + _assertClass(proof, WasmFpProverProof); var ptr1 = proof.__destroy_into_raw(); - const ret = wasm.caml_pasta_fq_plonk_proof_verify(ptr0, ptr1); + const ret = wasm.caml_pasta_fp_plonk_proof_verify(ptr0, ptr1); return ret !== 0; } @@ -2052,32 +2052,32 @@ export function caml_pasta_fq_plonk_proof_verify(index, proof) { * @param {Uint32Array} proofs * @returns {boolean} */ -export function caml_pasta_fq_plonk_proof_batch_verify(indexes, proofs) { +export function caml_pasta_fp_plonk_proof_batch_verify(indexes, proofs) { const ptr0 = passArray32ToWasm0(indexes, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray32ToWasm0(proofs, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fp_plonk_proof_batch_verify(ptr0, len0, ptr1, len1); return ret !== 0; } /** -* @returns {WasmFqProverProof} +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_dummy() { - const ret = wasm.caml_pasta_fq_plonk_proof_dummy(); - return WasmFqProverProof.__wrap(ret); +export function caml_pasta_fp_plonk_proof_dummy() { + const ret = wasm.caml_pasta_fp_plonk_proof_dummy(); + return WasmFpProverProof.__wrap(ret); } /** -* @param {WasmFqProverProof} x -* @returns {WasmFqProverProof} +* @param {WasmFpProverProof} x +* @returns {WasmFpProverProof} */ -export function caml_pasta_fq_plonk_proof_deep_copy(x) { - _assertClass(x, WasmFqProverProof); +export function caml_pasta_fp_plonk_proof_deep_copy(x) { + _assertClass(x, WasmFpProverProof); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pasta_fq_plonk_proof_deep_copy(ptr0); - return WasmFqProverProof.__wrap(ret); + const ret = wasm.caml_pasta_fp_plonk_proof_deep_copy(ptr0); + return WasmFpProverProof.__wrap(ret); } /** @@ -2210,18 +2210,18 @@ export function fp_oracles_deep_copy(x) { /** * @returns {number} */ -export function caml_pasta_fq_size_in_bits() { - const ret = wasm.caml_pasta_fq_size_in_bits(); +export function caml_pasta_fp_size_in_bits() { + const ret = wasm.caml_pasta_fp_size_in_bits(); return ret; } /** * @returns {Uint8Array} */ -export function caml_pasta_fq_size() { +export function caml_pasta_fp_size() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_size(retptr); + wasm.caml_pasta_fp_size(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2237,14 +2237,14 @@ export function caml_pasta_fq_size() { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_add(x, y) { +export function caml_pasta_fp_add(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_add(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_add(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2260,14 +2260,14 @@ export function caml_pasta_fq_add(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_sub(x, y) { +export function caml_pasta_fp_sub(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_sub(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_sub(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2282,12 +2282,12 @@ export function caml_pasta_fq_sub(x, y) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_negate(x) { +export function caml_pasta_fp_negate(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_negate(retptr, ptr0, len0); + wasm.caml_pasta_fp_negate(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2303,14 +2303,14 @@ export function caml_pasta_fq_negate(x) { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_mul(x, y) { +export function caml_pasta_fp_mul(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_mul(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_mul(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2326,14 +2326,14 @@ export function caml_pasta_fq_mul(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fq_div(x, y) { +export function caml_pasta_fp_div(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_div(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fp_div(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2348,12 +2348,12 @@ export function caml_pasta_fq_div(x, y) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fq_inv(x) { +export function caml_pasta_fp_inv(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_inv(retptr, ptr0, len0); + wasm.caml_pasta_fp_inv(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -2371,12 +2371,12 @@ export function caml_pasta_fq_inv(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_square(x) { +export function caml_pasta_fp_square(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_square(retptr, ptr0, len0); + wasm.caml_pasta_fp_square(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2391,10 +2391,10 @@ export function caml_pasta_fq_square(x) { * @param {Uint8Array} x * @returns {boolean} */ -export function caml_pasta_fq_is_square(x) { +export function caml_pasta_fp_is_square(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_is_square(ptr0, len0); + const ret = wasm.caml_pasta_fp_is_square(ptr0, len0); return ret !== 0; } @@ -2402,12 +2402,12 @@ export function caml_pasta_fq_is_square(x) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fq_sqrt(x) { +export function caml_pasta_fp_sqrt(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_sqrt(retptr, ptr0, len0); + wasm.caml_pasta_fp_sqrt(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -2425,10 +2425,10 @@ export function caml_pasta_fq_sqrt(x) { * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fq_of_int(i) { +export function caml_pasta_fp_of_int(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_of_int(retptr, i); + wasm.caml_pasta_fp_of_int(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2443,14 +2443,14 @@ export function caml_pasta_fq_of_int(i) { * @param {Uint8Array} x * @returns {string} */ -export function caml_pasta_fq_to_string(x) { +export function caml_pasta_fp_to_string(x) { let deferred2_0; let deferred2_1; try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_to_string(retptr, ptr0, len0); + wasm.caml_pasta_fp_to_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; deferred2_0 = r0; @@ -2466,12 +2466,12 @@ export function caml_pasta_fq_to_string(x) { * @param {string} s * @returns {Uint8Array} */ -export function caml_pasta_fq_of_string(s) { +export function caml_pasta_fp_of_string(s) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_of_string(retptr, ptr0, len0); + wasm.caml_pasta_fp_of_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -2490,10 +2490,10 @@ export function caml_pasta_fq_of_string(s) { /** * @param {Uint8Array} x */ -export function caml_pasta_fq_print(x) { +export function caml_pasta_fp_print(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_print(ptr0, len0); + wasm.caml_pasta_fp_print(ptr0, len0); } /** @@ -2501,12 +2501,12 @@ export function caml_pasta_fq_print(x) { * @param {Uint8Array} y * @returns {number} */ -export function caml_pasta_fq_compare(x, y) { +export function caml_pasta_fp_compare(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_compare(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fp_compare(ptr0, len0, ptr1, len1); return ret; } @@ -2515,22 +2515,22 @@ export function caml_pasta_fq_compare(x, y) { * @param {Uint8Array} y * @returns {boolean} */ -export function caml_pasta_fq_equal(x, y) { +export function caml_pasta_fp_equal(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fq_equal(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fp_equal(ptr0, len0, ptr1, len1); return ret !== 0; } /** * @returns {Uint8Array} */ -export function caml_pasta_fq_random() { +export function caml_pasta_fp_random() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_random(retptr); + wasm.caml_pasta_fp_random(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2545,10 +2545,10 @@ export function caml_pasta_fq_random() { * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fq_rng(i) { +export function caml_pasta_fp_rng(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_rng(retptr, i); + wasm.caml_pasta_fp_rng(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2563,12 +2563,12 @@ export function caml_pasta_fq_rng(i) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_to_bigint(x) { +export function caml_pasta_fp_to_bigint(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_to_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fp_to_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2583,12 +2583,12 @@ export function caml_pasta_fq_to_bigint(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_of_bigint(x) { +export function caml_pasta_fp_of_bigint(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_of_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fp_of_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -2607,10 +2607,10 @@ export function caml_pasta_fq_of_bigint(x) { /** * @returns {Uint8Array} */ -export function caml_pasta_fq_two_adic_root_of_unity() { +export function caml_pasta_fp_two_adic_root_of_unity() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_two_adic_root_of_unity(retptr); + wasm.caml_pasta_fp_two_adic_root_of_unity(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2625,10 +2625,10 @@ export function caml_pasta_fq_two_adic_root_of_unity() { * @param {number} log2_size * @returns {Uint8Array} */ -export function caml_pasta_fq_domain_generator(log2_size) { +export function caml_pasta_fp_domain_generator(log2_size) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fq_domain_generator(retptr, log2_size); + wasm.caml_pasta_fp_domain_generator(retptr, log2_size); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2643,12 +2643,12 @@ export function caml_pasta_fq_domain_generator(log2_size) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_to_bytes(x) { +export function caml_pasta_fp_to_bytes(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_to_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fp_to_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2663,12 +2663,12 @@ export function caml_pasta_fq_to_bytes(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_of_bytes(x) { +export function caml_pasta_fp_of_bytes(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_of_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fp_of_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2683,12 +2683,12 @@ export function caml_pasta_fq_of_bytes(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fq_deep_copy(x) { +export function caml_pasta_fp_deep_copy(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fq_deep_copy(retptr, ptr0, len0); + wasm.caml_pasta_fp_deep_copy(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2700,94 +2700,94 @@ export function caml_pasta_fq_deep_copy(x) { } /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_one() { - const ret = wasm.caml_pallas_one(); - return WasmPallasGProjective.__wrap(ret); +export function caml_vesta_one() { + const ret = wasm.caml_vesta_one(); + return WasmVestaGProjective.__wrap(ret); } /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -export function caml_pallas_add(x, y) { - _assertClass(x, WasmPallasGProjective); - _assertClass(y, WasmPallasGProjective); - const ret = wasm.caml_pallas_add(x.__wbg_ptr, y.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +export function caml_vesta_add(x, y) { + _assertClass(x, WasmVestaGProjective); + _assertClass(y, WasmVestaGProjective); + const ret = wasm.caml_vesta_add(x.__wbg_ptr, y.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); } /** -* @param {WasmPallasGProjective} x -* @param {WasmPallasGProjective} y -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @param {WasmVestaGProjective} y +* @returns {WasmVestaGProjective} */ -export function caml_pallas_sub(x, y) { - _assertClass(x, WasmPallasGProjective); - _assertClass(y, WasmPallasGProjective); - const ret = wasm.caml_pallas_sub(x.__wbg_ptr, y.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +export function caml_vesta_sub(x, y) { + _assertClass(x, WasmVestaGProjective); + _assertClass(y, WasmVestaGProjective); + const ret = wasm.caml_vesta_sub(x.__wbg_ptr, y.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); } /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_negate(x) { - _assertClass(x, WasmPallasGProjective); - const ret = wasm.caml_pallas_negate(x.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +export function caml_vesta_negate(x) { + _assertClass(x, WasmVestaGProjective); + const ret = wasm.caml_vesta_negate(x.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); } /** -* @param {WasmPallasGProjective} x -* @returns {WasmPallasGProjective} +* @param {WasmVestaGProjective} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_double(x) { - _assertClass(x, WasmPallasGProjective); - const ret = wasm.caml_pallas_double(x.__wbg_ptr); - return WasmPallasGProjective.__wrap(ret); +export function caml_vesta_double(x) { + _assertClass(x, WasmVestaGProjective); + const ret = wasm.caml_vesta_double(x.__wbg_ptr); + return WasmVestaGProjective.__wrap(ret); } /** -* @param {WasmPallasGProjective} x +* @param {WasmVestaGProjective} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_scale(x, y) { - _assertClass(x, WasmPallasGProjective); +export function caml_vesta_scale(x, y) { + _assertClass(x, WasmVestaGProjective); const ptr0 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_pallas_scale(x.__wbg_ptr, ptr0, len0); - return WasmPallasGProjective.__wrap(ret); + const ret = wasm.caml_vesta_scale(x.__wbg_ptr, ptr0, len0); + return WasmVestaGProjective.__wrap(ret); } /** -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_random() { - const ret = wasm.caml_pallas_random(); - return WasmPallasGProjective.__wrap(ret); +export function caml_vesta_random() { + const ret = wasm.caml_vesta_random(); + return WasmVestaGProjective.__wrap(ret); } /** * @param {number} i -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_rng(i) { - const ret = wasm.caml_pallas_rng(i); - return WasmPallasGProjective.__wrap(ret); +export function caml_vesta_rng(i) { + const ret = wasm.caml_vesta_rng(i); + return WasmVestaGProjective.__wrap(ret); } /** * @returns {Uint8Array} */ -export function caml_pallas_endo_base() { +export function caml_vesta_endo_base() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pallas_endo_base(retptr); + wasm.caml_vesta_endo_base(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2801,10 +2801,10 @@ export function caml_pallas_endo_base() { /** * @returns {Uint8Array} */ -export function caml_pallas_endo_scalar() { +export function caml_vesta_endo_scalar() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pallas_endo_scalar(retptr); + wasm.caml_vesta_endo_scalar(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2816,66 +2816,66 @@ export function caml_pallas_endo_scalar() { } /** -* @param {WasmPallasGProjective} x -* @returns {WasmGPallas} +* @param {WasmVestaGProjective} x +* @returns {WasmGVesta} */ -export function caml_pallas_to_affine(x) { - _assertClass(x, WasmPallasGProjective); - const ret = wasm.caml_pallas_to_affine(x.__wbg_ptr); - return WasmGPallas.__wrap(ret); +export function caml_vesta_to_affine(x) { + _assertClass(x, WasmVestaGProjective); + const ret = wasm.caml_vesta_to_affine(x.__wbg_ptr); + return WasmGVesta.__wrap(ret); } /** -* @param {WasmGPallas} x -* @returns {WasmPallasGProjective} +* @param {WasmGVesta} x +* @returns {WasmVestaGProjective} */ -export function caml_pallas_of_affine(x) { - _assertClass(x, WasmGPallas); +export function caml_vesta_of_affine(x) { + _assertClass(x, WasmGVesta); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pallas_of_affine(ptr0); - return WasmPallasGProjective.__wrap(ret); + const ret = wasm.caml_vesta_of_affine(ptr0); + return WasmVestaGProjective.__wrap(ret); } /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmPallasGProjective} +* @returns {WasmVestaGProjective} */ -export function caml_pallas_of_affine_coordinates(x, y) { +export function caml_vesta_of_affine_coordinates(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pallas_of_affine_coordinates(ptr0, len0, ptr1, len1); - return WasmPallasGProjective.__wrap(ret); + const ret = wasm.caml_vesta_of_affine_coordinates(ptr0, len0, ptr1, len1); + return WasmVestaGProjective.__wrap(ret); } /** -* @param {WasmGPallas} x -* @returns {WasmGPallas} +* @param {WasmGVesta} x +* @returns {WasmGVesta} */ -export function caml_pallas_affine_deep_copy(x) { - _assertClass(x, WasmGPallas); +export function caml_vesta_affine_deep_copy(x) { + _assertClass(x, WasmGVesta); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_pallas_affine_deep_copy(ptr0); - return WasmGPallas.__wrap(ret); + const ret = wasm.caml_vesta_affine_deep_copy(ptr0); + return WasmGVesta.__wrap(ret); } /** * @returns {number} */ -export function caml_pasta_fp_size_in_bits() { - const ret = wasm.caml_pasta_fp_size_in_bits(); +export function caml_pasta_fq_size_in_bits() { + const ret = wasm.caml_pasta_fq_size_in_bits(); return ret; } /** * @returns {Uint8Array} */ -export function caml_pasta_fp_size() { +export function caml_pasta_fq_size() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_size(retptr); + wasm.caml_pasta_fq_size(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2891,14 +2891,14 @@ export function caml_pasta_fp_size() { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_add(x, y) { +export function caml_pasta_fq_add(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_add(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_add(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2914,14 +2914,14 @@ export function caml_pasta_fp_add(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_sub(x, y) { +export function caml_pasta_fq_sub(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_sub(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_sub(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2936,12 +2936,12 @@ export function caml_pasta_fp_sub(x, y) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_negate(x) { +export function caml_pasta_fq_negate(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_negate(retptr, ptr0, len0); + wasm.caml_pasta_fq_negate(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2957,14 +2957,14 @@ export function caml_pasta_fp_negate(x) { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_mul(x, y) { +export function caml_pasta_fq_mul(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_mul(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_mul(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -2980,14 +2980,14 @@ export function caml_pasta_fp_mul(x, y) { * @param {Uint8Array} y * @returns {Uint8Array} */ -export function caml_pasta_fp_div(x, y) { +export function caml_pasta_fq_div(x, y) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_div(retptr, ptr0, len0, ptr1, len1); + wasm.caml_pasta_fq_div(retptr, ptr0, len0, ptr1, len1); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v3 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3002,12 +3002,12 @@ export function caml_pasta_fp_div(x, y) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fp_inv(x) { +export function caml_pasta_fq_inv(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_inv(retptr, ptr0, len0); + wasm.caml_pasta_fq_inv(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -3025,12 +3025,12 @@ export function caml_pasta_fp_inv(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_square(x) { +export function caml_pasta_fq_square(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_square(retptr, ptr0, len0); + wasm.caml_pasta_fq_square(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3045,10 +3045,10 @@ export function caml_pasta_fp_square(x) { * @param {Uint8Array} x * @returns {boolean} */ -export function caml_pasta_fp_is_square(x) { +export function caml_pasta_fq_is_square(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_is_square(ptr0, len0); + const ret = wasm.caml_pasta_fq_is_square(ptr0, len0); return ret !== 0; } @@ -3056,12 +3056,12 @@ export function caml_pasta_fp_is_square(x) { * @param {Uint8Array} x * @returns {Uint8Array | undefined} */ -export function caml_pasta_fp_sqrt(x) { +export function caml_pasta_fq_sqrt(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_sqrt(retptr, ptr0, len0); + wasm.caml_pasta_fq_sqrt(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -3079,10 +3079,10 @@ export function caml_pasta_fp_sqrt(x) { * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fp_of_int(i) { +export function caml_pasta_fq_of_int(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_of_int(retptr, i); + wasm.caml_pasta_fq_of_int(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3097,14 +3097,14 @@ export function caml_pasta_fp_of_int(i) { * @param {Uint8Array} x * @returns {string} */ -export function caml_pasta_fp_to_string(x) { +export function caml_pasta_fq_to_string(x) { let deferred2_0; let deferred2_1; try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_to_string(retptr, ptr0, len0); + wasm.caml_pasta_fq_to_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; deferred2_0 = r0; @@ -3120,12 +3120,12 @@ export function caml_pasta_fp_to_string(x) { * @param {string} s * @returns {Uint8Array} */ -export function caml_pasta_fp_of_string(s) { +export function caml_pasta_fq_of_string(s) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passStringToWasm0(s, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_of_string(retptr, ptr0, len0); + wasm.caml_pasta_fq_of_string(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -3144,10 +3144,10 @@ export function caml_pasta_fp_of_string(s) { /** * @param {Uint8Array} x */ -export function caml_pasta_fp_print(x) { +export function caml_pasta_fq_print(x) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_print(ptr0, len0); + wasm.caml_pasta_fq_print(ptr0, len0); } /** @@ -3155,12 +3155,12 @@ export function caml_pasta_fp_print(x) { * @param {Uint8Array} y * @returns {number} */ -export function caml_pasta_fp_compare(x, y) { +export function caml_pasta_fq_compare(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_compare(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fq_compare(ptr0, len0, ptr1, len1); return ret; } @@ -3169,22 +3169,22 @@ export function caml_pasta_fp_compare(x, y) { * @param {Uint8Array} y * @returns {boolean} */ -export function caml_pasta_fp_equal(x, y) { +export function caml_pasta_fq_equal(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_pasta_fp_equal(ptr0, len0, ptr1, len1); + const ret = wasm.caml_pasta_fq_equal(ptr0, len0, ptr1, len1); return ret !== 0; } /** * @returns {Uint8Array} */ -export function caml_pasta_fp_random() { +export function caml_pasta_fq_random() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_random(retptr); + wasm.caml_pasta_fq_random(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3199,10 +3199,10 @@ export function caml_pasta_fp_random() { * @param {number} i * @returns {Uint8Array} */ -export function caml_pasta_fp_rng(i) { +export function caml_pasta_fq_rng(i) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_rng(retptr, i); + wasm.caml_pasta_fq_rng(retptr, i); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3217,12 +3217,12 @@ export function caml_pasta_fp_rng(i) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_to_bigint(x) { +export function caml_pasta_fq_to_bigint(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_to_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fq_to_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3237,12 +3237,12 @@ export function caml_pasta_fp_to_bigint(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_of_bigint(x) { +export function caml_pasta_fq_of_bigint(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_of_bigint(retptr, ptr0, len0); + wasm.caml_pasta_fq_of_bigint(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -3261,10 +3261,10 @@ export function caml_pasta_fp_of_bigint(x) { /** * @returns {Uint8Array} */ -export function caml_pasta_fp_two_adic_root_of_unity() { +export function caml_pasta_fq_two_adic_root_of_unity() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_two_adic_root_of_unity(retptr); + wasm.caml_pasta_fq_two_adic_root_of_unity(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3279,10 +3279,10 @@ export function caml_pasta_fp_two_adic_root_of_unity() { * @param {number} log2_size * @returns {Uint8Array} */ -export function caml_pasta_fp_domain_generator(log2_size) { +export function caml_pasta_fq_domain_generator(log2_size) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_pasta_fp_domain_generator(retptr, log2_size); + wasm.caml_pasta_fq_domain_generator(retptr, log2_size); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3297,12 +3297,12 @@ export function caml_pasta_fp_domain_generator(log2_size) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_to_bytes(x) { +export function caml_pasta_fq_to_bytes(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_to_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fq_to_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3317,12 +3317,12 @@ export function caml_pasta_fp_to_bytes(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_of_bytes(x) { +export function caml_pasta_fq_of_bytes(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_of_bytes(retptr, ptr0, len0); + wasm.caml_pasta_fq_of_bytes(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3337,12 +3337,12 @@ export function caml_pasta_fp_of_bytes(x) { * @param {Uint8Array} x * @returns {Uint8Array} */ -export function caml_pasta_fp_deep_copy(x) { +export function caml_pasta_fq_deep_copy(x) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.caml_pasta_fp_deep_copy(retptr, ptr0, len0); + wasm.caml_pasta_fq_deep_copy(retptr, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v2 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3354,94 +3354,94 @@ export function caml_pasta_fp_deep_copy(x) { } /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_one() { - const ret = wasm.caml_vesta_one(); - return WasmVestaGProjective.__wrap(ret); +export function caml_pallas_one() { + const ret = wasm.caml_pallas_one(); + return WasmPallasGProjective.__wrap(ret); } /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -export function caml_vesta_add(x, y) { - _assertClass(x, WasmVestaGProjective); - _assertClass(y, WasmVestaGProjective); - const ret = wasm.caml_vesta_add(x.__wbg_ptr, y.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +export function caml_pallas_add(x, y) { + _assertClass(x, WasmPallasGProjective); + _assertClass(y, WasmPallasGProjective); + const ret = wasm.caml_pallas_add(x.__wbg_ptr, y.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); } /** -* @param {WasmVestaGProjective} x -* @param {WasmVestaGProjective} y -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @param {WasmPallasGProjective} y +* @returns {WasmPallasGProjective} */ -export function caml_vesta_sub(x, y) { - _assertClass(x, WasmVestaGProjective); - _assertClass(y, WasmVestaGProjective); - const ret = wasm.caml_vesta_sub(x.__wbg_ptr, y.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +export function caml_pallas_sub(x, y) { + _assertClass(x, WasmPallasGProjective); + _assertClass(y, WasmPallasGProjective); + const ret = wasm.caml_pallas_sub(x.__wbg_ptr, y.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); } /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_negate(x) { - _assertClass(x, WasmVestaGProjective); - const ret = wasm.caml_vesta_negate(x.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +export function caml_pallas_negate(x) { + _assertClass(x, WasmPallasGProjective); + const ret = wasm.caml_pallas_negate(x.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); } /** -* @param {WasmVestaGProjective} x -* @returns {WasmVestaGProjective} +* @param {WasmPallasGProjective} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_double(x) { - _assertClass(x, WasmVestaGProjective); - const ret = wasm.caml_vesta_double(x.__wbg_ptr); - return WasmVestaGProjective.__wrap(ret); +export function caml_pallas_double(x) { + _assertClass(x, WasmPallasGProjective); + const ret = wasm.caml_pallas_double(x.__wbg_ptr); + return WasmPallasGProjective.__wrap(ret); } /** -* @param {WasmVestaGProjective} x +* @param {WasmPallasGProjective} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_scale(x, y) { - _assertClass(x, WasmVestaGProjective); +export function caml_pallas_scale(x, y) { + _assertClass(x, WasmPallasGProjective); const ptr0 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.caml_vesta_scale(x.__wbg_ptr, ptr0, len0); - return WasmVestaGProjective.__wrap(ret); + const ret = wasm.caml_pallas_scale(x.__wbg_ptr, ptr0, len0); + return WasmPallasGProjective.__wrap(ret); } /** -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_random() { - const ret = wasm.caml_vesta_random(); - return WasmVestaGProjective.__wrap(ret); +export function caml_pallas_random() { + const ret = wasm.caml_pallas_random(); + return WasmPallasGProjective.__wrap(ret); } /** * @param {number} i -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_rng(i) { - const ret = wasm.caml_vesta_rng(i); - return WasmVestaGProjective.__wrap(ret); +export function caml_pallas_rng(i) { + const ret = wasm.caml_pallas_rng(i); + return WasmPallasGProjective.__wrap(ret); } /** * @returns {Uint8Array} */ -export function caml_vesta_endo_base() { +export function caml_pallas_endo_base() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_vesta_endo_base(retptr); + wasm.caml_pallas_endo_base(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3455,10 +3455,10 @@ export function caml_vesta_endo_base() { /** * @returns {Uint8Array} */ -export function caml_vesta_endo_scalar() { +export function caml_pallas_endo_scalar() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.caml_vesta_endo_scalar(retptr); + wasm.caml_pallas_endo_scalar(retptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -3470,49 +3470,49 @@ export function caml_vesta_endo_scalar() { } /** -* @param {WasmVestaGProjective} x -* @returns {WasmGVesta} +* @param {WasmPallasGProjective} x +* @returns {WasmGPallas} */ -export function caml_vesta_to_affine(x) { - _assertClass(x, WasmVestaGProjective); - const ret = wasm.caml_vesta_to_affine(x.__wbg_ptr); - return WasmGVesta.__wrap(ret); +export function caml_pallas_to_affine(x) { + _assertClass(x, WasmPallasGProjective); + const ret = wasm.caml_pallas_to_affine(x.__wbg_ptr); + return WasmGPallas.__wrap(ret); } /** -* @param {WasmGVesta} x -* @returns {WasmVestaGProjective} +* @param {WasmGPallas} x +* @returns {WasmPallasGProjective} */ -export function caml_vesta_of_affine(x) { - _assertClass(x, WasmGVesta); +export function caml_pallas_of_affine(x) { + _assertClass(x, WasmGPallas); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_vesta_of_affine(ptr0); - return WasmVestaGProjective.__wrap(ret); + const ret = wasm.caml_pallas_of_affine(ptr0); + return WasmPallasGProjective.__wrap(ret); } /** * @param {Uint8Array} x * @param {Uint8Array} y -* @returns {WasmVestaGProjective} +* @returns {WasmPallasGProjective} */ -export function caml_vesta_of_affine_coordinates(x, y) { +export function caml_pallas_of_affine_coordinates(x, y) { const ptr0 = passArray8ToWasm0(x, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; const ptr1 = passArray8ToWasm0(y, wasm.__wbindgen_malloc); const len1 = WASM_VECTOR_LEN; - const ret = wasm.caml_vesta_of_affine_coordinates(ptr0, len0, ptr1, len1); - return WasmVestaGProjective.__wrap(ret); + const ret = wasm.caml_pallas_of_affine_coordinates(ptr0, len0, ptr1, len1); + return WasmPallasGProjective.__wrap(ret); } /** -* @param {WasmGVesta} x -* @returns {WasmGVesta} +* @param {WasmGPallas} x +* @returns {WasmGPallas} */ -export function caml_vesta_affine_deep_copy(x) { - _assertClass(x, WasmGVesta); +export function caml_pallas_affine_deep_copy(x) { + _assertClass(x, WasmGPallas); var ptr0 = x.__destroy_into_raw(); - const ret = wasm.caml_vesta_affine_deep_copy(ptr0); - return WasmGVesta.__wrap(ret); + const ret = wasm.caml_pallas_affine_deep_copy(ptr0); + return WasmGPallas.__wrap(ret); } function handleError(f, args) { @@ -4306,7 +4306,7 @@ export class WasmFpLookupSelectors { * @returns {WasmFpPolyComm | undefined} */ get xor() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFpPolyComm.__wrap(ret); } /** @@ -4318,7 +4318,7 @@ export class WasmFpLookupSelectors { _assertClass(x, WasmFpPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFpPolyComm | undefined} @@ -4558,7 +4558,7 @@ export class WasmFpOpeningProof { get z1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfpopeningproof_z1(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfpdomain_group_gen(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -4574,7 +4574,7 @@ export class WasmFpOpeningProof { set z1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfpopeningproof_z1(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfpdomain_group_gen(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -5084,7 +5084,7 @@ export class WasmFpPlonkVerificationEvals { * @returns {WasmFpPolyComm | undefined} */ get xor_comm() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFpPolyComm.__wrap(ret); } /** @@ -5096,7 +5096,7 @@ export class WasmFpPlonkVerificationEvals { _assertClass(x, WasmFpPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFpPolyComm | undefined} @@ -6210,7 +6210,7 @@ export class WasmFpShifts { get s1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfpshifts_s1(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfpopeningproof_z2(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -6226,7 +6226,7 @@ export class WasmFpShifts { set s1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfpshifts_s1(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfpopeningproof_z2(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -6628,7 +6628,7 @@ export class WasmFqLookupCommitments { * @returns {WasmFqPolyComm | undefined} */ get runtime() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfqlookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFqPolyComm.__wrap(ret); } /** @@ -6656,7 +6656,7 @@ export class WasmFqLookupCommitments { _assertClass(r, WasmFqPolyComm); ptr0 = r.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfqlookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } } /** @@ -6716,7 +6716,7 @@ export class WasmFqLookupSelectors { * @returns {WasmFqPolyComm | undefined} */ get xor() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFqPolyComm.__wrap(ret); } /** @@ -6728,7 +6728,7 @@ export class WasmFqLookupSelectors { _assertClass(x, WasmFqPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFqPolyComm | undefined} @@ -6968,7 +6968,7 @@ export class WasmFqOpeningProof { get z1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfqdomain_group_gen(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfqopeningproof_z1(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -6984,7 +6984,7 @@ export class WasmFqOpeningProof { set z1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfqdomain_group_gen(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfqopeningproof_z1(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -7494,7 +7494,7 @@ export class WasmFqPlonkVerificationEvals { * @returns {WasmFqPolyComm | undefined} */ get xor_comm() { - const ret = wasm.wasmfplookupselectors_xor(this.__wbg_ptr); + const ret = wasm.wasmfplookupcommitments_runtime(this.__wbg_ptr); return ret === 0 ? undefined : WasmFqPolyComm.__wrap(ret); } /** @@ -7506,7 +7506,7 @@ export class WasmFqPlonkVerificationEvals { _assertClass(x, WasmFqPolyComm); ptr0 = x.__destroy_into_raw(); } - wasm.wasmfplookupselectors_set_xor(this.__wbg_ptr, ptr0); + wasm.wasmfplookupcommitments_set_runtime(this.__wbg_ptr, ptr0); } /** * @returns {WasmFqPolyComm | undefined} @@ -8620,7 +8620,7 @@ export class WasmFqShifts { get s1() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_wasmfqopeningproof_z2(retptr, this.__wbg_ptr); + wasm.__wbg_get_wasmfqshifts_s1(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var v1 = getArrayU8FromWasm0(r0, r1).slice(); @@ -8636,7 +8636,7 @@ export class WasmFqShifts { set s1(arg0) { const ptr0 = passArray8ToWasm0(arg0, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_wasmfqopeningproof_z2(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_wasmfqshifts_s1(this.__wbg_ptr, ptr0, len0); } /** * @returns {Uint8Array} @@ -9249,7 +9249,7 @@ export class WasmPastaFpRuntimeTableCfg { constructor(id, first_column) { const ptr0 = passArray8ToWasm0(first_column, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.wasmpastafpruntimetablecfg_new(id, ptr0, len0); + const ret = wasm.wasmfpruntimetable_new(id, ptr0, len0); return WasmPastaFpRuntimeTableCfg.__wrap(ret); } } @@ -9342,7 +9342,7 @@ export class WasmPastaFqRuntimeTableCfg { constructor(id, first_column) { const ptr0 = passArray8ToWasm0(first_column, wasm.__wbindgen_malloc); const len0 = WASM_VECTOR_LEN; - const ret = wasm.wasmfqruntimetable_new(id, ptr0, len0); + const ret = wasm.wasmpastafqruntimetablecfg_new(id, ptr0, len0); return WasmPastaFqRuntimeTableCfg.__wrap(ret); } } @@ -9438,7 +9438,7 @@ export class WasmVecVecFpPolyComm { * @param {number} n */ constructor(n) { - const ret = wasm.wasmvecvecfp_create(n); + const ret = wasm.wasmvecvecfppolycomm_create(n); return WasmVecVecFpPolyComm.__wrap(ret); } /** @@ -9542,7 +9542,7 @@ export class WasmVecVecFqPolyComm { * @param {number} n */ constructor(n) { - const ret = wasm.wasmvecvecfqpolycomm_create(n); + const ret = wasm.wasmvecvecfq_create(n); return WasmVecVecFqPolyComm.__wrap(ret); } /** diff --git a/compiled/web_bindings/plonk_wasm_bg.wasm b/compiled/web_bindings/plonk_wasm_bg.wasm index 171ebd7e..dcd51650 100644 Binary files a/compiled/web_bindings/plonk_wasm_bg.wasm and b/compiled/web_bindings/plonk_wasm_bg.wasm differ diff --git a/compiled/web_bindings/plonk_wasm_bg.wasm.d.ts b/compiled/web_bindings/plonk_wasm_bg.wasm.d.ts index cfaa78ef..db039e47 100644 --- a/compiled/web_bindings/plonk_wasm_bg.wasm.d.ts +++ b/compiled/web_bindings/plonk_wasm_bg.wasm.d.ts @@ -43,11 +43,11 @@ export function fq_oracles_create(a: number, b: number, c: number, d: number, e: export function fq_oracles_dummy(): number; export function fq_oracles_deep_copy(a: number): number; export function __wbg_wasmvestagprojective_free(a: number): void; -export function __wbg_wasmvecvecfp_free(a: number): void; -export function wasmvecvecfp_create(a: number): number; -export function wasmvecvecfp_push(a: number, b: number, c: number): void; -export function wasmvecvecfp_get(a: number, b: number, c: number): void; -export function wasmvecvecfp_set(a: number, b: number, c: number, d: number): void; +export function __wbg_wasmvecvecfq_free(a: number): void; +export function wasmvecvecfq_create(a: number): number; +export function wasmvecvecfq_push(a: number, b: number, c: number): void; +export function wasmvecvecfq_get(a: number, b: number, c: number): void; +export function wasmvecvecfq_set(a: number, b: number, c: number, d: number): void; export function __wbg_wasmgatewires_free(a: number): void; export function __wbg_get_wasmgatewires_0(a: number): number; export function __wbg_set_wasmgatewires_0(a: number, b: number): void; @@ -64,65 +64,65 @@ export function __wbg_set_wasmgatewires_5(a: number, b: number): void; export function __wbg_get_wasmgatewires_6(a: number): number; export function __wbg_set_wasmgatewires_6(a: number, b: number): void; export function wasmgatewires_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; -export function __wbg_wasmfplookupcommitments_free(a: number): void; -export function wasmfplookupcommitments_new(a: number, b: number, c: number, d: number): number; -export function wasmfplookupcommitments_sorted(a: number, b: number): void; -export function wasmfplookupcommitments_aggreg(a: number): number; -export function wasmfplookupcommitments_runtime(a: number): number; -export function wasmfplookupcommitments_set_sorted(a: number, b: number, c: number): void; -export function wasmfplookupcommitments_set_aggreg(a: number, b: number): void; -export function wasmfplookupcommitments_set_runtime(a: number, b: number): void; -export function __wbg_wasmfpprovercommitments_free(a: number): void; -export function wasmfpprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; -export function wasmfpprovercommitments_w_comm(a: number, b: number): void; -export function wasmfpprovercommitments_z_comm(a: number): number; -export function wasmfpprovercommitments_t_comm(a: number): number; -export function wasmfpprovercommitments_lookup(a: number): number; -export function wasmfpprovercommitments_set_w_comm(a: number, b: number, c: number): void; -export function wasmfpprovercommitments_set_z_comm(a: number, b: number): void; -export function wasmfpprovercommitments_set_t_comm(a: number, b: number): void; -export function wasmfpprovercommitments_set_lookup(a: number, b: number): void; -export function __wbg_wasmfpopeningproof_free(a: number): void; -export function __wbg_get_wasmfpopeningproof_z1(a: number, b: number): void; -export function __wbg_set_wasmfpopeningproof_z1(a: number, b: number, c: number): void; -export function __wbg_get_wasmfpopeningproof_z2(a: number, b: number): void; -export function __wbg_set_wasmfpopeningproof_z2(a: number, b: number, c: number): void; -export function wasmfpopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfpopeningproof_lr_0(a: number, b: number): void; -export function wasmfpopeningproof_lr_1(a: number, b: number): void; -export function wasmfpopeningproof_delta(a: number): number; -export function wasmfpopeningproof_sg(a: number): number; -export function wasmfpopeningproof_set_lr_0(a: number, b: number, c: number): void; -export function wasmfpopeningproof_set_lr_1(a: number, b: number, c: number): void; -export function wasmfpopeningproof_set_delta(a: number, b: number): void; -export function wasmfpopeningproof_set_sg(a: number, b: number): void; -export function __wbg_wasmfpproverproof_free(a: number): void; -export function __wbg_get_wasmfpproverproof_ft_eval1(a: number, b: number): void; -export function __wbg_set_wasmfpproverproof_ft_eval1(a: number, b: number, c: number): void; -export function wasmfpproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfpproverproof_commitments(a: number): number; -export function wasmfpproverproof_proof(a: number): number; -export function wasmfpproverproof_evals(a: number): number; -export function wasmfpproverproof_public_(a: number, b: number): void; -export function wasmfpproverproof_prev_challenges_scalars(a: number): number; -export function wasmfpproverproof_prev_challenges_comms(a: number, b: number): void; -export function wasmfpproverproof_set_commitments(a: number, b: number): void; -export function wasmfpproverproof_set_proof(a: number, b: number): void; -export function wasmfpproverproof_set_evals(a: number, b: number): void; -export function wasmfpproverproof_set_public_(a: number, b: number, c: number): void; -export function wasmfpproverproof_set_prev_challenges_scalars(a: number, b: number): void; -export function wasmfpproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; -export function wasmfpproverproof_serialize(a: number, b: number): void; -export function __wbg_wasmfpruntimetable_free(a: number): void; -export function wasmfpruntimetable_new(a: number, b: number, c: number): number; -export function caml_pasta_fp_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; -export function caml_pasta_fp_plonk_proof_verify(a: number, b: number): number; -export function __wbg_wasmvecvecfppolycomm_free(a: number): void; -export function wasmvecvecfppolycomm_push(a: number, b: number, c: number): void; -export function caml_pasta_fp_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fp_plonk_proof_dummy(): number; -export function caml_pasta_fp_plonk_proof_deep_copy(a: number): number; -export function wasmvecvecfppolycomm_create(a: number): number; +export function __wbg_wasmfqlookupcommitments_free(a: number): void; +export function wasmfqlookupcommitments_new(a: number, b: number, c: number, d: number): number; +export function wasmfqlookupcommitments_sorted(a: number, b: number): void; +export function wasmfqlookupcommitments_aggreg(a: number): number; +export function wasmfqlookupcommitments_runtime(a: number): number; +export function wasmfqlookupcommitments_set_sorted(a: number, b: number, c: number): void; +export function wasmfqlookupcommitments_set_aggreg(a: number, b: number): void; +export function wasmfqlookupcommitments_set_runtime(a: number, b: number): void; +export function __wbg_wasmfqprovercommitments_free(a: number): void; +export function wasmfqprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; +export function wasmfqprovercommitments_w_comm(a: number, b: number): void; +export function wasmfqprovercommitments_z_comm(a: number): number; +export function wasmfqprovercommitments_t_comm(a: number): number; +export function wasmfqprovercommitments_lookup(a: number): number; +export function wasmfqprovercommitments_set_w_comm(a: number, b: number, c: number): void; +export function wasmfqprovercommitments_set_z_comm(a: number, b: number): void; +export function wasmfqprovercommitments_set_t_comm(a: number, b: number): void; +export function wasmfqprovercommitments_set_lookup(a: number, b: number): void; +export function __wbg_wasmfqopeningproof_free(a: number): void; +export function __wbg_get_wasmfqopeningproof_z1(a: number, b: number): void; +export function __wbg_set_wasmfqopeningproof_z1(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqopeningproof_z2(a: number, b: number): void; +export function __wbg_set_wasmfqopeningproof_z2(a: number, b: number, c: number): void; +export function wasmfqopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfqopeningproof_lr_0(a: number, b: number): void; +export function wasmfqopeningproof_lr_1(a: number, b: number): void; +export function wasmfqopeningproof_delta(a: number): number; +export function wasmfqopeningproof_sg(a: number): number; +export function wasmfqopeningproof_set_lr_0(a: number, b: number, c: number): void; +export function wasmfqopeningproof_set_lr_1(a: number, b: number, c: number): void; +export function wasmfqopeningproof_set_delta(a: number, b: number): void; +export function wasmfqopeningproof_set_sg(a: number, b: number): void; +export function __wbg_wasmfqproverproof_free(a: number): void; +export function __wbg_get_wasmfqproverproof_ft_eval1(a: number, b: number): void; +export function __wbg_set_wasmfqproverproof_ft_eval1(a: number, b: number, c: number): void; +export function wasmfqproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfqproverproof_commitments(a: number): number; +export function wasmfqproverproof_proof(a: number): number; +export function wasmfqproverproof_evals(a: number): number; +export function wasmfqproverproof_public_(a: number, b: number): void; +export function wasmfqproverproof_prev_challenges_scalars(a: number): number; +export function wasmfqproverproof_prev_challenges_comms(a: number, b: number): void; +export function wasmfqproverproof_set_commitments(a: number, b: number): void; +export function wasmfqproverproof_set_proof(a: number, b: number): void; +export function wasmfqproverproof_set_evals(a: number, b: number): void; +export function wasmfqproverproof_set_public_(a: number, b: number, c: number): void; +export function wasmfqproverproof_set_prev_challenges_scalars(a: number, b: number): void; +export function wasmfqproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; +export function wasmfqproverproof_serialize(a: number, b: number): void; +export function __wbg_wasmfqruntimetable_free(a: number): void; +export function wasmfqruntimetable_new(a: number, b: number, c: number): number; +export function caml_pasta_fq_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; +export function caml_pasta_fq_plonk_proof_verify(a: number, b: number): number; +export function __wbg_wasmvecvecfqpolycomm_free(a: number): void; +export function wasmvecvecfqpolycomm_push(a: number, b: number, c: number): void; +export function caml_pasta_fq_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fq_plonk_proof_dummy(): number; +export function caml_pasta_fq_plonk_proof_deep_copy(a: number): number; +export function wasmvecvecfqpolycomm_create(a: number): number; export function greet(a: number, b: number): void; export function console_log(a: number, b: number): void; export function create_zero_u32_ptr(): number; @@ -204,7 +204,6 @@ export function caml_fq_srs_get_lagrange_basis(a: number, b: number, c: number): export function __wbg_wasmpastafpplonkindex_free(a: number): void; export function __wbg_wasmpastafplookuptable_free(a: number): void; export function wasmpastafplookuptable_new(a: number, b: number): number; -export function wasmpastafpruntimetablecfg_new(a: number, b: number, c: number): number; export function caml_pasta_fp_plonk_index_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; export function caml_pasta_fp_plonk_index_max_degree(a: number): number; export function caml_pasta_fp_plonk_index_public_inputs(a: number): number; @@ -217,6 +216,7 @@ export function caml_pasta_fp_plonk_index_read(a: number, b: number, c: number, export function caml_pasta_fp_plonk_index_write(a: number, b: number, c: number, d: number, e: number): void; export function caml_pasta_fp_plonk_index_serialize(a: number, b: number): void; export function __wbg_wasmpastafqplonkindex_free(a: number): void; +export function wasmpastafqruntimetablecfg_new(a: number, b: number, c: number): number; export function caml_pasta_fq_plonk_index_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; export function caml_pasta_fq_plonk_index_decode(a: number, b: number, c: number, d: number): void; export function caml_pasta_fq_plonk_index_encode(a: number, b: number): void; @@ -248,8 +248,6 @@ export function wasmfpplonkverificationevals_set_emul_comm(a: number, b: number) export function wasmfpplonkverificationevals_endomul_scalar_comm(a: number): number; export function wasmfpplonkverificationevals_set_endomul_scalar_comm(a: number, b: number): void; export function __wbg_wasmfpshifts_free(a: number): void; -export function __wbg_get_wasmfpshifts_s1(a: number, b: number): void; -export function __wbg_set_wasmfpshifts_s1(a: number, b: number, c: number): void; export function __wbg_get_wasmfpshifts_s2(a: number, b: number): void; export function __wbg_set_wasmfpshifts_s2(a: number, b: number, c: number): void; export function __wbg_get_wasmfpshifts_s3(a: number, b: number): void; @@ -263,8 +261,6 @@ export function __wbg_set_wasmfpshifts_s6(a: number, b: number, c: number): void export function wasmfpshifts_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number): number; export function __wbg_wasmfplookupselectors_free(a: number): void; export function wasmfplookupselectors_new(a: number, b: number, c: number, d: number): number; -export function wasmfplookupselectors_xor(a: number): number; -export function wasmfplookupselectors_set_xor(a: number, b: number): void; export function wasmfplookupselectors_lookup(a: number): number; export function wasmfplookupselectors_set_lookup(a: number, b: number): void; export function wasmfplookupselectors_ffmul(a: number): number; @@ -321,6 +317,8 @@ export function wasmfqplonkverificationevals_sigma_comm(a: number, b: number): v export function wasmfqplonkverificationevals_set_sigma_comm(a: number, b: number, c: number): void; export function wasmfqplonkverificationevals_coefficients_comm(a: number, b: number): void; export function wasmfqplonkverificationevals_set_coefficients_comm(a: number, b: number, c: number): void; +export function __wbg_get_wasmfqshifts_s1(a: number, b: number): void; +export function __wbg_set_wasmfqshifts_s1(a: number, b: number, c: number): void; export function __wbg_get_wasmfqshifts_s2(a: number, b: number): void; export function __wbg_set_wasmfqshifts_s2(a: number, b: number, c: number): void; export function __wbg_get_wasmfqshifts_s3(a: number, b: number): void; @@ -348,61 +346,63 @@ export function caml_pasta_fq_plonk_verifier_index_create(a: number): number; export function caml_pasta_fq_plonk_verifier_index_shifts(a: number): number; export function caml_pasta_fq_plonk_verifier_index_dummy(): number; export function caml_pasta_fq_plonk_verifier_index_deep_copy(a: number): number; -export function __wbg_wasmfqlookupcommitments_free(a: number): void; -export function wasmfqlookupcommitments_new(a: number, b: number, c: number, d: number): number; -export function wasmfqlookupcommitments_sorted(a: number, b: number): void; -export function wasmfqlookupcommitments_aggreg(a: number): number; -export function wasmfqlookupcommitments_set_sorted(a: number, b: number, c: number): void; -export function wasmfqlookupcommitments_set_aggreg(a: number, b: number): void; -export function __wbg_wasmfqprovercommitments_free(a: number): void; -export function wasmfqprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; -export function wasmfqprovercommitments_w_comm(a: number, b: number): void; -export function wasmfqprovercommitments_z_comm(a: number): number; -export function wasmfqprovercommitments_t_comm(a: number): number; -export function wasmfqprovercommitments_lookup(a: number): number; -export function wasmfqprovercommitments_set_w_comm(a: number, b: number, c: number): void; -export function wasmfqprovercommitments_set_z_comm(a: number, b: number): void; -export function wasmfqprovercommitments_set_t_comm(a: number, b: number): void; -export function wasmfqprovercommitments_set_lookup(a: number, b: number): void; -export function __wbg_wasmfqopeningproof_free(a: number): void; -export function __wbg_get_wasmfqopeningproof_z2(a: number, b: number): void; -export function __wbg_set_wasmfqopeningproof_z2(a: number, b: number, c: number): void; -export function wasmfqopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfqopeningproof_lr_0(a: number, b: number): void; -export function wasmfqopeningproof_lr_1(a: number, b: number): void; -export function wasmfqopeningproof_delta(a: number): number; -export function wasmfqopeningproof_sg(a: number): number; -export function wasmfqopeningproof_set_lr_0(a: number, b: number, c: number): void; -export function wasmfqopeningproof_set_lr_1(a: number, b: number, c: number): void; -export function wasmfqopeningproof_set_delta(a: number, b: number): void; -export function wasmfqopeningproof_set_sg(a: number, b: number): void; -export function __wbg_wasmfqproverproof_free(a: number): void; -export function __wbg_get_wasmfqproverproof_ft_eval1(a: number, b: number): void; -export function __wbg_set_wasmfqproverproof_ft_eval1(a: number, b: number, c: number): void; -export function wasmfqproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function wasmfqproverproof_commitments(a: number): number; -export function wasmfqproverproof_proof(a: number): number; -export function wasmfqproverproof_evals(a: number): number; -export function wasmfqproverproof_public_(a: number, b: number): void; -export function wasmfqproverproof_prev_challenges_scalars(a: number): number; -export function wasmfqproverproof_prev_challenges_comms(a: number, b: number): void; -export function wasmfqproverproof_set_commitments(a: number, b: number): void; -export function wasmfqproverproof_set_proof(a: number, b: number): void; -export function wasmfqproverproof_set_evals(a: number, b: number): void; -export function wasmfqproverproof_set_public_(a: number, b: number, c: number): void; -export function wasmfqproverproof_set_prev_challenges_scalars(a: number, b: number): void; -export function wasmfqproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; -export function wasmfqproverproof_serialize(a: number, b: number): void; -export function __wbg_wasmfqruntimetable_free(a: number): void; -export function wasmfqruntimetable_new(a: number, b: number, c: number): number; -export function caml_pasta_fq_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; -export function caml_pasta_fq_plonk_proof_verify(a: number, b: number): number; -export function __wbg_wasmvecvecfqpolycomm_free(a: number): void; -export function wasmvecvecfqpolycomm_create(a: number): number; -export function wasmvecvecfqpolycomm_push(a: number, b: number, c: number): void; -export function caml_pasta_fq_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fq_plonk_proof_dummy(): number; -export function caml_pasta_fq_plonk_proof_deep_copy(a: number): number; +export function __wbg_wasmfplookupcommitments_free(a: number): void; +export function wasmfplookupcommitments_new(a: number, b: number, c: number, d: number): number; +export function wasmfplookupcommitments_sorted(a: number, b: number): void; +export function wasmfplookupcommitments_aggreg(a: number): number; +export function wasmfplookupcommitments_runtime(a: number): number; +export function wasmfplookupcommitments_set_sorted(a: number, b: number, c: number): void; +export function wasmfplookupcommitments_set_aggreg(a: number, b: number): void; +export function wasmfplookupcommitments_set_runtime(a: number, b: number): void; +export function __wbg_wasmfpprovercommitments_free(a: number): void; +export function wasmfpprovercommitments_new(a: number, b: number, c: number, d: number, e: number): number; +export function wasmfpprovercommitments_w_comm(a: number, b: number): void; +export function wasmfpprovercommitments_z_comm(a: number): number; +export function wasmfpprovercommitments_t_comm(a: number): number; +export function wasmfpprovercommitments_lookup(a: number): number; +export function wasmfpprovercommitments_set_w_comm(a: number, b: number, c: number): void; +export function wasmfpprovercommitments_set_z_comm(a: number, b: number): void; +export function wasmfpprovercommitments_set_t_comm(a: number, b: number): void; +export function wasmfpprovercommitments_set_lookup(a: number, b: number): void; +export function __wbg_wasmfpopeningproof_free(a: number): void; +export function __wbg_get_wasmfpopeningproof_z2(a: number, b: number): void; +export function __wbg_set_wasmfpopeningproof_z2(a: number, b: number, c: number): void; +export function wasmfpopeningproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfpopeningproof_lr_0(a: number, b: number): void; +export function wasmfpopeningproof_lr_1(a: number, b: number): void; +export function wasmfpopeningproof_delta(a: number): number; +export function wasmfpopeningproof_sg(a: number): number; +export function wasmfpopeningproof_set_lr_0(a: number, b: number, c: number): void; +export function wasmfpopeningproof_set_lr_1(a: number, b: number, c: number): void; +export function wasmfpopeningproof_set_delta(a: number, b: number): void; +export function wasmfpopeningproof_set_sg(a: number, b: number): void; +export function __wbg_wasmfpproverproof_free(a: number): void; +export function __wbg_get_wasmfpproverproof_ft_eval1(a: number, b: number): void; +export function __wbg_set_wasmfpproverproof_ft_eval1(a: number, b: number, c: number): void; +export function wasmfpproverproof_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function wasmfpproverproof_commitments(a: number): number; +export function wasmfpproverproof_proof(a: number): number; +export function wasmfpproverproof_evals(a: number): number; +export function wasmfpproverproof_public_(a: number, b: number): void; +export function wasmfpproverproof_prev_challenges_scalars(a: number): number; +export function wasmfpproverproof_prev_challenges_comms(a: number, b: number): void; +export function wasmfpproverproof_set_commitments(a: number, b: number): void; +export function wasmfpproverproof_set_proof(a: number, b: number): void; +export function wasmfpproverproof_set_evals(a: number, b: number): void; +export function wasmfpproverproof_set_public_(a: number, b: number, c: number): void; +export function wasmfpproverproof_set_prev_challenges_scalars(a: number, b: number): void; +export function wasmfpproverproof_set_prev_challenges_comms(a: number, b: number, c: number): void; +export function wasmfpproverproof_serialize(a: number, b: number): void; +export function __wbg_wasmfpruntimetable_free(a: number): void; +export function wasmfpruntimetable_new(a: number, b: number, c: number): number; +export function caml_pasta_fp_plonk_proof_create(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; +export function caml_pasta_fp_plonk_proof_verify(a: number, b: number): number; +export function __wbg_wasmvecvecfppolycomm_free(a: number): void; +export function wasmvecvecfppolycomm_create(a: number): number; +export function wasmvecvecfppolycomm_push(a: number, b: number, c: number): void; +export function caml_pasta_fp_plonk_proof_batch_verify(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fp_plonk_proof_dummy(): number; +export function caml_pasta_fp_plonk_proof_deep_copy(a: number): number; export function wasmfppolycomm_new(a: number, b: number, c: number): number; export function wasmfppolycomm_unshifted(a: number, b: number): void; export function wasmfppolycomm_set_unshifted(a: number, b: number, c: number): void; @@ -449,7 +449,7 @@ export function wasmfqlookupverifierindex_set_lookup_info(a: number, b: number): export function wasmfpplonkverificationevals_set_xor_comm(a: number, b: number): void; export function wasmfqplonkverificationevals_set_xor_comm(a: number, b: number): void; export function wasmfqlookupselectors_set_xor(a: number, b: number): void; -export function wasmfqlookupcommitments_set_runtime(a: number, b: number): void; +export function wasmfplookupselectors_set_xor(a: number, b: number): void; export function wasmfqplonkverificationevals_generic_comm(a: number): number; export function wasmfqplonkverificationevals_psm_comm(a: number): number; export function wasmfqplonkverificationevals_complete_add_comm(a: number): number; @@ -490,17 +490,17 @@ export function wasmfqplonkverifierindex_set_evals(a: number, b: number): void; export function wasmfqlookupverifierindex_set_lookup_selectors(a: number, b: number): void; export function __wbg_get_wasmfpshifts_s0(a: number, b: number): void; export function __wbg_get_wasmfqshifts_s0(a: number, b: number): void; -export function __wbg_get_wasmfqopeningproof_z1(a: number, b: number): void; -export function __wbg_get_wasmfqshifts_s1(a: number, b: number): void; +export function __wbg_get_wasmfpopeningproof_z1(a: number, b: number): void; +export function __wbg_get_wasmfpshifts_s1(a: number, b: number): void; export function __wbg_set_wasmfpshifts_s0(a: number, b: number, c: number): void; export function __wbg_set_wasmfqshifts_s0(a: number, b: number, c: number): void; -export function __wbg_set_wasmfqopeningproof_z1(a: number, b: number, c: number): void; -export function __wbg_set_wasmfqshifts_s1(a: number, b: number, c: number): void; +export function __wbg_set_wasmfpopeningproof_z1(a: number, b: number, c: number): void; +export function __wbg_set_wasmfpshifts_s1(a: number, b: number, c: number): void; export function __wbg_set_wasmfqpolycomm_shifted(a: number, b: number): void; export function wasmfqlookupverifierindex_lookup_selectors(a: number): number; export function wasmfqlookupverifierindex_lookup_info(a: number): number; export function caml_fq_srs_read(a: number, b: number, c: number, d: number, e: number): void; -export function wasmpastafqruntimetablecfg_new(a: number, b: number, c: number): number; +export function wasmpastafpruntimetablecfg_new(a: number, b: number, c: number): number; export function caml_pasta_fq_plonk_index_max_degree(a: number): number; export function __wbg_wasmfqplonkverificationevals_free(a: number): void; export function caml_fq_srs_h(a: number): number; @@ -511,7 +511,7 @@ export function wasmpastafqlookuptable_new(a: number, b: number): number; export function wasmfpplonkverificationevals_xor_comm(a: number): number; export function wasmfqplonkverificationevals_xor_comm(a: number): number; export function wasmfqlookupselectors_xor(a: number): number; -export function wasmfqlookupcommitments_runtime(a: number): number; +export function wasmfplookupselectors_xor(a: number): number; export function caml_pasta_fq_plonk_index_public_inputs(a: number): number; export function __wbg_get_wasmfqplonkverifierindex_domain(a: number): number; export function __wbg_get_wasmfqplonkverifierindex_shifts(a: number): number; @@ -533,11 +533,11 @@ export function caml_pasta_fq_poseidon_block_cipher(a: number, b: number, c: num export function __wbg_wasmgvesta_free(a: number): void; export function __wbg_set_wasmgvesta_infinity(a: number, b: number): void; export function __wbg_get_wasmgvesta_infinity(a: number): number; -export function __wbg_wasmvecvecfq_free(a: number): void; -export function wasmvecvecfq_create(a: number): number; -export function wasmvecvecfq_push(a: number, b: number, c: number): void; -export function wasmvecvecfq_get(a: number, b: number, c: number): void; -export function wasmvecvecfq_set(a: number, b: number, c: number, d: number): void; +export function __wbg_wasmvecvecfp_free(a: number): void; +export function wasmvecvecfp_create(a: number): number; +export function wasmvecvecfp_push(a: number, b: number, c: number): void; +export function wasmvecvecfp_get(a: number, b: number, c: number): void; +export function wasmvecvecfp_set(a: number, b: number, c: number, d: number): void; export function __wbg_poolbuilder_free(a: number): void; export function poolbuilder_numThreads(a: number): number; export function poolbuilder_receiver(a: number): number; @@ -586,46 +586,6 @@ export function wasmfporacles_set_opening_prechallenges(a: number, b: number, c: export function fp_oracles_create(a: number, b: number, c: number, d: number, e: number): void; export function fp_oracles_dummy(): number; export function fp_oracles_deep_copy(a: number): number; -export function caml_pasta_fq_size_in_bits(): number; -export function caml_pasta_fq_size(a: number): void; -export function caml_pasta_fq_add(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_sub(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_negate(a: number, b: number, c: number): void; -export function caml_pasta_fq_mul(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_div(a: number, b: number, c: number, d: number, e: number): void; -export function caml_pasta_fq_inv(a: number, b: number, c: number): void; -export function caml_pasta_fq_square(a: number, b: number, c: number): void; -export function caml_pasta_fq_is_square(a: number, b: number): number; -export function caml_pasta_fq_sqrt(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_int(a: number, b: number): void; -export function caml_pasta_fq_to_string(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_string(a: number, b: number, c: number): void; -export function caml_pasta_fq_print(a: number, b: number): void; -export function caml_pasta_fq_compare(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fq_equal(a: number, b: number, c: number, d: number): number; -export function caml_pasta_fq_random(a: number): void; -export function caml_pasta_fq_rng(a: number, b: number): void; -export function caml_pasta_fq_to_bigint(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_bigint(a: number, b: number, c: number): void; -export function caml_pasta_fq_two_adic_root_of_unity(a: number): void; -export function caml_pasta_fq_domain_generator(a: number, b: number): void; -export function caml_pasta_fq_to_bytes(a: number, b: number, c: number): void; -export function caml_pasta_fq_of_bytes(a: number, b: number, c: number): void; -export function caml_pasta_fq_deep_copy(a: number, b: number, c: number): void; -export function caml_pallas_one(): number; -export function caml_pallas_add(a: number, b: number): number; -export function caml_pallas_sub(a: number, b: number): number; -export function caml_pallas_negate(a: number): number; -export function caml_pallas_double(a: number): number; -export function caml_pallas_scale(a: number, b: number, c: number): number; -export function caml_pallas_random(): number; -export function caml_pallas_rng(a: number): number; -export function caml_pallas_endo_base(a: number): void; -export function caml_pallas_endo_scalar(a: number): void; -export function caml_pallas_to_affine(a: number): number; -export function caml_pallas_of_affine(a: number): number; -export function caml_pallas_of_affine_coordinates(a: number, b: number, c: number, d: number): number; -export function caml_pallas_affine_deep_copy(a: number): number; export function caml_pasta_fp_size_in_bits(): number; export function caml_pasta_fp_size(a: number): void; export function caml_pasta_fp_add(a: number, b: number, c: number, d: number, e: number): void; @@ -666,6 +626,46 @@ export function caml_vesta_to_affine(a: number): number; export function caml_vesta_of_affine(a: number): number; export function caml_vesta_of_affine_coordinates(a: number, b: number, c: number, d: number): number; export function caml_vesta_affine_deep_copy(a: number): number; +export function caml_pasta_fq_size_in_bits(): number; +export function caml_pasta_fq_size(a: number): void; +export function caml_pasta_fq_add(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_sub(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_negate(a: number, b: number, c: number): void; +export function caml_pasta_fq_mul(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_div(a: number, b: number, c: number, d: number, e: number): void; +export function caml_pasta_fq_inv(a: number, b: number, c: number): void; +export function caml_pasta_fq_square(a: number, b: number, c: number): void; +export function caml_pasta_fq_is_square(a: number, b: number): number; +export function caml_pasta_fq_sqrt(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_int(a: number, b: number): void; +export function caml_pasta_fq_to_string(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_string(a: number, b: number, c: number): void; +export function caml_pasta_fq_print(a: number, b: number): void; +export function caml_pasta_fq_compare(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fq_equal(a: number, b: number, c: number, d: number): number; +export function caml_pasta_fq_random(a: number): void; +export function caml_pasta_fq_rng(a: number, b: number): void; +export function caml_pasta_fq_to_bigint(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_bigint(a: number, b: number, c: number): void; +export function caml_pasta_fq_two_adic_root_of_unity(a: number): void; +export function caml_pasta_fq_domain_generator(a: number, b: number): void; +export function caml_pasta_fq_to_bytes(a: number, b: number, c: number): void; +export function caml_pasta_fq_of_bytes(a: number, b: number, c: number): void; +export function caml_pasta_fq_deep_copy(a: number, b: number, c: number): void; +export function caml_pallas_one(): number; +export function caml_pallas_add(a: number, b: number): number; +export function caml_pallas_sub(a: number, b: number): number; +export function caml_pallas_negate(a: number): number; +export function caml_pallas_double(a: number): number; +export function caml_pallas_scale(a: number, b: number, c: number): number; +export function caml_pallas_random(): number; +export function caml_pallas_rng(a: number): number; +export function caml_pallas_endo_base(a: number): void; +export function caml_pallas_endo_scalar(a: number): void; +export function caml_pallas_to_affine(a: number): number; +export function caml_pallas_of_affine(a: number): number; +export function caml_pallas_of_affine_coordinates(a: number, b: number, c: number, d: number): number; +export function caml_pallas_affine_deep_copy(a: number): number; export function __wbg_lookuppatterns_free(a: number): void; export function __wbg_get_lookuppatterns_xor(a: number): number; export function __wbg_set_lookuppatterns_xor(a: number, b: number): void;