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

feat!: remove dead blake2 code #137

Merged
merged 1 commit into from
Apr 25, 2023
Merged

feat!: remove dead blake2 code #137

merged 1 commit into from
Apr 25, 2023

Conversation

TomAFrench
Copy link
Member

@TomAFrench TomAFrench commented Apr 25, 2023

We don't make use of barretenberg to perform this hashing so we can remove it and continue using the rust implementation from ACVM instead.

https://github.com/noir-lang/aztec_backend/blob/7281750ae4d265f2d81a0eaad8a654d38133e1d5/common/src/black_box_functions.rs#L28

Alternatively, we could retain this just for testing that this implementation matches Barretenberg but that seems overkill to me.

Related to #136

@phated phated requested a review from kevaundray April 25, 2023 18:19
@phated
Copy link
Contributor

phated commented Apr 25, 2023

cc'ing @kevaundray to make sure we don't want to use bb

Copy link
Collaborator

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the CC @phated -- @TomAFrench yeah this looks correct, in common/black_box_functions, we use the rust version -- Note, blake is also used in HashToField in the blackbox function file

Copy link
Contributor

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I want to hold this for @vezenovm's feedback because he might have used this function and test to get values from BB for the composer tests.

@vezenovm
Copy link
Collaborator

Actually, I want to hold this for @vezenovm's feedback because he might have used this function and test to get values from BB for the composer tests.

It is ok this can be removed

@phated phated added this pull request to the merge queue Apr 25, 2023
Merged via the queue into master with commit 14d8a5b Apr 25, 2023
7 checks passed
@phated phated deleted the remove-blake2s branch April 25, 2023 19:36
TomAFrench added a commit that referenced this pull request Apr 25, 2023
* master:
  feat!: remove dead blake2 code (#137)
@github-actions github-actions bot mentioned this pull request May 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants