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

chore: create pure versions of the hash function solvers #357

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

TomAFrench
Copy link
Member

Description

Problem*

step towards #300

Summary*

This PR creates the sha256, blake2s256, keccak256 functions which form the core of the relevant black box function solvers. In future we can expose these to be reexported by the ACVM simulator (along with the ecdsa verifier).

The hash function solvers have been refactored to be a single solver which is generic to any 256 hash function.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@TomAFrench TomAFrench added this to the 0.15.0 milestone Jun 12, 2023
@kevaundray kevaundray added this pull request to the merge queue Jun 12, 2023
Merged via the queue into master with commit d5ba786 Jun 12, 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.

2 participants