From 2ea62f05d2891dc5743fc3f8b7c1ae6ed75bed7e Mon Sep 17 00:00:00 2001 From: kevaundray Date: Tue, 25 Apr 2023 20:24:52 +0100 Subject: [PATCH] chore: remove outdated comment (#138) 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 --- common/src/black_box_functions.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/src/black_box_functions.rs b/common/src/black_box_functions.rs index 830d4ffe..b9eb24d3 100644 --- a/common/src/black_box_functions.rs +++ b/common/src/black_box_functions.rs @@ -128,8 +128,6 @@ pub fn solve_black_box_func_call( 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 = ::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)