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

Commit

Permalink
feat!: update ProofSystemCompiler to not take ownership of keys (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Feb 21, 2023
1 parent af56ca9 commit 39b8a41
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 39b8a41

Please sign in to comment.