Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
chore: remove outdated comment (#138)
Browse files Browse the repository at this point in the history
Update black_box_functions.rs

This comment was from a time when each backend would define how it would do particular operations. Now, we are of the opinion that this should be standardized by ACIR
  • Loading branch information
kevaundray authored Apr 25, 2023
1 parent 14d8a5b commit 2ea62f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/src/black_box_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ pub fn solve_black_box_func_call<B: BarretenbergShared>(
initial_witness.insert(gadget_call.outputs[1], res_y);
}
BlackBoxFunc::HashToField128Security => {
// Deal with Blake2s -- XXX: It's not possible for pwg to know that it is Blake2s
// We need to get this method from the backend
let mut hasher = <Blake2s as blake2::Digest>::new();

// 0. For each input in the vector of inputs, check if we have their witness assignments (Can do this outside of match, since they all have inputs)
Expand Down

0 comments on commit 2ea62f0

Please sign in to comment.