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

chore: enforce verify_prehashed input lengths through types #359

Merged
merged 4 commits into from
Jun 12, 2023

Conversation

TomAFrench
Copy link
Member

Description

Problem*

Related to #300

Summary*

This PR sets out to enforce the proper lengths of inputs through the type system. This is useful for #300 as we'll be allowing user input here rather than this function only being called by the ACVM (which has stronger guarantees on passing correct length arrays.

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 requested a review from kevaundray June 12, 2023 10:41
@kevaundray kevaundray enabled auto-merge June 12, 2023 11:17
@kevaundray kevaundray added this pull request to the merge queue Jun 12, 2023
Merged via the queue into master with commit f08458a Jun 12, 2023
@TomAFrench TomAFrench deleted the ecdsa-interface branch June 12, 2023 14:56
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