Skip to main content

Crate kimchi_napi

Crate kimchi_napi 

Source

Re-exportsยง

pub use build_info::get_native_calls;
pub use build_info::ARCH_NAME;
pub use build_info::BACKING;
pub use build_info::OS_NAME;
pub use circuit::prover_to_json;
pub use gate_vector::caml_pasta_fp_plonk_circuit_serialize;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_add;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_create;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_digest;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_from_bytes;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_from_bytes_external;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_get;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_len;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_to_bytes;
pub use gate_vector::caml_pasta_fp_plonk_gate_vector_wrap;
pub use gate_vector::caml_pasta_fq_plonk_circuit_serialize;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_add;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_create;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_digest;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_from_bytes;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_from_bytes_external;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_get;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_len;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_to_bytes;
pub use gate_vector::caml_pasta_fq_plonk_gate_vector_wrap;
pub use gate_vector::NapiFpGate as WasmFpGate;
pub use gate_vector::NapiFpGateVector as WasmFpGateVector;
pub use gate_vector::NapiFqGate as WasmFqGate;
pub use gate_vector::NapiFqGateVector as WasmFqGateVector;
pub use oracles::fp::fp_oracles_create;
pub use oracles::fp::fp_oracles_deep_copy;
pub use oracles::fp::fp_oracles_dummy;
pub use oracles::fq::fq_oracles_create;
pub use oracles::fq::fq_oracles_deep_copy;
pub use oracles::fq::fq_oracles_dummy;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_create;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_decode;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_domain_d1_size;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_domain_d4_size;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_domain_d8_size;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_encode;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_max_degree;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_public_inputs;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_read;
pub use pasta_fp_plonk_index::caml_pasta_fp_plonk_index_write;
pub use pasta_fp_plonk_index::prover_index_fp_deserialize;
pub use pasta_fp_plonk_index::prover_index_fp_serialize;
pub use pasta_fp_plonk_index::WasmPastaFpPlonkIndex;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_create;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_decode;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_domain_d1_size;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_domain_d4_size;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_domain_d8_size;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_encode;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_max_degree;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_public_inputs;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_read;
pub use pasta_fq_plonk_index::caml_pasta_fq_plonk_index_write;
pub use pasta_fq_plonk_index::prover_index_fq_deserialize;
pub use pasta_fq_plonk_index::prover_index_fq_serialize;
pub use pasta_fq_plonk_index::WasmPastaFqPlonkIndex;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_create;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_deep_copy;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_deserialize;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_dummy;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_read;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_serialize;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_shifts;
pub use plonk_verifier_index::fp::caml_pasta_fp_plonk_verifier_index_write;
pub use plonk_verifier_index::fp::NapiFpLookupVerifierIndex;
pub use plonk_verifier_index::fp::NapiFpPlonkVerifierIndex;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_create;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_deep_copy;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_deserialize;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_dummy;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_read;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_serialize;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_shifts;
pub use plonk_verifier_index::fq::caml_pasta_fq_plonk_verifier_index_write;
pub use plonk_verifier_index::fq::NapiFqLookupVerifierIndex;
pub use plonk_verifier_index::fq::NapiFqPlonkVerifierIndex;
pub use poly_comm::pallas::NapiFqPolyComm as WasmFqPolyComm;
pub use poly_comm::vesta::NapiFpPolyComm as WasmFpPolyComm;
pub use poseidon::caml_pasta_fp_poseidon_block_cipher;
pub use poseidon::caml_pasta_fq_poseidon_block_cipher;
pub use proof::fp::caml_pasta_fp_plonk_proof_batch_verify;
pub use proof::fp::caml_pasta_fp_plonk_proof_create;
pub use proof::fp::caml_pasta_fp_plonk_proof_deep_copy;
pub use proof::fp::caml_pasta_fp_plonk_proof_dummy;
pub use proof::fp::caml_pasta_fp_plonk_proof_verify;
pub use proof::fp::NapiFpLookupCommitments;
pub use proof::fp::NapiFpOpeningProof;
pub use proof::fp::NapiFpProofEvaluations;
pub use proof::fp::NapiFpProverCommitments;
pub use proof::fp::NapiFpProverProof;
pub use proof::fq::caml_pasta_fq_plonk_proof_batch_verify;
pub use proof::fq::caml_pasta_fq_plonk_proof_create;
pub use proof::fq::caml_pasta_fq_plonk_proof_deep_copy;
pub use proof::fq::caml_pasta_fq_plonk_proof_dummy;
pub use proof::fq::caml_pasta_fq_plonk_proof_verify;
pub use proof::fq::NapiFqLookupCommitments;
pub use proof::fq::NapiFqOpeningProof;
pub use proof::fq::NapiFqProofEvaluations;
pub use proof::fq::NapiFqProverCommitments;
pub use proof::fq::NapiFqProverProof;
pub use srs::caml_fp_srs_from_bytes;
pub use srs::caml_fp_srs_to_bytes;
pub use srs::caml_fq_srs_from_bytes;
pub use srs::caml_fq_srs_to_bytes;
pub use srs::fp::NapiFpSrs as WasmFpSrs;
pub use srs::fq::NapiFqSrs as WasmFqSrs;
pub use tables::JsLookupTableFp;
pub use tables::JsLookupTableFq;
pub use tables::JsRuntimeTableCfgFp;
pub use tables::JsRuntimeTableCfgFq;
pub use vector::fp::NapiVecVecFp as WasmVecVecFp;
pub use vector::fq::NapiVecVecFq as WasmVecVecFq;
pub use vector::NapiFlatVector as WasmFlatVector;
pub use wrappers::field::NapiPastaFp as WasmPastaFp;
pub use wrappers::field::NapiPastaFq as WasmPastaFq;
pub use wrappers::group::NapiGPallas as WasmGPallas;
pub use wrappers::group::NapiGVesta as WasmGVesta;
pub use wrappers::lookups::NapiFpRuntimeTable;
pub use wrappers::lookups::NapiFqRuntimeTable;
pub use srs::*;

Modulesยง

build_info ๐Ÿ”’
circuit ๐Ÿ”’
fp
fq
gate_vector ๐Ÿ”’
oracles ๐Ÿ”’
pasta_fp_plonk_index ๐Ÿ”’
pasta_fq_plonk_index ๐Ÿ”’
plonk_verifier_index ๐Ÿ”’
poly_comm ๐Ÿ”’
poseidon ๐Ÿ”’
proof ๐Ÿ”’
srs ๐Ÿ”’
tables ๐Ÿ”’
vector ๐Ÿ”’
wrappers ๐Ÿ”’

Macrosยง

impl_srs

Functionsยง

caml_fp_srs_from_bytes
caml_fp_srs_to_bytes
caml_fq_srs_from_bytes
caml_fq_srs_to_bytes