Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

feat!: update ProofSystemCompiler to not take ownership of keys #111

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions acvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pub trait ProofSystemCompiler {
&self,
circuit: &Circuit,
witness_values: BTreeMap<Witness, FieldElement>,
proving_key: Vec<u8>,
proving_key: &[u8],
) -> Vec<u8>;

/// Verifies a Proof, given the circuit description, the circuit's public inputs, and the verification key
Expand All @@ -179,7 +179,7 @@ pub trait ProofSystemCompiler {
proof: &[u8],
public_inputs: Vec<FieldElement>,
circuit: &Circuit,
verification_key: Vec<u8>,
verification_key: &[u8],
) -> bool;
}

Expand Down