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

chore(acvm)!: rename hash_to_field128_security to hash_to_field_128_security #271

Merged
merged 3 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
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 @@ -113,7 +113,7 @@ pub trait PartialWitnessGenerator {
inputs: &[FunctionInput],
outputs: &[Witness],
) -> Result<pwg::OpcodeResolution, OpcodeResolutionError>;
fn hash_to_field128_security(
fn hash_to_field_128_security(
&self,
initial_witness: &mut BTreeMap<Witness, FieldElement>,
inputs: &[FunctionInput],
Expand Down Expand Up @@ -347,7 +347,7 @@ mod test {
) -> Result<OpcodeResolution, OpcodeResolutionError> {
panic!("Path not trodden by this test")
}
fn hash_to_field128_security(
fn hash_to_field_128_security(
&self,
_initial_witness: &mut BTreeMap<Witness, FieldElement>,
_inputs: &[FunctionInput],
Expand Down
2 changes: 1 addition & 1 deletion acvm/src/pwg/blackbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub(crate) fn solve(
backend.pedersen(initial_witness, inputs, outputs)
}
BlackBoxFuncCall { name: BlackBoxFunc::HashToField128Security, inputs, outputs } => {
backend.hash_to_field128_security(initial_witness, inputs, outputs)
backend.hash_to_field_128_security(initial_witness, inputs, outputs)
}
BlackBoxFuncCall { name: BlackBoxFunc::EcdsaSecp256k1, inputs, outputs } => {
backend.ecdsa_secp256k1(initial_witness, inputs, outputs)
Expand Down